Skip to content

Commit

Permalink
fix pytest-flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinolog committed Oct 16, 2019
1 parent 4cbf3b8 commit af6b7bd
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ all_files = 1
build-dir = doc/build
source-dir = doc/source

[upload_sphinx]
upload-dir = doc/build/html

[flake8]
exclude =
.venv,
Expand All @@ -38,31 +35,32 @@ exclude =
__init__.py,
docs
ignore =
E203,
# whitespace before ':'
E203
# First line should be in imperative mood; try rephrasing
D401,
# No blank lines allowed after function docstring
# First line should be in imperative mood; try rephrasing
D202,
# 1 blank line required before class docstring
# No blank lines allowed after function docstring
D203,
# Multi-line docstring summary should start at the second line
# 1 blank line required before class docstring
D213
# Multi-line docstring summary should start at the second line
show-pep8 = True
show-source = True
count = True
max-line-length = 120

[pydocstyle]
ignore =
# First line should be in imperative mood; try rephrasing
D401,
# No blank lines allowed after function docstring
# First line should be in imperative mood; try rephrasing
D202,
# 1 blank line required before class docstring
# No blank lines allowed after function docstring
D203,
# Multi-line docstring summary should start at the second line
# 1 blank line required before class docstring
D213
# Multi-line docstring summary should start at the second line
match = (?!_version|test_)*.py

[doc8]
max-line-length = 150
Expand Down

0 comments on commit af6b7bd

Please sign in to comment.