Skip to content

Commit

Permalink
chore: bump pylint (#519)
Browse files Browse the repository at this point in the history
Bumping and improving pylint config a bit.

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Jul 27, 2023
1 parent ee044c0 commit 00b0237
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -178,6 +178,7 @@ messages_control.disable = [
"disallowed-name",
"cyclic-import",
"redefined-builtin",
"unused-argument", # Handled better by Ruff
]

[tool.ruff]
Expand Down

0 comments on commit 00b0237

Please sign in to comment.