Simonlob commited on
Commit
58ec79f
·
verified ·
1 Parent(s): f3fd6ab

Upload pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +51 -0
pyproject.toml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["setuptools", "wheel", "cython==0.29.35", "numpy==1.24.3", "packaging"]
3
+
4
+ [tool.black]
5
+ line-length = 120
6
+ target-version = ['py310']
7
+ exclude = '''
8
+
9
+ (
10
+ /(
11
+ \.eggs # exclude a few common directories in the
12
+ | \.git # root of the project
13
+ | \.hg
14
+ | \.mypy_cache
15
+ | \.tox
16
+ | \.venv
17
+ | _build
18
+ | buck-out
19
+ | build
20
+ | dist
21
+ )/
22
+ | foo.py # also separately exclude a file named foo.py in
23
+ # the root of the project
24
+ )
25
+ '''
26
+
27
+ [tool.pytest.ini_options]
28
+ addopts = [
29
+ "--color=yes",
30
+ "--durations=0",
31
+ "--strict-markers",
32
+ "--doctest-modules",
33
+ ]
34
+ filterwarnings = [
35
+ "ignore::DeprecationWarning",
36
+ "ignore::UserWarning",
37
+ ]
38
+ log_cli = "True"
39
+ markers = [
40
+ "slow: slow tests",
41
+ ]
42
+ minversion = "6.0"
43
+ testpaths = "tests/"
44
+
45
+ [tool.coverage.report]
46
+ exclude_lines = [
47
+ "pragma: nocover",
48
+ "raise NotImplementedError",
49
+ "raise NotImplementedError()",
50
+ "if __name__ == .__main__.:",
51
+ ]