repos: - repo: https://github.com/myint/autoflake rev: v1.4 hooks: - id: autoflake exclude: tests/testdata|astroid/__init__.py args: - --in-place - --remove-all-unused-imports - --expand-star-imports - --remove-duplicate-keys - --remove-unused-variables - repo: https://github.com/PyCQA/isort rev: 5.8.0 hooks: - id: isort exclude: tests/testdata|astroid/__init__.py - repo: https://github.com/Pierre-Sassoulas/black-disable-checker/ rev: 1.0.0 hooks: - id: black-disable-checker - repo: https://github.com/asottile/pyupgrade rev: v2.12.0 hooks: - id: pyupgrade exclude: tests/testdata args: [--py36-plus] - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black args: [--safe, --quiet] exclude: tests/testdata|doc/ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: trailing-whitespace exclude: .github/|tests/testdata - id: end-of-file-fixer exclude: tests/testdata - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.2.1 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] - repo: local hooks: - id: pylint name: pylint entry: pylint language: system types: [python] args: ["-rn", "-sn", "--rcfile=pylintrc"] exclude: tests/testdata|setup.py|conf.py