Skip to content

Commit a49d383

Browse files
authored
Merge pull request syslog-ng#5123 from HofiOne/fix-pylint-error
python venv: disable `too-many-positional-arguments` as well for pylint
2 parents ec35354 + 0a66e30 commit a49d383

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/python-modules/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pymodules-unit: python-venv
127127
pymodules-checks: pymodules-unit pymodules-pycodestyle pymodules-pylint
128128

129129
pymodules-pycodestyle: python-venv
130-
$(PYTHON_VENV) -m pycodestyle --ignore=E501,E121,E123,E126,E226,E24,E704,W503,W504 $(PYMODULES_SRCDIR)/$(PYMODULES_ROOT_MODULE)
130+
$(PYTHON_VENV) -m pycodestyle --ignore=E501,E121,E123,E126,E226,E24,E704,W503,W504,R0917 $(PYMODULES_SRCDIR)/$(PYMODULES_ROOT_MODULE)
131131

132132
pymodules-pylint: python-venv
133133
$(PYTHON_VENV) -m pylint -r n --rcfile=$(PYMODULES_SRCDIR)/pylintrc $(PYMODULES_SRCDIR)/$(PYMODULES_ROOT_MODULE)

modules/python-modules/syslogng/debuggercli/tests/test_langcompleter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class TestLangCompleter(CompleterTestCase):
5757
'PARTIAL_TOKEN': ChoiceCompleter(("tokenP-a", "tokenP-b"), prefix='@', suffix='')
5858
}
5959

60-
# pylint: disable=arguments-differ,too-many-arguments
60+
# pylint: disable=arguments-differ,too-many-arguments,too-many-positional-arguments
6161
def _construct_completer(self, expected_token=None, expected_tokens=None,
6262
replaced_token=None, replaced_token_pos=-1,
6363
completers=None, prefix="<!--"):

0 commit comments

Comments
 (0)