Skip to content

Commit

Permalink
Add .flake8 config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Apr 26, 2018
1 parent f31b48a commit e460c29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[flake8]
max-line-length = 120

# D100 Missing docstring in public module
# D101 Missing docstring in public class
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D104 Missing docstring in public package
# D105 Missing docstring in magic method
# D107 Missing docstring in __init__
ignore = D100,D101,D102,D103,D105,D107

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ python:
install:
- pip install flake8
script:
- flake8 . --max-line-length=120
- flake8

0 comments on commit e460c29

Please sign in to comment.