-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
97 lines (85 loc) · 2.25 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tool.poetry]
authors = ["Oliver Borchert <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
description = "Traditional Machine Learning Models in PyTorch."
documentation = "https://pycave.borchero.com"
license = "MIT"
name = "pycave"
readme = "README.md"
repository = "https://github.com/borchero/pycave"
version = "0.0.0"
[tool.poetry.dependencies]
lightkit = "^0.5.0"
numpy = "^1.20.3"
python = ">=3.8,<3.11"
pytorch-lightning = "^1.6.0"
torch = "^1.8.0"
torchmetrics = ">=0.6,<0.12"
[tool.poetry.group.pre-commit.dependencies]
black = "^22.12.0"
docformatter = "^1.5.0"
isort = "^5.10.1"
mypy = "^0.991"
pylint = "^2.12.2"
pyupgrade = "^3.3.1"
[tool.poetry.group.docs.dependencies]
Sphinx = "^5.0.0"
pydata-sphinx-theme = "^0.7.2"
scanpydoc = "^0.7.1"
sphinx-autodoc-typehints = "^1.12.0"
sphinx-automodapi = "^0.13"
sphinx-copybutton = "^0.3.3"
sphinxcontrib-spelling = "^7.2.1"
[tool.poetry.group.testing.dependencies]
flaky = "^3.7.0"
pytest = "^6.2.4"
pytest-benchmark = "^3.4.1"
scikit-learn = "^0.24.2"
[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.pylint.messages_control]
disable = [
"arguments-differ",
"duplicate-code",
"missing-module-docstring",
"invalid-name",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-locals",
"too-many-instance-attributes",
]
[tool.pylint.typecheck]
generated-members = [
"torch.*",
]
[tool.black]
line-length = 99
target-version = ["py38", "py39", "py310"]
[tool.isort]
force_alphabetical_sort_within_sections = true
include_trailing_comma = true
known_first_party = "pycave,tests"
line_length = 99
lines_between_sections = 0
profile = "black"
skip_gitignore = true
[tool.docformatter]
make-summary-multi-line = true
pre-summary-newline = true
recursive = true
wrap-descriptions = 99
wrap-summaries = 99
[tool.pytest.ini_options]
filterwarnings = [
"ignore:.*Create unlinked descriptors is going to go away.*:DeprecationWarning",
"ignore:.*this fit will run with no optimizer.*",
"ignore:.*Consider increasing the value of the `num_workers` argument.*",
]