Skip to content

Commit

Permalink
Adding Flake8 configuration section to file
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-code committed Dec 7, 2016
1 parent e424e0c commit fe2e124
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@ default_section = THIRDPARTY
known_first_party = bootcamp # change it for the name of your django project
known_django = django
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[flake8]
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
*/migrations/*,
env/*,
max-complexity = 10

0 comments on commit fe2e124

Please sign in to comment.