-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
67 lines (56 loc) · 1.57 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
59
60
61
62
63
64
65
66
67
[tool.poetry]
name = "mandown"
version = "1.7.0"
description = "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter"
authors = ["potatoeggy <[email protected]>"]
license = "AGPL-3.0-only"
readme = "README.md"
repository = "https://github.com/potatoeggy/mandown"
documentation = "https://github.com/potatoeggy/mandown"
keywords = ["manga", "comic", "downloader", "download", "webtoons", "webtoon"]
[tool.poetry.scripts]
mandown = "mandown.cli:main"
mandown-gui = "mandown.ui.ui:main"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
typer = "^0.7.0"
feedparser = "^6.0.11"
beautifulsoup4 = "^4.12.2"
requests = "^2.31.0"
lxml = "^5.1.0"
pillow = "^10.2.0"
python-slugify = "^8.0.1"
PySide6 = { version = "^6.6.1", optional = true }
natsort = "^8.4.0"
filetype = "^1.2.0"
comicon = "^1.0.1"
[tool.poetry.group.dev.dependencies]
types-requests = "^2.31.0.20240106"
types-lxml = "^2023.10.21"
pytest-xdist = "^3.5.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
[tool.poetry.extras]
gui = ["PySide6"]
[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", "I", "W"]
ignore = ["B905"]
exclude = ["mandown/ui/*", "build/*"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"mandown/cli.py" = ["B008"]
"tests/*" = ["E501"]
[tool.coverage.run]
concurrency = ["multiprocessing"]
parallel = true
sigterm = true
[tool.pylint.MASTER]
extension-pkg-allow-list = ["lxml", "PySide6"]