Skip to content

Commit

Permalink
Merge pull request #35 from vacarme/chore/issue-34/update-ruff-conf […
Browse files Browse the repository at this point in the history
…skip ci]

[MNT] Updated ruff's pyproject section.
  • Loading branch information
HugoDelatte committed Feb 12, 2024
2 parents 1b0c881 + 4e68a8b commit db3c56d
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 db3c56d

Please sign in to comment.