Skip to content

Commit

Permalink
update .pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
raybellwaves committed Sep 27, 2020
1 parent 2aeae87 commit 2b72ea6
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions .pre-commit-config.yaml
@@ -1,38 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
# isort should run before black as black sometimes tweaks the isort output
- repo: https://github.com/PyCQA/isort
rev: 5.5.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-yaml
- id: double-quote-string-fixer
- id: no-commit-to-branch
- id: debug-statements
- id: check-merge-conflict
- id: isort

- repo: https://github.com/ambv/black
rev: 19.10b0
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
args: ["--line-length", "88", "--skip-string-normalization"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
args:
[
"--max-line-length=88",
"--exclude=__init__.py",
"--ignore=C901,E203,E266,E402,E501,E711,F401,W503,W605",
]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
args: ["-w", "88",]
args: ["--ignore=E203,E711,W503"]

- repo: https://github.com/PyCQA/doc8
rev: 0.8.1rc2
Expand Down

0 comments on commit 2b72ea6

Please sign in to comment.