Skip to content

Commit

Permalink
Moves pydocstyle config to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Oct 11, 2016
1 parent 7c3e484 commit 90e7d54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ flakecheck:
$(FLAKE8) "$(PROJ)" "$(TESTDIR)"

pep257check:
$(PYDOCSTYLE) --ignore=D102,D104,D203,D105 "$(PROJ)"
$(PYDOCSTYLE) "$(PROJ)"

flakediag:
-$(MAKE) flakecheck
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ all_files = 1
# whenever it makes the code more readable.
ignore = N806, N802, N801, N803

[pep257]
ignore = D102,D104,D203,D105

[bdist_rpm]
requires = pytz >= 2011b
billiard >= 3.3.0.17
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ commands =

[testenv:pydocstyle]
commands =
pydocstyle --ignore=D102,D104,D203,D105 {toxinidir}/celery
pydocstyle {toxinidir}/celery

0 comments on commit 90e7d54

Please sign in to comment.