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 487b27f commit 3a0e62b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
exclude = ["venv*"]
line-length = 99
ignore = [
lint.ignore = [
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
"PT001", # Use `@pytest.fixture()` over `@pytest.fixture`
"PT023", # Use `@pytest.mark.asyncio()` over `@pytest.mark.asyncio`
]
exclude = ["venv*"]
select = [
lint.select = [
# "B", # bandit
"C", # complexity
"D", # docstrings
Expand All @@ -20,9 +20,9 @@ select = [
"UP", # pyupgrade
"W", # pycodestyle warnings
"YTT", # flake8-2020
# "ARG", # flake8-unused args
"ARG", # flake8-unused args
]
[pydocstyle]
[lint.pydocstyle]
convention = "pep257"
[flake8-unused-arguments]
[lint.flake8-unused-arguments]
ignore-variadic-names = true

0 comments on commit 3a0e62b

Please sign in to comment.