-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (66 loc) · 1.72 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
[[tool.mypy.overrides]]
module = "comet_ml.*"
ignore_missing_imports = true
[tool.poetry]
name = "some-dl-models"
version = "0.1.0"
description = "This is the repository for the ECS189G course on Deep Learning. The main purpose of this project is to help students get familiar with classic deep learning models and use them to solve concrete real-world problems."
authors = ["Alejandro Armas <[email protected]>", "Lia Hepler-Mackey <[email protected]>", "Sachin Loecher <[email protected]>", "Matthew Schulz <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "some-dl-models"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
comet-ml = ">=3.31.22"
torch = ">=1.13.1"
scikit-learn = ">=1.2.0"
torchmetrics = "^0.11.1"
pandas = "^1.5.3"
onnx = "^1.13.0"
opencv-python = "^4.7.0.68"
cerberus = "^1.3.4"
pillow = "^9.4.0"
torchvision = "^0.14.1"
transformers = "^4.26.1"
torchtext = "^0.14.1"
[tool.poetry.group.dev.dependencies]
mypy = ">=0.991"
black = "^22.12.0"
flake8 = "^6.0.0"
isort = "^5.11.4"
pre-commit = "^3.0.0"
conventional-pre-commit = "^2.1.1"
coverage = "^7.1.0"
pandas-stubs = "^1.5.3.230203"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
.eggs # exclude a few common directories in the
| .git # root of the project
| .hg
| .mypy_cache
| .tox
| venv
| .venv
| ./.venv
| _build
| buck-out
| build
| dist
)/
'''
# iSort
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3
include_trailing_comma = true
virtual_env = "venv"
[tool.mypy]
python_version = "3.10"
exclude = [".venv", "./.venv", "venv"]