[tool.poetry] name = "manga-scan-fetcher" version = "0.1.0" description = "" authors = ["Mikaƫl Capelle "] license = "MIT" readme = "README.md" packages = [{ "include" = "holt59", from = "src" }] [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] format-imports = "ruff check --select I src typings --fix" format-ruff = "ruff format src typings" format.sequence = ["format-imports", "format-ruff"] lint-ruff = "ruff check src typings" lint-ruff-format = "ruff format --check src typings" lint-pyright = "pyright src typings" lint.sequence = ["lint-ruff", "lint-ruff-format", "lint-pyright"] lint.ignore_fail = "return_non_zero" [tool.isort] profile = "black" 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.ruff.lint] extend-select = ["B", "Q", "I"] [tool.pyright] exclude = ["lib", "**/.*", "venv", "build"] typeCheckingMode = "strict"