-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
94 lines (80 loc) · 1.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "thebraincollector"
version = "0.1.0.1"
description = "A tool to scan Android devices for ML model weight files via ADB"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
]
dependencies = [
"colorama>=0.4.0",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"hatch",
]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-asyncio",
"hypothesis",
]
lint = [
"ruff",
"mypy",
]
cli = [
"click>=8.0",
]
all = ["thebraincollector[dev,test,lint,cli]"]
[project.scripts]
tbc = "tbc.__main__:main"
[project.urls]
Homepage = "https://github.com/dclavijo/TBC"
Repository = "https://github.com/dclavijo/TBC"
Issues = "https://github.com/dclavijo/TBC/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/tbc"]
[tool.hatch.build.targets.sdist]
include = ["src/tbc"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "ANN", "TCH", "N", "C4", "ARG"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short --cov=src --cov-fail-under=80"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude = ["tests/*", "*/__init__.py"]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]