Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent 9bad4c2 commit 2382e9f
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,18 @@ src = [
"src",
]

[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
lint.extend-select = [
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"EXE", # flake8-executable
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"G", # flake8-logging-format
"NPY", # NumPy specific rules
"PD", # pandas-vet
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
Expand All @@ -81,22 +83,19 @@ extend-select = [
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
"NPY", # NumPy specific rules
"PD", # pandas-vet
]
ignore = [
lint.ignore = [
"ISC001", # Conflicts with the formatter
"PLR09", # Too many X
]
typing-modules = [
"hypernewsviewer._compat.typing",
]
flake8-unused-arguments.ignore-variadic-names = true
per-file-ignores."tests/**" = [
lint.per-file-ignores = [
"T20",
"PLR2004",
]
lint.typing-modules = [
"hypernewsviewer._compat.typing",
]
lint.flake8-unused-arguments = true

[tool.pylint]
master.py-version = "3.8"
Expand Down

0 comments on commit 2382e9f

Please sign in to comment.