Skip to content

Commit

Permalink
MAINT: modernize ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
gdementen committed Jul 17, 2024
1 parent a34544d commit 195dbf0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ filterwarnings = [


[tool.ruff]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []

# Allow autofix for all enabled rules (when `--fix`) is provided.
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
# unfixable = []

# Exclude a variety of commonly ignored directories.
exclude = [
".eggs",
Expand All @@ -39,6 +31,15 @@ exclude = [
"build",
"dist",
]
per-file-ignores = {}
line-length = 120

line-length = 120
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = []

# Allow autofix for all enabled rules (when `--fix`) is provided.
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
# unfixable = []

per-file-ignores = {}

0 comments on commit 195dbf0

Please sign in to comment.