-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (52 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
53 lines (52 loc) · 1.31 KB
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
[project]
name = "Autoformat"
version = "2023.12.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[build-system]
requires = [
"setuptools>=61",
"wheel",
"cython",
"mypy",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["backend", "tests"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = [
"--tb=long",
"--showlocals",
"-x",
# "--pdb",
# "--maxfail=4",
# "--last-failed",
"--failed-first",
"--log-file=tests_output.log",
"--log-cli-level=DEBUG",
"--strict-markers",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::SyntaxWarning",
]
# markers = [
# "datafiles", # : Load datafiles fixture
# "slow", # : Marks tests as slow (deselect with '-m "not slow"')
# "randomized", # : Tests that are randomly built combinatorically at runtime using fixtures and not suitable for ci/cd production runs
# "docx", # : Marks the majority of tests that test generation of docx output so that they can be run in isolation during development.
# ]
# Speed up pytest collection times
norecursedirs = [
# "docs",
"*.egg-info",
".git",
]
[tool.isort]
profile = "black"
multi_line_output = 3