Skip to content

Commit

Permalink
chore(ruff): fine tune config wrt. black coexistence
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Aug 13, 2023
1 parent 43391a6 commit b4dfa8d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,26 @@ target-version = [
]

[tool.ruff]
select = ["ALL"]
select = [
"ALL",
# E and W rules not covered by Black
"E71",
"E72",
"E73",
"E74",
"E9",
"W605",
]
ignore = [
"ANN", # Maybe sometime
"COM", # Black
"D203", # Black, ping/pong with D211
"D213", # Ping/pong with D212
#"E203", # Black, uncomment when/if ruff starts to support
"E50", # Black
"E70", # Black
"E", # Black, except ones in `select` above
"FA", # See what happens with PEP 649 impl first
"UP014", # Python >= 3.6
"UP032", # Python >= 3.6
"W", # Black, except ones in `select` above

]
unfixable = [
Expand Down

0 comments on commit b4dfa8d

Please sign in to comment.