blob: b9bd0ec754c75303cfba2edb4724309aee5f7abc [file] [log] [blame]
# SPDX-FileCopyrightText: StorPool <support@storpool.com>
# SPDX-License-Identifier: BSD-2-Clause
[tool.ruff]
target-version = "py38"
line-length = 100
preview = true
select = []
ignore = [
# We know what "self" is, we hope
"ANN101",
# This is our style
"D203",
"D213",
# Much too restrictive
"EM",
# Much too restrictive
"TRY003",
]
[tool.ruff.flake8-copyright]
notice-rgx = "(?x) SPDX-FileCopyrightText: \\s \\S"
[tool.ruff.isort]
force-single-line = true
known-first-party = ["gifn_apply"]
lines-after-imports = 2
single-line-exclusions = ["typing"]
[tool.ruff.per-file-ignores]
# This is a test suite
"tests/unit/*" = ["S101"]