blob: b46b7920df2848265b2727e97408f326dd2abc6a [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",
# We leave most of the formatting to the 'black' tool
"COM812",
# This is our style
"D203",
"D213",
# Much too restrictive
"EM",
# We have slightly different ideas about the `typing` imports
"I",
# Much too restrictive
"TRY003",
]
[tool.ruff.flake8-copyright]
notice-rgx = "(?x) SPDX-FileCopyrightText: \\s \\S"
[tool.ruff.per-file-ignores]
# This is a test suite
"*/unit_tests/*" = ["S101"]