Skip to content

Commit

Permalink
Merge pull request #470 from sepandhaghighi/dev
Browse files Browse the repository at this point in the history
Version 3.7
  • Loading branch information
sepandhaghighi authored Dec 15, 2022
2 parents 3d17e47 + 8868301 commit 1760e37
Show file tree
Hide file tree
Showing 42 changed files with 2,072 additions and 984 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Please consider the following :
4. Update `__class_stat_init__` function in `pycm_handler.py` by a new attribute
5. Update `PARAMS_DESCRIPTION` dictionary in `pycm_param.py` by a short description
- If you don't want capitalization, update `CAPITALIZE_FILTER` list in `pycm_param.py` (*Optional*)
6. Update `References` section in `Document.ipynb` and `README.md` (`IEEE` format)
6. Update `References` section in `Document.ipynb` (`IEEE` format)
7. Add description to `Class Statistics` section in `Document.ipynb`
- Cite reference
- Update table of contents
Expand All @@ -52,7 +52,7 @@ Please consider the following :
- Call statistic function and store result in a variable
- Add this variable to output
3. Update `__overall_stat_init__` function in `pycm_handler.py` by a new attribute
4. Update `References` section in `Document.ipynb` and `README.md` (`IEEE` format)
4. Update `References` section in `Document.ipynb` (`IEEE` format)
5. Add description to `Overall Statistics` section in `Document.ipynb`
- Cite reference
- Update table of contents
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0]
os: [ubuntu-20.04, windows-latest, macOS-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -43,22 +43,22 @@ jobs:
- name: Version check
run: |
python Otherfiles/version_check.py
if: matrix.python-version == 3.7
if: matrix.python-version == 3.8
- name: Notebook check
run: |
pip install notebook>=5.2.2
python Otherfiles/notebook_check.py
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
if: matrix.python-version == 3.8 && matrix.os == 'ubuntu-20.04'
- name: Other tests
run: |
python -m vulture pycm/ Otherfiles/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size
python -m bandit -r pycm -s B311
python -m pydocstyle -v --match-dir=pycm
if: matrix.python-version == 3.7
if: matrix.python-version == 3.8
- name: Codecov
run: |
codecov
if: matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
if: matrix.python-version == 3.8 && matrix.os == 'ubuntu-20.04'
- name: cProfile
run: |
python -m cProfile -s cumtime pycm/pycm_profile.py
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [3.7] - 2022-12-15
### Added
- `Curve` class
- `ROCCurve` class
- `PRCurve` class
- `pycmCurveError` class
### Changed
- `CONTRIBUTING.md` updated
- `matrix_params_calc` function optimized
- `README.md` modified
- Document modified
- Test system modified
- `Python 3.11` added to `test.yml`
## [3.6] - 2022-08-17
### Added
- Hamming distance
Expand Down Expand Up @@ -593,7 +606,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- TPR
- documents and `README.md`

[Unreleased]: https://github.com/sepandhaghighi/pycm/compare/v3.6...dev
[Unreleased]: https://github.com/sepandhaghighi/pycm/compare/v3.7...dev
[3.7]: https://github.com/sepandhaghighi/pycm/compare/v3.6...v3.7
[3.6]: https://github.com/sepandhaghighi/pycm/compare/v3.5...v3.6
[3.5]: https://github.com/sepandhaghighi/pycm/compare/v3.4...v3.5
[3.4]: https://github.com/sepandhaghighi/pycm/compare/v3.3...v3.4
Expand Down
Loading

0 comments on commit 1760e37

Please sign in to comment.