forked from quipucords/quipucords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (73 loc) · 1.68 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"setuptools",
"setuptools_scm[toml]",
"wheel",
] # PEP 508 specifications.
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
[tool.darker]
revision = "a362b28db064c7a4ee38fe66685ba891f33ee5ba"
isort = true
[tool.flakeheaven]
baseline = ".flakeheaven-baseline"
exclude = [
"docs",
"build",
".vscode",
"client",
"venv",
".egg",
]
max_line_length = 88
[tool.flakeheaven.exceptions."**/__init__.py"]
pyflakes = ["-F401*"]
[tool.flakeheaven.plugins]
pycodestyle = ["+*", "-W503", "-W504", "-W605" ]
pyflakes = ["+*"]
"flake8-*" = ["+*", "-Q000"]
mccabe = ["+*"]
[tool.isort]
profile = "black"
known_first_party = [
"api",
"fingerprinter",
"log_messages",
"quipucords",
"scanner",
"tests",
"utils",
]
[tool.pylint.format]
max-line-length = "88"
[tool.pylint.master]
init-hook = "import sys; sys.path.append('./quipucords')"
django-settings-module = "quipucords.settings"
load-plugins = [
"pylint_django",
"pylint_pytest",
]
[tool.pylint.messages_control]
disable = [
# flakeheaven lint with --diff parameter seems to be incompatible with this check
"cannot-enumerate-pytest-fixtures",
"logging-fstring-interpolation",
"wrong-import-order",
]
[tool.pytest.ini_options]
pythonpath = "quipucords/"
addopts = [
"--ds=quipucords.settings",
]
python_files = [
"tests.py",
"test_*.py",
"*_tests.py",
"tests_*.py",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]