Update pre-commit deps (#15784)
Closes https://github.com/python/mypy/pull/15526
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a56e1af..7a4aada 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -6,11 +6,11 @@
- 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]
diff --git a/test-requirements.txt b/test-requirements.txt
index 5340973..6f7bec0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -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'
@@ -11,6 +11,6 @@
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