Skip to content

Commit

Permalink
chore(ruff): updated ruff's pyproject conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Monnier committed Feb 12, 2024
1 parent 1b0c881 commit 4e68a8b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ preview = true

[tool.ruff]
include = ["pyproject.toml", "src/**/*.py"]
# Same as Black.
line-length = 88
target-version = "py310"

[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
Expand All @@ -126,14 +131,10 @@ select = [
"RUF", # the ruff developer's own rules
]
ignore = ["E203", "E501"]
# Same as Black.
line-length = 88
target-version = "py310"

[tool.ruff.isort]
[tool.ruff.lint.isort]
case-sensitive = true


[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
Expand Down

0 comments on commit 4e68a8b

Please sign in to comment.