-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
77 lines (70 loc) · 1.57 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
[tool.poetry]
name = "temporal_consistency"
version = "1.2.0"
description = "Temporal Anomaly Detection in Videos"
authors = ["samet <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.8"
opencv-python = "^4.8.0.76"
ultralytics = "^8.0.180"
deep-sort-realtime = "^1.3.2"
torch = "^2.0.1"
torchvision = "^0.15.2"
torchaudio = "^2.0.2"
albumentations = "^1.3.1"
configargparse = "^1.7"
loguru = "^0.7.2"
[tool.poetry.group.dev.dependencies]
flake8 = "^3.8.4"
isort = "^5.6.4"
ruff = "^0.0.290"
black = "^23.9.1"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
mypy = "^1.5.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 80
target-version = ["py38"]
exclude = '''
/(
\.git
| \.venv
| \.direnv
| _build
| build
| dist
| \.env
| \.vscode
| \.cache
| github
| __pycache__
| .cloudignore
)/
'''
[tool.isort]
py_version = "38"
line_length = 80
lines_after_imports = 2
lines_between_sections = 1
multi_line_output = 3
force_grid_wrap = 0
include_trailing_comma = "true"
combine_as_imports = "true"
use_parentheses = "true"
skip = ["./docs", ".direnv"]
skip_glob = ["*/__init__.py"]
skip_gitignore = "true"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
[tool.pytest.ini_options]
minversion = "6.1"
addopts = ["--cov=temporal_consistency", "--cov-report=term-missing", "--cov"]
testpaths = ["tests_unit"]
filterwarnings = "ignore::DeprecationWarning"
[tool.mypy]
python_version = 3.11
warn_unused_configs = true
ignore_missing_imports = true