generated from jphacks/JP_sample
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (69 loc) · 1.47 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
[project]
name = "tk-2420"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"flask-cors>=5.0.0",
"flask-sqlalchemy>=3.1.1",
"flask>=3.0.3",
"jupyter>=1.1.1",
"lapx>=0.5.11",
"opencv-python>=4.10.0.84",
"ultralytics>=8.3.23",
"pytorch-lightning==1.8.6",
"torch<=1.13.1",
"bcolz-zipline",
"prettytable",
"menpo",
"opencv-python",
"net>=2.4",
"ruff>=0.7.3",
"pytubefix>=8.4.1",
]
[tool.mypy]
check_untyped_defs = false
ignore_missing_imports = true
python_version = '3.10'
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"__pycache__",
"venv",
"hackday",
"py/src/services/propose_similar_kpop_idol/AdaFace"
]
line-length = 120
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = ["I", "B", "F", "E"]
ignore = []
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[dependency-groups]
dev = [
"mypy>=1.13.0",
]