-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
55 lines (48 loc) · 1.11 KB
/
pyproject.toml
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
[tool.black]
line-length = 88
# py36 = false # don't strip 'u' from native strings
target-version = ['py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.tox
| \.venv
| \.eggs
| \.cache
| build
| __pycache__
| dist
| \.*
)/
'''
[tool.isort]
# See https://black.readthedocs.io/en/stable/compatible_configs.html
profile = "black"
src_paths = ["stressor", "tests"]
[tool.ruff]
# Decrease the maximum line length to 79 characters.
# line-length = 79
# Support Python 3.10+.
target-version = "py39"
src = ["stressor", "tests"]
[lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"G", # flake8-logging-format
"UP", # pyupgrade
"T", # print, ...
# "D", # pydocstyle
]
ignore = [
"E721", # Do not compare types, use `isinstance()`
"G001", # Logging statement uses `str.format`
"G004", # Logging statement uses f-string
# We need the old syntax for python <= 3.9
# "UP006", # Use `list` instead of `List` for type annotations (since Py39)
"UP007", # Use `X | Y` for type annotations (since Py310)
]
# [tool.ruff.pydocstyle]
# convention = "google"