Skip to content

Commit

Permalink
flake8 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
exxamalte committed Jun 7, 2021
1 parent 7e31f5c commit 116b21d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -4,6 +4,10 @@ repos:
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
Expand Down
15 changes: 15 additions & 0 deletions setup.cfg
@@ -0,0 +1,15 @@
[flake8]
exclude = .git,.tox,venv,bin,lib,deps,build
doctests = True
# To work with Black
# E501: line too long
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# D202 No blank lines allowed after function docstring
# W504 line break after binary operator
ignore =
E501,
W503,
E203,
D202,
W504

0 comments on commit 116b21d

Please sign in to comment.