-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (72 loc) · 1.64 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[tool.poetry]
name = "pyklopp"
version = "0.3.2"
description = ""
authors = [
"Julian Stier <julian.stier@uni-passau.de>"
]
license = "MIT"
include = [
"pyproject.toml",
"README.md"
]
readme = "README.md"
homepage = "https://github.com/innvariant/pyklopp"
repository = "https://github.com/innvariant/pyklopp"
documentation = "https://github.com/innvariant/pyklopp"
keywords = ["machine learning", "inference", "training"]
[tool.poetry.dependencies]
python = "^3.6.1"
cleo = "^0.7"
torch = ">=1.3"
torchvision = ">=0.4"
pytorch-ignite = "^0.2"
tqdm = "^4.40"
importlib-metadata = "^1.5.0"
jsonschema = "^3.2.0"
importlib-resources = "^1.4.0"
semantic_version = "^2.8.4"
[tool.poetry.dev-dependencies]
pytest = "^3.0"
pytest-mock = "^3.0.0"
pyfakefs = "^4.0.2"
black = { version = "^19.10b0", python = "^3.6" }
pre-commit = "^2.3.0"
[tool.poetry.scripts]
pyklopp = "pyklopp.console:main"
[tool.isort]
line_length = 88
force_single_line = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
use_parentheses = true
not_skip = "__init__.py"
skip_glob = ["*/setup.py", "res/"]
filter_files = true
known_first_party = "pyklopp"
known_third_party = ["cleo", "ignite", "importlib_metadata", "importlib_resources", "jsonschema", "numpy", "pyfakefs", "pytest", "semantic_version", "torch", "torchvision"]
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| res
| build
| dist
| tests/.*/setup.py
)/
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"