-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (97 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (97 loc) · 2.13 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "roottrace"
version = "0.1.0"
description = "Local-first OSINT intake and evidence packaging service"
authors = [
{ name = "RootTrace Team" }
]
readme = "README.md"
requires-python = "==3.11.*"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3.11",
"Framework :: FastAPI",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
keywords = ["osint", "forensics", "local-first", "evidence"]
dependencies = [
"fastapi==0.115.2",
"uvicorn[standard]==0.23.2",
"sqlalchemy==2.0.21",
"alembic==1.12.1",
"pydantic==2.5.3",
"pydantic-settings==2.0.3",
"python-multipart==0.0.6",
"pdfminer.six==20221105",
"exifread==3.0.0",
"ImageHash==4.3.1",
"Pillow==10.0.1",
"pytesseract==0.3.10",
"filetype==1.2.0",
"requests==2.31.0",
"python-dateutil==2.8.2",
"orjson==3.9.10"
]
[project.optional-dependencies]
cli = ["typer==0.9.0"]
[project.urls]
Homepage = "https://example.com/roottrace"
[tool.setuptools.packages.find]
where = ["."]
include = ["roottrace*"]
[tool.ruff]
line-length = 100
exclude = ["alembic"]
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"UP",
"S",
"B",
"TID",
"C4",
"RUF",
"PTH"
]
ignore = ["S101", "B008"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
strict = true
plugins = ["pydantic.mypy"]
explicit_package_bases = true
mypy_path = "./"
[[tool.mypy.overrides]]
module = ["PIL", "PIL.*", "pytesseract", "exifread", "filetype"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["imagehash", "imagehash.*"]
ignore_missing_imports = true
follow_imports = "skip"
ignore_errors = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra --cov=roottrace --cov-report=term-missing"
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.run]
branch = true
source = ["roottrace"]
[tool.coverage.report]
omit = [
"tests/*",
"alembic/*"
]
show_missing = true
precision = 2
[tool.pip-audit]
require-hashes = false
[tool.semgrep]
config = ["p/ci"]