mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
37 lines
673 B
TOML
37 lines
673 B
TOML
[tool.black]
|
|
target-version = ["py37"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py37"
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
"W",
|
|
# pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
# Use modern Python features for the best possible develop experience.
|
|
"UP",
|
|
# flake8-bugbear
|
|
# Find obvious bugs.
|
|
"B",
|
|
# flake8-pie
|
|
"PIE",
|
|
# flake8-return
|
|
"RET",
|
|
# pep8-naming
|
|
# `Error` suffix on exception names.
|
|
"N818",
|
|
# flake8-simplify
|
|
"SIM",
|
|
]
|
|
ignore = [
|
|
# Line too long.
|
|
# We have some places where it's just impossible to make it fit.
|
|
"E501",
|
|
# Use 'contextlib.suppress(...)' instead of try-except-pass.
|
|
# I think it's better to use integrated language constructs instead
|
|
# of libraries.
|
|
"SIM105",
|
|
]
|