diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c69847..d07b6f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,8 +59,8 @@ repos: # W604 - Use "repr()" instead of backticks. # W605 - Fix invalid escape sequence 'x'. # W690 - Fix various deprecated code (via lib2to3). - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 hooks: - id: flake8 args: ['--count', '--select', 'E101,E11,E111,E112,E113,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E133,E20,E211,E231,E241,E242,E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306,E401,E402,E502,E701,E711,E712,E713,E714,E722,E731,E901,E902,F822,F823,W191,W291,W292,W293,W391,W601,W602,W603,W604,W605,W690'] @@ -71,14 +71,14 @@ repos: - id: autoflake args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|__init__.py|mpl_animators/extern|docs/conf.py)$" - - repo: https://github.com/timothycrosley/isort - rev: 5.9.3 + - repo: https://github.com/PyCQA/isort + rev: 5.10.1 hooks: - id: isort args: ['--sp','setup.cfg'] exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|mpl_animators/extern|docs/conf.py)$" - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: check-ast - id: check-case-conflict