-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (38 loc) · 1.12 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
[tool.setuptools_scm]
write_to = "src/wellbeing_and_machine_learning/_version.py"
[tool.pytask.ini_options]
paths = ["./src/wellbeing_and_machine_learning", "./paper"]
pdbcls = "pdbp:Pdb"
[tool.ruff]
target-version = "py311"
select = ["ALL"]
fix = true
fix-only = true # No linting errors will be reported
extend-ignore = [
"S101", # Use of `assert` detected.
"ANN", # Missing type annotations
]
[tool.ruff.per-file-ignores]
"tests/*" = ["D", "PD011"]
"task_*.py" = ["ANN"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.nbqa.config]
black = "pyproject.toml"
[tool.nbqa.mutate]
black = 1
[tool.pytest.ini_options]
addopts = "--pdbcls=pdbp:Pdb"
filterwarnings = []
markers = [
"wip: Tests that are work-in-progress.",
"unit: Flag for unit tests which target mainly a single function.",
"integration: Flag for integration tests which may comprise of multiple unit tests.",
"end_to_end: Flag for tests that cover the whole program.",
]
norecursedirs = ["docs"]
[tool.yamlfix]
line_length = 88
none_representation = "null"