Skip to content

Commit e4d849d

Browse files
disabled warning on project level
1 parent 31e3047 commit e4d849d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ code-style: ## Test the code style
6666
@if type pycodestyle >/dev/null 2>&1 ; then pycodestyle *.py $(SRC_CORE)/*.py $(SRC_TEST)/*.py ; \
6767
else echo "SKIPPED. Run '$(PIP) install pycodestyle' first." >&2 ; fi
6868
@echo Pydocstyle...
69-
@if type pydocstyle >/dev/null 2>&1 ; then pydocstyle $(SRC_CORE)/*.py ; \
69+
@if type pydocstyle >/dev/null 2>&1 ; then pydocstyle $(SRC_CORE)/*.py $(SRC_TEST)/*.py ; \
7070
else echo "SKIPPED. Run '$(PIP) install pydocstyle' first." >&2 ; fi
7171

7272
code-count: ## Count the code

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ version = attr: things.__version__
55
max_line_length = 88
66
ignore = E501,E203,W503
77

8+
[pydocstyle]
9+
ignore = D102,D212,D213,D413,D203,D409,D405,D406,D407
10+
811
[flake8]
912
max-line-length = 88
1013
max-complexity = 10

tests/test_things.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
3+
# pylint: disable=C0116
34

45
"""Module documentation goes here."""
56

0 commit comments

Comments
 (0)