-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.7 KB
/
pyproject.toml
File metadata and controls
55 lines (47 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[build-system]
requires = ["setuptools>=45", "setuptools_changelog_shortener", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # maybe cleanup later - annotations
"B007", # unused loop variable - maybe cleanup later
"BLE001", # blind exception - cleanup soon
"C408", # dict call
"C901", # complex structure - maybe cleanup later
"D", # docstrings
"E501", # line length
"EM101", # string literal in exception - maybe cleanup later
"EM102", # f-string in exception - maybe cleanup later
"I001", # import block unsorted - maybe cleanup later
"N", # ignore - naming
"PERF401", # list comprehension - maybe cleanup later
"PLC0415", # ignore - import at top-level of file
"PLR2004", # magic value - maybe cleanup later
"PLW2901", # loop variable overwrite - maybe cleanup later
"PTH", # pathlib
"Q", # ignore - quotes style
"S101", # asserts
"SIM102", # single if - maybe cleanup later
"SIM105", # contextlib.suppress - cleanup soon
"SIM108", # ternary op - cleanup later
"SLF001", # private member accessed
"TRY003", # maybe cleanup later
"TRY004", # TypeError - maybe cleanup later
"UP031", # printf string formatting - maybe cleanup later
]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = [
"INP001", # implicit namespace package
"PLR0915", # too-many-statements - maybe cleanup later
"S603", # subprocess untrusted input
"T201", # ignore - print found
]
[tool.setuptools_changelog_shortener]
read_from = "CHANGELOG.rst"
write_to = "CHANGELOG.short.rst"
count = 10
delimiter = "^==+"
title = "=========\nChangelog\n========="