Peter Pentchev | b91fc93 | 2023-01-19 15:27:13 +0200 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: StorPool <support@storpool.com> |
| 2 | # SPDX-License-Identifier: BSD-2-Clause |
| 3 | |
| 4 | [tool.ruff] |
| 5 | target-version = "py38" |
| 6 | line-length = 100 |
| 7 | select = [] |
| 8 | ignore = [ |
| 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 Pentchev | b91fc93 | 2023-01-19 15:27:13 +0200 | [diff] [blame] | 27 | ] |
| 28 | |
| 29 | [tool.ruff.per-file-ignores] |
| 30 | # This is a test suite |
| 31 | "*/unit_tests/*" = ["S101"] |