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 2a0926d commit 8c317d5
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,14 +1,15 @@
exclude = ["venv*"]
line-length = 99
ignore = [
target-version = "py38"
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`
"UP036", # Version block is outdated for minimum Python version
]
exclude = ["venv*"]
select = [
lint.select = [
"B", # bandit
"C", # complexity
"D", # docstrings
Expand All @@ -23,8 +24,7 @@ select = [
"YTT", # flake8-2020
# "ARG", # flake8-unused args
]
target-version = "py38"
[pydocstyle]
[lint.pydocstyle]
convention = "pep257"
[flake8-unused-arguments]
[lint.flake8-unused-arguments]
ignore-variadic-names = true

0 comments on commit 8c317d5

Please sign in to comment.