-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
69 lines (62 loc) · 1.05 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=42", # At least v42 of setuptools required.
"versioningit",
]
[tool.versioningit.vcs]
method = "git-archive"
default-tag = "0.0.0"
describe-subst = "$Format:%(describe:tags)$"
[tool.ruff]
line-length = 100
lint.select = [
# Builtins
"A",
# Bugbear
"B",
# comprehensions
"C4",
# Pycodestyle
"E",
# eradicate
"ERA",
# Pyflakes
"F",
# isort
"I",
# pandas-vet
"PD",
# return
"RET",
# Bandit
"S",
# print
"T20",
"W",
# flake8-2020
"YTT",
]
lint.ignore = [ "C408", "RET505" ]
lint.per-file-ignores."tests/*" = [ "S101" ] # Use of `assert` detected
[tool.pytest.ini_options]
addopts = """
-ra -q --verbosity=3 --doctest-modules
--cov --cov-report=term-missing --cov-report=xml
"""
minversion = "2.0"
log_level = "DEBUG"
log_cli_level = "DEBUG"
testpaths = [
"grafana_wtf",
"tests",
]
xfail_strict = true
[tool.coverage.run]
branch = false
source = ["grafana_wtf"]
[tool.coverage.report]
fail_under = 0
show_missing = true
omit = [
]