blob: b96c622fa2cc9510c823f5d059cd9478c220b3b5 [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",
Peter Pentchevb91fc932023-01-19 15:27:13 +020027]
28
29[tool.ruff.per-file-ignores]
30# This is a test suite
31"*/unit_tests/*" = ["S101"]