Skip to content

Commit

Permalink
add exclude for lint as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaranow committed Nov 3, 2024
1 parent 07d971a commit e7cd1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ line-length = 119
# Never enforce `E501` (line length violations).
ignore = ["C901", "E501", "E741", "F402", "F823" ]
select = ["C", "E", "F", "I", "W"]
exclude = ["*.ipynb"]

# Ignore import violations in all `__init__.py` files.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811"]
"*.ipynb" = ["E402"]

[tool.ruff.lint.isort]
lines-after-imports = 2
Expand Down

0 comments on commit e7cd1bb

Please sign in to comment.