Skip to content

Commit

Permalink
Move pylint config to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauko Quiroga committed Sep 10, 2021
1 parent 3889103 commit 350d76b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ check-style: $(shell git ls-files "*.py")

@# Further check for syntax and design errors —style excluded.
@# See: `pylint --list-msgs`
@pylint --disable=all --enable=classes,exceptions,imports,miscellaneous,refactoring --disable=W0201,W0231 --score="no" openfisca_core/commons
@pylint --enable=classes,exceptions,imports,miscellaneous,refactoring --disable=W0201,W0231 openfisca_core/commons

## Run static type checkers for type errors.
check-types: openfisca_core openfisca_web_api
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ rst-directives = attribute, deprecated
rst-roles = any, class, exc, meth, obj
strictness = short

[pylint.message_control]
disable = all
jobs = 0
score = no

[tool:pytest]
addopts = --cov-report=term-missing:skip-covered --cov-fail-under=78 --doctest-modules --disable-pytest-warnings --showlocals
doctest_optionflags = ELLIPSIS IGNORE_EXCEPTION_DETAIL NUMBER NORMALIZE_WHITESPACE
Expand Down

0 comments on commit 350d76b

Please sign in to comment.