-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (105 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
114 lines (105 loc) · 2.27 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
112
113
114
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[project]
name = "docketanalyzer-ocr"
version = "0.1.9"
authors = [
{ name = "Nathan Dahlberg" },
]
description = "Docket Analyzer OCR Utility"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"dill",
"doclayout_yolo",
"docketanalyzer-core>=0.1.11",
"fastapi",
"huggingface-hub",
"pymupdf",
"runpod",
"surya-ocr",
"uv",
"uvicorn",
]
[project.optional-dependencies]
dev = [
"docketanalyzer-core[dev]>=0.1.11",
]
[tool.hatch.build.targets.wheel]
packages = [
"docketanalyzer_ocr",
]
[tool.hatch.build.targets.sdist]
exclude = [
"*",
"!docketanalyzer_ocr/**",
"!pyproject.toml",
"!README.md",
]
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"UP",
"N",
"SIM",
"PD",
"NPY",
"PTH",
"RUF",
"D",
]
ignore = [
"D100",
"D104",
"N801",
]
[tool.ruff.lint.isort]
known-first-party = [
"docketanalyzer",
"docketanalyzer_core",
"docketanalyzer_pacer",
"docketanalyzer_ocr",
"docketanalyzer_chat",
]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"I001",
"I002",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
addopts = "-ra -q --cov=docketanalyzer_ocr -m 'not cost'"
testpaths = [
"tests",
]
pythonpath = "."
markers = [
"cost: tests that incur real costs when run",
"local: requires credentials only available locally",
]
filterwarnings = [
"ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning",
"ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning",
"ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning",
"ignore:distutils Version classes are deprecated:DeprecationWarning",
"ignore:Support for class-based `config` is deprecated:DeprecationWarning",
"ignore:open_text is deprecated:DeprecationWarning",
"ignore:The `dict` method is deprecated; use `model_dump` instead::",
"ignore:Use 'content=<...>' to upload raw bytes/text content:DeprecationWarning",
]