Skip to content

Commit

Permalink
style: add flake8 support (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
giovtorres authored Nov 13, 2021
1 parent b1abc01 commit 73d81dd
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pytest = "*"
pytest-sugar = "*"
pytest-testinfra = "*"
isort = "*"
flake8 = "*"

[pipenv]
allow_prereleases = true
37 changes: 34 additions & 3 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions cython.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[flake8]
filename = *.pyx,*.pxd
extend_ignore=
# whitespace before '('
E211,
# missing whitespace around operator
E225,
# missing whitespace around arithmetic operator
E226,
# missing whitespace around bitwise or shift operator
E227,
# invalid syntax
E999,
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ builder = man
source-dir = doc/source
build-dir = doc/build
all_files = 1

[flake8]
max-line-length = 88
extend-ignore = E203

0 comments on commit 73d81dd

Please sign in to comment.