Skip to content

Commit

Permalink
Update pre-commit deps (#15784)
Browse files Browse the repository at this point in the history
Closes #15526
  • Loading branch information
sobolevn committed Jul 30, 2023
1 parent d71afbf commit cb81325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/hauntsaninja/black-pre-commit-mirror
rev: 23.3.0 # must match test-requirements.txt
rev: 23.7.0 # must match test-requirements.txt
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.272 # must match test-requirements.txt
rev: v0.0.280 # must match test-requirements.txt
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]
4 changes: 2 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r mypy-requirements.txt
-r build-requirements.txt
attrs>=18.0
black==23.3.0 # must match version in .pre-commit-config.yaml
black==23.7.0 # must match version in .pre-commit-config.yaml
filelock>=3.3.0
# lxml 4.9.3 switched to manylinux_2_28, the wheel builder still uses manylinux2014
lxml>=4.9.1,<4.9.3; (python_version<'3.11' or sys_platform!='win32') and python_version<'3.12'
Expand All @@ -11,6 +11,6 @@ psutil>=4.0
pytest>=7.4.0
pytest-xdist>=1.34.0
pytest-cov>=2.10.0
ruff==0.0.272 # must match version in .pre-commit-config.yaml
ruff==0.0.280 # must match version in .pre-commit-config.yaml
setuptools>=65.5.1
tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.7

0 comments on commit cb81325

Please sign in to comment.