manga-scans-fetcher/pyproject.toml

73 lines
1.5 KiB
TOML
Raw Normal View History

2024-04-13 09:59:34 +00:00
[tool.poetry]
2023-06-24 09:07:39 +00:00
name = "manga-scan-fetcher"
2024-04-13 09:59:34 +00:00
version = "0.1.0"
2023-06-24 09:07:39 +00:00
description = ""
2024-04-13 09:59:34 +00:00
authors = ["Mikaël Capelle <capelle.mikael@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{ "include" = "holt59", from = "src" }]
2023-06-24 09:07:39 +00:00
2024-04-13 09:59:34 +00:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
2023-06-24 09:07:39 +00:00
2024-04-13 09:59:34 +00:00
[tool.poetry.dependencies]
python = "^3.10"
img2pdf = "^0.5.1"
pillow = "^10.3.0"
bs4 = "^0.0.2"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.25.0"
black = "^24.3.0"
flake8 = "^7.0.0"
flake8-black = "^0.3.6"
mypy = "^1.9.0"
pyright = "^1.1.358"
ruff = "^0.3.7"
types-beautifulsoup4 = "^4.12.0.20240229"
types-pillow = "^10.2.0.20240406"
2023-06-24 09:07:39 +00:00
[tool.flake8]
max-line-length = 88
# See https://github.com/PyCQA/pycodestyle/issues/373
extend-ignore = ['E203', 'E231']
2024-04-13 09:59:34 +00:00
[tool.poetry.scripts]
manga-scan = "holt59.scans.__main__:main"
[tool.poe.tasks]
lint-black = "black --check --diff src typings"
lint-isort = "isort -c src typings"
lint-mypy = "mypy src typings"
lint-ruff = "ruff check src typings"
lint-pyright = "pyright src typings"
lint-all.sequence = [
"lint-black",
"lint-isort",
"lint-mypy",
"lint-ruff",
"lint-pyright",
]
lint-all.ignore_fail = "return_non_zero"
2023-06-24 09:07:39 +00:00
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
2024-04-13 09:59:34 +00:00
check_untyped_defs = true
2023-06-24 09:07:39 +00:00
[[tool.mypy.overrides]]
module = "img2pdf.*"
ignore_missing_imports = true
2024-04-13 09:59:34 +00:00
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.pyright]
exclude = ["lib", "**/.*", "venv", "build"]
typeCheckingMode = "strict"