Skip to content

Commit

Permalink
Pre commit hooks upgrade (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBresson authored Feb 16, 2024
1 parent 9e43e3c commit 4600453
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.1.1
hooks:
- id: black-jupyter
language_version: python3

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.0.0
hooks:
- id: flake8
language_version: python3

- repo: https://github.com/pycqa/isort
rev: 5.11.5
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: ['--py37-plus']
args: ['--py38-plus']
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ but cannot always guarantee backwards compatibility. Changes that may **break co
- Fixed a bug in `coefficient_of_variaton()` with `intersect=True`, where the coefficient was not computed on the intersection. [#2202](https://github.com/unit8co/darts/pull/2202) by [Antoine Madrona](https://github.com/madtoinou).

### For developers of the library:
- Updated pre-commit hooks to the latest version using `pre-commit autoupdate`.
- Change `pyupgrade` pre-commit hook argument to `--py38-plus`. This allows for [type rewriting](https://github.com/asottile/pyupgrade?tab=readme-ov-file#pep-585-typing-rewrites).

## [0.27.2](https://github.com/unit8co/darts/tree/0.27.2) (2023-01-21)
### For users of the library:
Expand Down

0 comments on commit 4600453

Please sign in to comment.