Update to full command-line.
This commit is contained in:
@@ -1,46 +1,55 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
[tool.poetry]
|
||||
name = "manga-scan-fetcher"
|
||||
version = "0.0.1"
|
||||
authors = [
|
||||
{ name = "Mikaël Capelle", email = "capelle.mikael@gmail.com" },
|
||||
]
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
requires-python = ">=3.10"
|
||||
license = { text = "MIT" }
|
||||
classifiers = [
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"License :: MIT",
|
||||
]
|
||||
dependencies = [
|
||||
"img2pdf",
|
||||
"Pillow",
|
||||
"bs4"
|
||||
]
|
||||
authors = ["Mikaël Capelle <capelle.mikael@gmail.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
packages = [{ "include" = "holt59", from = "src" }]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"black",
|
||||
"flake8",
|
||||
"flake8-black",
|
||||
"flake8-pyproject",
|
||||
"mypy",
|
||||
"pytest",
|
||||
"isort",
|
||||
"types-beautifulsoup4",
|
||||
"types-Pillow"
|
||||
]
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[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"
|
||||
[tool.flake8]
|
||||
max-line-length = 88
|
||||
# See https://github.com/PyCQA/pycodestyle/issues/373
|
||||
extend-ignore = ['E203', 'E231']
|
||||
|
||||
[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"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
||||
@@ -48,7 +57,16 @@ multi_line_output = 3
|
||||
[tool.mypy]
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
check_untyped_defs = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = "img2pdf.*"
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
|
||||
[tool.pyright]
|
||||
exclude = ["lib", "**/.*", "venv", "build"]
|
||||
typeCheckingMode = "strict"
|
||||
|
Reference in New Issue
Block a user