-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (45 loc) · 1.07 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
[project]
name = "papers-downloader"
version = "0"
requires-python = ">=3.12"
dependencies = [
"alive-progress~=3.2.0",
"attrs~=24.3.0",
"diskcache2~=0.1.1",
"fake-useragent~=2.0.3",
"fastapi~=0.115.5",
"mistune~=3.0.2",
"niquests~=3.11.0",
"numpy~=2.2.0",
"parsel~=1.9.1",
"pydantic-settings~=2.7.0",
"python-slugify~=8.0.4",
"qdrant-client~=1.12.1",
"ruff~=0.8.0",
"uvicorn~=0.34.0",
"watchfiles~=1.0.0",
]
[tool.ruff]
preview = true
line-length = 200
[tool.ruff.lint]
extend-select = [
"F", # flake8
"I", # isort
"N", # pep8-naming
"W", # pycodestyle
"UP", # pyupgrade
"TRY", # tryceratops
"RUF", # ruff
"FURB", # refurb
"C4", # flake8-comprehensions
"ARG", # flake8-unused-arguments
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"RSE", # flake8-raise
"SIM", # flake8-simplify
"SLF", # flake8-self
]
[tool.m.aliases]
dev = "uvicorn server:app --reload --host localhost"
fmt = { cmd = "ruff format && ruff check --fix --show-fixes", shell = true }