Skip to content

Commit

Permalink
maint: use ruff format instead of black
Browse files Browse the repository at this point in the history
less dependencies on exterior hooks (removed black and nbqa that we used to run black on notebooks)
  • Loading branch information
ManonMarchand committed Sep 10, 2024
1 parent 88766df commit 515b3c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ extend-select = ["SIM", "FBT", "D", "UP", "N", "S", "B", "A",
"C4", "ICN", "RET", "ARG", "PD", "PGH",
"RUF", "YTT", "BLE", "COM", "DTZ", "EXE",
"ISC", "ICN001", "PIE", "PTH", "W", "I", "T20",
"PYI", "PT", "SIM", "NPY"
"PYI", "PT", "SIM", "NPY", "PERF", "FURB"
]
extend-ignore = ["D203", "D213", "D100", "N816", "D105", "N806", "N803", "FBT002", "N802"]
extend-ignore = ["D203", "D213", "D100", "N816", "D105", "N806", "N803", "FBT002",
"N802", "COM812", "ISC001"]
# N806, N816: variables names should be lowercase (would require to change all API)
# D203: 1 blank line required before class docstring (not compatible with numpy docstyle)
# FBT002: Boolean default in function definition (would require to change all API)
Expand Down

0 comments on commit 515b3c8

Please sign in to comment.