-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (57 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
68 lines (57 loc) · 1.32 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
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[project]
name = "animalsearch"
description = "A CLI for sorting animal images."
requires-python = ">=3.10"
authors = [{ name = "Tim Cogan" }]
dependencies = [
"colorama",
"numpy",
"torch",
"torchvision",
"torchaudio",
"tqdm",
"opencv-python",
"Pillow",
"supervision",
"gradio",
"ultralytics-yolov5",
]
readme = "README.md"
license = { text = "MIT" }
dynamic = ["version"]
[project.optional-dependencies]
[tool.autoflake]
remove-all-unused-imports = true
remove-unused-variables = true
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6,E203"
in-place = true
recursive = true
aggressive = 3
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 119
lines_after_imports = 2
multi_line_output = 3
use_parentheses = false
[tool.pyright]
[tool.pdm.version]
source = "file"
path = "PytorchWildlife/version.py"
[tool.pdm.dev-dependencies]
test = ["pytest", "pytest-mock", "pytest-cov", "coverage"]
quality = ["autoflake", "autopep8", "black", "flake8", "isort"]
dist = ["build", "twine"]
[tool.pytest.ini_options]
markers = ["ci_skip"]
[project.scripts]
animalsearch = "PytorchWildlife.cli:main"