-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (52 loc) · 1.12 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
[project]
name = "arxiv-pdftotext"
version = "0.1.0"
description = "pdftotext and pdf2txt. As a webservice, containerized!"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi",
"google-cloud-storage",
"hypercorn",
"pdfminer-six",
"python-dotenv",
"python-multipart",
]
[tool.uv]
dev-dependencies = [
"ruff",
"pytest",
"requests",
"pre-commit",
"mypy",
"types-requests",
]
[tool.ruff]
line-length = 120
lint.select = [
"F", # Pyflakes
"D", # pydocstyle
"E", # pycodestyle errors
# "W", # pycodestyle warnings
# "C90", # McCabe
"I", # isort
"UP", # pyupgrade
"PLC",
"PLE",
"PLW", # Pylint
# "PLR", # Pylint refactoring
"PD", # pandas checks
"NPY", # numpy checks
"RUF", # ruff internal check
]
lint.ignore = [
"D105", # no docstring in magic method like __str__
"D107", # no docstring in __init__
"D203", # one-blank-line-before-class
"D211", # no-blank-line-before-class
"D213", # multi-line-summary-second-line
]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = 3.12