forked from netket/netket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (52 loc) · 1.2 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
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.coverage.run]
branch = true
parallel = true
concurrency = ["multiprocessing"]
command_line = "-m pytest --verbose Test"
source = ["netket"]
[dev-dependencies]
black = { version = "^18.3-alpha.0", python = "^3.6" }
pre-commit = ">= 2.7"
pytest = ">= 6"
pytest-xdist = ">= 2"
coverage = ">= 5"
pytest-cov = ">= 2.10.1"
[build-system]
requires = ["setuptools>=50",
"wheel",
"toml",
"setuptools_scm[toml]>=3.4",
"setuptools_scm_git_archive"]
[tool.setuptools_scm]
write_to = "netket/_version.py"
[tool.pytest.ini_options]
addopts = "--color=yes --verbose --durations=0 -n auto"
filterwarnings = [
"ignore::UserWarning",
"ignore:No GPU/TPU found, falling back to CPU.:UserWarning",
"ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning",
"ignore:`np.long`",
"ignore:`np.int` is a deprecated alias for the builtin `int`",
"ignore:Call to deprecated function 'Boson'"
]
testpaths = [
"Test",
]