Skip to content

Commit

Permalink
style: add minimal black-compatible flake8 configuration
Browse files Browse the repository at this point in the history
I have enjoyed used black for manually-triggered code reformatting,
and flake8 to catch some things, including e.g. unused imports. This
will help surpress warnings that aren't useful.

Note: running black or flake8 is left to individual developers, and is
not done automatically.
  • Loading branch information
mslw committed Mar 22, 2023
1 parent 1849bad commit 584af1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ show_missing = True
omit =
# versioneer code
datalad_redcap/_version.py

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

0 comments on commit 584af1c

Please sign in to comment.