.pre-commit-config.yaml 464 B

1234567891011121314151617
  1. repos:
  2. - repo: git://github.com/pre-commit/pre-commit-hooks
  3. rev: v1.4.0
  4. hooks:
  5. - id: flake8
  6. exclude: (^tests/.*\.py$|docs/conf.py|setup.py)
  7. args:
  8. - --ignore=W503
  9. - id: check-added-large-files
  10. - repo: git://github.com/pre-commit/mirrors-pylint
  11. rev: v2.3.0
  12. hooks:
  13. - id: pylint
  14. exclude: (^tests/.*\.py$|docs/conf.py|setup.py)
  15. args:
  16. - --errors-only
  17. - --disable=import-error