diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 722ddf264..c7b54980c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,27 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer + - id: trailing-whitespace + - id: end-of-file-fixer exclude: ^playwright/drivers/browsers.json$ - - id: check-yaml -- repo: https://github.com/psf/black + - id: check-yaml + - id: requirements-txt-fixer + - repo: https://github.com/psf/black rev: 20.8b1 hooks: - - id: black -- repo: https://github.com/pre-commit/mirrors-mypy + - id: black + - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.812 hooks: - - id: mypy -- repo: https://gitlab.com/pycqa/flake8 + - id: mypy + - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.4 hooks: - - id: flake8 -- repo: https://github.com/pycqa/isort + - id: flake8 + - repo: https://github.com/pycqa/isort rev: 5.7.0 hooks: - - id: isort + - id: isort diff --git a/local-requirements.txt b/local-requirements.txt index c6ae64358..fcd889bbc 100644 --- a/local-requirements.txt +++ b/local-requirements.txt @@ -1,24 +1,23 @@ -autobahn==21.2.2 +auditwheel==3.3.1 +autobahn==21.3.1 +black==20.8b1 +flake8==3.8.4 +flaky==3.7.0 +mypy==0.812 +objgraph==3.5.0 +pandas==1.2.3 +Pillow==8.1.0 +pixelmatch==0.2.3 +pre-commit==2.10.1 +pyOpenSSL==20.0.1 pytest==6.2.2 pytest-asyncio==0.14.0 pytest-cov==2.11.1 pytest-sugar==0.9.4 -pytest-xdist==2.2.1 pytest-timeout==1.4.2 -flaky==3.7.0 -pixelmatch==0.2.3 -Pillow==8.1.0 -mypy==0.812 +pytest-xdist==2.2.1 +service_identity==18.1.0 setuptools==54.0.0 -# TODO: use PyPi version after >20.3.0 is released -git+https://github.com/twisted/twisted.git@4ff22287cab3b54f51cee41ea2619e72d1bff2e4 -wheel==0.36.2 -auditwheel==3.3.1 -black==20.8b1 -pre-commit==2.10.1 -flake8==3.8.4 twine==3.3.0 -pyOpenSSL==20.0.1 -service_identity==18.1.0 -pandas==1.2.2 -objgraph==3.5.0 +twisted==21.2.0 +wheel==0.36.2