diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 621e9fa..b00e484 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,20 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.11.1 hooks: - id: isort args: ['--profile', 'black', '--check-only', '--diff'] files: ^((model_utils|tests)/)|setup.py - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 args: ['--ignore=E402,E501,E731,W503'] files: ^(model_utils|tests)/ - repo: https://github.com/asottile/pyupgrade - rev: v3.1.0 + rev: v3.3.1 hooks: - id: pyupgrade args: [--py37-plus] diff --git a/tox.ini b/tox.ini index 5a3ab0f..1774e91 100644 --- a/tox.ini +++ b/tox.ini @@ -43,10 +43,10 @@ commands = [flake8] ignore = - E731 ; do not assign a lambda expression, use a def - W503 ; line break before binary operator - E402 ; module level import not at top of file - E501 ; line too long + E731 + W503 + E402 + E501 [testenv:isort] basepython = python3.8