forked from SatelliteQE/robottelo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (50 loc) · 1020 Bytes
/
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
56
57
58
[tool.black]
line-length = 100
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.ruff]
target-version = "py311"
fixable = ["ALL"]
select = [
# "C90", # mccabe
"E", # pycodestyle
"F", # flake8
"I", # isort
# "Q", # flake8-quotes
"PT", # flake8-pytest
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [
"E501", # line too long - handled by black
"PT004", # pytest underscrore prefix for non-return fixtures
"PT005", # pytest no underscrore prefix for return fixtures
]
[tool.ruff.isort]
force-sort-within-sections = true
known-first-party = [
"robottelo",
]
combine-as-imports = true
[tool.ruff.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.ruff.flake8-quotes]
inline-quotes = "single"
[tool.ruff.mccabe]
max-complexity = 20
[tool.pytest.ini_options]
junit_logging = 'all'
addopts = '--show-capture=no'