-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.34 KB
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
[tool.poetry]
name = "molclassifier"
version = "0.1.0"
description = ""
authors = [
"Valery Weber <vwe@zurich.ibm.com>",
"Lucas Morin <lum@zurich.ibm.com>"
]
readme = "README.md"
packages = [{include = "mol_classifier"}]
[tool.poetry.dependencies]
python = "^3.11,<3.12"
torch = "^2.2.0"
torchvision = "^0.17.0"
pycocotools = "^2.0.7"
albumentations = "^1.4.0"
imantics = "^0.1.12"
more-itertools = "^10.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
autoflake = "^1.7.3"
black = "^22.8.0"
isort = "^5.10.1"
mypy = "^0.981"
flake8 = "^5.0.4"
pep8-naming = "^0.13.2"
pre-commit = "^3.6.2"
[tool.autoflake]
in-place = true
remove-all-unused-imports = true
remove-unused-variables = true
expand-star-imports = true
recursive = true
[tool.black]
line-length = 120
target-version = ["py311"]
include = '\.pyi?$'
preview = true
[tool.isort]
profile = "black"
line_length = 120
py_version = 310
multi_line_output = 3
include_trailing_comma = true
[tool.mypy]
pretty = true
# strict = true
no_implicit_optional = true
namespace_packages = true
show_error_codes = true
python_version = "3.11"
[[tool.mypy.overrides]]
module = [
"torch.*",
"torchvision.*",
"PIL.*",
"pycocotools.*",
"albumentations.*",
"albumentations_transforms.*",
"imantics.*",
]
ignore_missing_imports = true