Skip to content

Commit

Permalink
change : request changes applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
sadrasabouri committed Nov 21, 2023
1 parent cde6fb4 commit 77b75de
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 21 deletions.
29 changes: 16 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ 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:
label: Expected behavior
description: What you expected to happen?
placeholder: ex. I expected '...' to happen
validations:
required: false
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: What actually happened?
placeholder: ex. Instead '...' happened
validations:
required: false
required: true
- type: dropdown
id: operating-system
attributes:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 17 additions & 7 deletions Otherfiles/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 77b75de

Please sign in to comment.