-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
51 lines (42 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
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=3.4",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# See https://github.com/pypa/setuptools_scm/#configuration-parameters for available
# options
write_to = "pystiche_papers/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "node-and-timestamp"
[tool.usort]
categories = ["future", "standard_library", "third_party", "pytorch", "first_party"]
first_party_detection = false
[tool.usort.known]
third_party = ["numpy", "pytest"]
pytorch = ["pytorch_testing_utils", "torch", "torchvision"]
first_party = ["pystiche", "pystiche_papers"]
[tool.black]
# See https://black.readthedocs.io/en/stable/usage_and_configuration/index.html for
# available options
line-length = 88
target-version = ["py37"]
exclude = '''
/(
\.git
| \.github
| \.venv
| \.eggs
| \.mypy_cache
| \.pytest_cache
| \.tox
| __pycache__
| build
| docs/build
)/
'''
[tool.check-wheel-contents]
# See https://github.com/jwodder/check-wheel-contents/issues/2
ignore = "W002"