-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
47 lines (39 loc) · 1.11 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
[tool.poetry]
name = "noveldown"
version = "1.3.1"
description = "Webnovel downloader and EPUB converter"
authors = ["potatoeggy <eggyrules@gmail.com>"]
license = "LGPL-3.0-only"
readme = "README.md"
repository = "https://github.com/potatoeggy/noveldown"
documentation = "https://github.com/potatoeggy/noveldown"
keywords = ["novel", "epub", "webnovel", "download"]
[tool.poetry.scripts]
noveldown = "noveldown.cli:main"
[tool.poetry.dependencies]
python = ">=3.10"
requests = "^2.32.3"
beautifulsoup4 = "^4.12.3"
lxml = "^5.3.0"
EbookLib = "^0.18.0"
typer = "^0.7.0"
httpx = "^0.27.2"
filetype = "^1.2.0"
[tool.poetry.group.dev.dependencies]
types-requests = "^2.32.0.20240914"
types-beautifulsoup4 = "^4.12.0.20240907"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
mccabe.max-complexity = 18
select = ["B", "C", "E", "F", "W", "B9"]
ignore = ["E203", "E266", "E501", "B905"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"tests/*" = ["E501"]