diff options
| author | 2019-05-30 18:30:04 -0700 | |
|---|---|---|
| committer | 2019-05-30 18:31:23 -0700 | |
| commit | f9d716e1b036fdc8cd71ccf7e7acaa2348e3ffb7 (patch) | |
| tree | ca7c9567a929e9de9997e9a9f4c1ac70cfeb3821 | |
| parent | Revert "Run flake8 via pre-commit for the pipenv lint script" (diff) | |
Lint tests
* Ignore D1xx for tests because they shouldn't require docstrings
* Update pre-commit-hooks repo to v2.2.3
| -rw-r--r-- | .flake8 | 6 | ||||
| -rw-r--r-- | .pre-commit-config.yaml | 4 | 
2 files changed, 4 insertions, 6 deletions
| @@ -13,7 +13,7 @@ ignore=      D400,D401,D402,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414  exclude=      __pycache__,.cache, -    venv,.venv, -    tests +    venv,.venv +per-file-ignores=tests/*:D1  import-order-style=pycharm -inline-quotes = " +inline-quotes=" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d2d40a..d2737fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,8 @@  repos:  -   repo: https://github.com/pre-commit/pre-commit-hooks -    rev: v2.0.0 +    rev: v2.2.3      hooks:      - id: flake8 -      args: [--config=.flake8] -      exclude: ^tests/        additional_dependencies: [          flake8-docstrings,          flake8-bugbear, | 
