diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 38fc0526..77cef5bf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -29,7 +29,7 @@ body: description: Provide details of how to reproduce the bug. placeholder: ex. 1. Go to '...' validations: - required: false + required: true - type: textarea id: expected-behavior attributes: @@ -37,7 +37,7 @@ body: description: What you expected to happen? placeholder: ex. I expected '...' to happen validations: - required: false + required: true - type: textarea id: actual-behavior attributes: @@ -45,7 +45,7 @@ body: description: What actually happened? placeholder: ex. Instead '...' happened validations: - required: false + required: true - type: dropdown id: operating-system attributes: @@ -64,14 +64,14 @@ body: label: Python version description: Which version of Python are you using? options: - - 3.12.0 - - 3.11.0 (Default) - - 3.10.0 - - 3.9.0 - - 3.8.0 - - 3.7.0 - - 3.6.0 - - 3.5.0 + - 3.12 + - 3.11 + - 3.10 + - 3.9 + - 3.8 + - 3.7 + - 3.6 + - 3.5 default: 1 validations: required: true @@ -81,7 +81,7 @@ body: label: Version description: What version of PyCM are you using? options: - - 4.0 (Default) + - 4.0 - 3.9 - 3.8 - 3.7 @@ -112,8 +112,11 @@ body: - 1.2 - 1.1 - 1.0 + - 0.9.5 - 0.9 - - 0.8 + - 0.8.6 + - 0.8.5 + - 0.8.1 - 0.7 - 0.6 - 0.5 diff --git a/CHANGELOG.md b/CHANGELOG.md index ffbfc212..de22bc38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `feature_request.yaml` template - `config.yml` for issue template ### Changed -- bug report template modified +- Bug report template modified - Document modified - `README.md` modified - Test system modified diff --git a/Otherfiles/version_check.py b/Otherfiles/version_check.py index 26ee32e5..bd2487fb 100644 --- a/Otherfiles/version_check.py +++ b/Otherfiles/version_check.py @@ -24,15 +24,25 @@ HTML_ITEMS = ["Version {0}"] PARAMS_ITEMS = ['PYCM_VERSION = "{0}"'] META_ITEMS = ['% set version = "{0}" %'] +ISSUE_TEMPLATE_ITEMS = [ + """ id: version + attributes: + label: Version + description: What version of PyCM are you using? + options: + - {0}"""] FILES = { os.path.join("Otherfiles", "meta.yaml"): META_ITEMS, - "setup.py": SETUP_ITEMS, "README.md": README_ITEMS, "CHANGELOG.md": CHANGELOG_ITEMS, os.path.join( - "Document", "Document.ipynb"): DOCUMENT_ITEMS, os.path.join( - "Document", "Example1_files", "cm1.html"): HTML_ITEMS, os.path.join( - "Document", "Example1_files", "cm2.html"): HTML_ITEMS, os.path.join( - "Document", "Example1_files", "cm3.html"): HTML_ITEMS, os.path.join( - "Otherfiles", "test.html"): HTML_ITEMS, os.path.join( - "pycm", "pycm_param.py"): PARAMS_ITEMS} + "setup.py": SETUP_ITEMS, "README.md": README_ITEMS, + "CHANGELOG.md": CHANGELOG_ITEMS, + os.path.join("Document", "Document.ipynb"): DOCUMENT_ITEMS, + os.path.join("Document", "Example1_files", "cm1.html"): HTML_ITEMS, + os.path.join("Document", "Example1_files", "cm2.html"): HTML_ITEMS, + os.path.join("Document", "Example1_files", "cm3.html"): HTML_ITEMS, + os.path.join("Otherfiles", "test.html"): HTML_ITEMS, + os.path.join("pycm", "pycm_param.py"): PARAMS_ITEMS, + os.path.join(".github", "ISSUE_TEMPLATE", "bug_report.yaml"): ISSUE_TEMPLATE_ITEMS, +} TEST_NUMBER = len(FILES.keys())