Skip to content

Commit

Permalink
Update pre-commit requirement, and update .pre-commit-config.yaml (#731)
Browse files Browse the repository at this point in the history
* Update pre-commit requirement from <3.0.0,>=1.20.0 to >=1.20.0,<4.0.0

Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v1.20.0...v3.0.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update pre-commit-config

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ashley Scillitoe <[email protected]>
  • Loading branch information
dependabot[bot] and ascillitoe authored Apr 27, 2023
1 parent 2b76143 commit d7c2677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
hooks:
- id: mypy
additional_dependencies: [
types-requests~=2.25,
types-requests~=2.28,
types-toml~=0.10
]
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nbconvert>=6.0.7, <8.0.0 # for notebook tests
ipywidgets>=7.6.5, <9.0.0 # for notebook tests
alibi-testing @ git+https://github.com/SeldonIO/alibi-testing@master#egg=alibi-testing # pre-trained models for testing
# other
pre-commit>=1.20.0, <3.0.0
pre-commit>=1.20.0, <4.0.0
tox>=3.21.0, <5.0.0 # used to generate licence info via `make licenses`
twine>3.2.0, <4.0.0 # 4.x causes deps clashes with testing/requirements.txt, as requires rich>=12.0.0 -> requires typing-extensions>=4.0.0 -> too high for spacy and thinc!
packaging>=19.0, <24.0 # Used to check scipy version for CVMDrift test. Can be removed once python 3.6 support dropped (and scipy lower bound >=1.7.0).
Expand Down

0 comments on commit d7c2677

Please sign in to comment.