-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
87 lines (76 loc) · 1.94 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
[tool.poetry]
authors = ["Oliver Borchert <me@borchero.com>"]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
description = "Utilities for PyTorch and PyTorch Lightning."
documentation = "https://lightkit.borchero.com"
license = "MIT"
name = "lightkit"
readme = "README.md"
repository = "https://github.com/borchero/lightkit"
version = "0.0.0"
[tool.poetry.dependencies]
numpy = "^1.20.0"
python = ">=3.8,<3.11"
pytorch-lightning = "^1.5.8"
torch = ">=1.8.0,<1.14.0"
[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 = "^4.3.2"
pydata-sphinx-theme = "^0.7.2"
scanpydoc = "^0.7.3"
sphinx-autodoc-typehints = "^1.12.0"
sphinx-automodapi = "^0.13"
sphinx-copybutton = "^0.4.0"
sphinxcontrib-spelling = "^7.3.0"
[tool.poetry.group.testing.dependencies]
pytest = "^6.2.5"
[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 = "lightkit"
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',
]