Skip to content

Commit

Permalink
move ruff config options
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Feb 5, 2024
1 parent b5a69a8 commit ba38da8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
exclude = ["venv*"]
line-length = 99
ignore = [
target-version = "py38"
lint.ignore = [
"PLR2004",
"D104",
"D107",
"C901",
]
select = [
lint.select = [
"ARG", # flake8-unused args
"B", # bandit
"C", # complexity
Expand All @@ -19,9 +21,5 @@ select = [
"UP", # pyupgrade
"YTT", # flake8-2020
]

target-version = "py38"
[pydocstyle]
[lint.pydocstyle]
convention = "pep257"
[flake8-unused-arguments]
ignore-variadic-names = true

0 comments on commit ba38da8

Please sign in to comment.