blob: f3dd544612af9a479e7922166f3489e97a24655c [file] [log] [blame]
Peter Pentchevb91fc932023-01-19 15:27:13 +02001# SPDX-FileCopyrightText: StorPool <support@storpool.com>
2# SPDX-License-Identifier: BSD-2-Clause
3
4[tool.ruff]
5target-version = "py38"
6line-length = 100
7select = []
8ignore = [
9 # We know what "self" is, we hope
10 "ANN101",
11
12 # We leave most of the formatting to the 'black' tool
13 "COM812",
14
15 # This is our style
16 "D203",
17 "D213",
18
19 # Much too restrictive
20 "EM",
21
22 # We have slightly different ideas about the `typing` imports
23 "I",
24
25 # Much too restrictive
26 "TRY003",
27
28 # This seems to be a bug in Ruff
29 "PLE1205",
30]
31
32[tool.ruff.per-file-ignores]
33# This is a test suite
34"*/unit_tests/*" = ["S101"]