Skip to content

Commit

Permalink
add ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jul 30, 2024
1 parent 82858c6 commit db1d5f6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"RUF"
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
"I001", # import block is un-sorted or un-formatted
]

fixable = ["ALL"]
unfixable = []

0 comments on commit db1d5f6

Please sign in to comment.