forked from drivendataorg/boem-belugas-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (79 loc) · 2.36 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
[tool.black]
line-length = 100
target-version = ['py37']
[tool.isort]
known_third_party = ["PIL", "attr", "classy_vision", "clip", "conduit", "fairscale", "faiss", "hydra", "loguru", "matplotlib", "numpy", "omegaconf", "pandas", "pytest", "pytorch_lightning", "ranzen", "sklearn", "timm", "torch", "torchmetrics", "torchvision", "tqdm", "typer", "typing_extensions", "wandb"]
known_future_library = []
extra_standard_library = ["dataclasses", "__future__"]
line_length = 88
profile = "black"
force_sort_within_sections = "True"
classes = ["MISSING"]
[tool.poetry]
name = "whaledo"
version = "0.0.1"
description = ""
authors = ["Finding Bailey"]
license = "Apache License 2.0"
packages = [
{ include = "whaledo" },
]
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Typing :: Typed",
]
keywords=["typing", "python"]
repository=""
readme="README.md"
[tool.poetry.dependencies]
python = ">=3.9.11,<3.11"
torch = "^1.11"
ranzen = {version = "*", extras = ["all"]}
scikit-learn = "0.24.2"
scikit-image = "0.18.2"
wandb = "^0.12.10"
attrs = "^21.4.0"
faiss-cpu = "^1.7.0"
setuptools = "59.5.0" # for pytorch-lightning
fairscale = "^0.4.5"
typing-extensions = ">=4.0"
deepspeed = { version = "^0.5.10", platform = "linux", optional = true }
triton = { version = "1.0.0", platform = "linux", optional = true }
wrapt = "<1.14,>=1.11"
albumentations = "1.0.3"
transformers = "^4.19.2"
torch-conduit = "^0.1.1"
timm = "0.6.2.dev0"
loguru = "0.5.3"
typer = "^0.4.1"
hydra-core = "^1.2.0"
submitit = "^1.4.2"
[tool.poetry.extras]
deepspeed = ["deepspeed", "triton"]
[tool.poetry.dev-dependencies]
black = "^22.1"
pytest = "^6.2.2"
isort = "^5.7.0"
darglint = "^1.8.0"
pre-commit = "^2.19.0"
[tool.pyright]
exclude = ["**/node_modules", "**/__pycache__", "**/.**"]
typeCheckingMode = "basic"
pythonVersion = "3.10"
reportUnusedImport = "error"
reportDuplicateImport = "error"
reportIncompatibleVariableOverride = "error"
reportOverlappingOverload = "error"
reportUntypedNamedTuple = "error"
reportConstantRedefinition = "warning"
reportMissingImports = "error"
reportMissingTypeStubs = "warning"
strictListInference = true
strictSetInference = true
strictParameterNoneValue = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"