diff --git a/noxfile.py b/noxfile.py index 1c3fbfd2..abf5907c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -30,9 +30,9 @@ def pylint(session: nox.Session) -> None: Run pylint. """ - session.install("pylint~=2.16.0") - session.install("-e", ".") - session.run("pylint", "src", *session.posargs) + session.install("pylint~=2.17.0") + session.install("-e.") + session.run("pylint", "hist", *session.posargs) @nox.session(python=ALL_PYTHONS, reuse_venv=True) diff --git a/pyproject.toml b/pyproject.toml index c6b58675..e8c2f643 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,11 +148,11 @@ module = [ ignore_missing_imports = true [tool.pylint] -master.py-version = "3.7" -master.extension-pkg-allow-list = ["boost_histogram._core"] +py-version = "3.7" +extension-pkg-allow-list = ["boost_histogram._core"] reports.output-format = "colorized" similarities.ignore-imports = "yes" -master.jobs = "0" +jobs = "0" messages_control.enable = [ "useless-suppression", ] @@ -178,6 +178,7 @@ messages_control.disable = [ "disallowed-name", "cyclic-import", "redefined-builtin", + "unused-argument", # Handled better by Ruff ] [tool.ruff]