diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4acf4f87e1ba..af1bb320be6d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 22.6.0 # must match test-requirements.txt + rev: 22.10.0 # must match test-requirements.txt hooks: - id: black - repo: https://github.com/pycqa/isort @@ -12,5 +12,5 @@ repos: hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.8.23 # must match test-requirements.txt + - flake8-bugbear==22.9.23 # must match test-requirements.txt - flake8-noqa==1.2.9 # must match test-requirements.txt diff --git a/pyproject.toml b/pyproject.toml index fe41bbccb6a56..1348b94636396 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,9 +19,9 @@ build-backend = "setuptools.build_meta" [tool.black] line-length = 99 -target-version = ['py37'] +target-version = ["py37", "py38", "py39", "py310", "py311"] skip-magic-trailing-comma = true -extend-exclude = ''' +force-exclude = ''' ^/mypy/typeshed| ^/mypyc/test-data| ^/test-data diff --git a/test-requirements.txt b/test-requirements.txt index 574cb208b4ff2..7fe486387f2f1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,10 +1,10 @@ -r mypy-requirements.txt -r build-requirements.txt attrs>=18.0 -black==22.6.0 # must match version in .pre-commit-config.yaml +black==22.10.0 # must match version in .pre-commit-config.yaml filelock>=3.3.0 flake8==5.0.4 # must match version in .pre-commit-config.yaml -flake8-bugbear==22.8.23 # must match version in .pre-commit-config.yaml +flake8-bugbear==22.9.23 # must match version in .pre-commit-config.yaml flake8-noqa==1.2.9 # must match version in .pre-commit-config.yaml isort[colors]==5.10.1 # must match version in .pre-commit-config.yaml lxml>=4.4.0; python_version<'3.11'