Skip to content

Commit

Permalink
Add flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Veldhoen committed Apr 12, 2024
1 parent 830acd1 commit 3503c76
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# use .flake8 until we can move this config to pyproject.toml
# use .flake8 until we can move this config to pyproject.toml (not possible yet (27/02/2024) according to issue below)
# https://github.com/PyCQA/flake8/issues/234

[flake8]
Expand Down Expand Up @@ -37,9 +37,6 @@ extend-ignore =
# W503 line break before binary operator
W503,

# C901 too complex function (ignore temporarily)
C901,

# set max-line-length to be black compatible, as suggested in the black docs
# https://github.com/psf/black/blob/d038a24ca200da9dacc1dcb05090c9e5b45b7869/docs/the_black_code_style/current_style.md#line-length
max-line-length = 88
Expand All @@ -55,3 +52,5 @@ show-source = True

# count errors and warnings
statistics = True
exclude =
.venv

0 comments on commit 3503c76

Please sign in to comment.