blob: b9e1932dbc87dd8d58d7ea38c8ae39aeaa14a8c9 [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
"*/unit_tests/*" = ["S101"]