Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
update ruff usage
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgyEdgemond committed Mar 4, 2024
1 parent 3667b8a commit 0fad46a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ source = ["changelog_gen"]
[tool.ruff]
line-length = 120
target-version = "py39"
select = ["ALL"]
ignore = [
lint.select = ["ALL"]
lint.ignore = [
"D100",
"D104",
"D107",
Expand All @@ -103,15 +103,15 @@ ignore = [
"FIX", # allow TODO
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tasks.py" = ["ANN", "E501", "INP001"]
"changelog_gen/cli/command.py" = ["UP007", "B008"]
"tests/*" = ["ANN", "D", "S105", "S106", "SLF001", "S101", "PLR0913"]

[tool.ruff.flake8-quotes]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.poetry.scripts]
Expand Down

0 comments on commit 0fad46a

Please sign in to comment.