Skip to content

Commit a444a61

Browse files
stdedosPierre-Sassoulas
authored andcommitted
Carry over some .pylintrc configuration
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent 7feeb56 commit a444a61

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

pylint_pytest/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from .checkers import BasePytestChecker
77

88

9-
# pylint: disable=protected-access
109
def register(linter):
1110
"""auto discover pylint checker classes"""
1211
dirname = os.path.dirname(__file__)

pylint_pytest/checkers/fixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def visit_functiondef(self, node):
209209
for arg in node.args.args:
210210
self._invoked_with_func_args.add(arg.name)
211211

212-
# pylint: disable=protected-access,bad-staticmethod-argument
212+
# pylint: disable=bad-staticmethod-argument
213213
@staticmethod
214214
def patch_add_message(
215215
self, msgid, line=None, node=None, args=None, confidence=None, col_offset=None

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,15 @@ disable=[
158158
"use-maxsplit-arg",
159159
"used-before-assignment",
160160
]
161+
162+
[tool.pylint.design]
163+
max-args = 7
164+
165+
[tool.pylint.reports]
166+
output-format = "colorized"
167+
168+
[tool.pylint.variables]
169+
ignored-argument-names = "_.*"
170+
171+
[tool.pylint."messages control"]
172+
enable = ["useless-suppression"]

0 commit comments

Comments
 (0)