-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (67 loc) · 1.65 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
[tool.poetry]
name = "licence-plate-detection"
version = "0.1.0"
description = "A machine learning model to detect licence plates in images"
authors = ["Arbi Kullakshi <arbikullakshi0@gmail.com>"]
license = "MIT"
package-mode = true
readme = "README.md"
packages = [
{ include = "src" },
{ include = "tools" }
]
[tool.poetry.dependencies]
python = "^3.11"
tensorflow = "^2.18.0"
pandas = "^2.2.3"
scikit-learn = "^1.6.1"
matplotlib = "^3.10.0"
scipy = "^1.15.1"
tensorflow-addons = "^0.23.0"
tensorflow-hub = "^0.16.1"
tensorflow-datasets = "^4.9.7"
tensorboard = "^2.18.0"
typing-extensions = "^4.12.2"
python-dotenv = "^1.0.1"
pydantic = "^2.10.5"
seaborn = "^0.13.2"
tensorflowjs = "^4.22.0"
notebook = "^7.3.2"
tensor-annotations-tensorflow-stubs = "^2.0.3"
pyyaml = "^6.0.2"
keras = "^3.8.0"
types-tensorflow = "^2.18.0.20241227"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
flake8 = "^7.1.1"
isort = "^5.13.2"
mypy = "^1.14.1"
pre-commit = "^4.1.0"
jupyter-black = "^0.4.0"
types-pyyaml = "^6.0.12.20241230"
pydantic = {extras = ["extra-mypy"], version = "^2.10.5"}
types-tqdm = "^4.67.0.20241221"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ml = "src.main:main"
lint = "tools.lint:run_lint"
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/.venv
'''
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 100
src_paths = ["src", "tools", "tests"]
skip = [".venv"]