From e460c29be2f98e4db844de43cea1ffdd5fed69ad Mon Sep 17 00:00:00 2001 From: herr kaste Date: Thu, 26 Apr 2018 11:12:00 +0200 Subject: [PATCH] Add `.flake8` config file --- .flake8 | 12 ++++++++++++ .travis.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..1de405e --- /dev/null +++ b/.flake8 @@ -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 + diff --git a/.travis.yml b/.travis.yml index 000f751..09b0e08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ python: install: - pip install flake8 script: - - flake8 . --max-line-length=120 + - flake8