Initial commit.
This commit is contained in:
60
pyproject.toml
Normal file
60
pyproject.toml
Normal file
@@ -0,0 +1,60 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "manga-scan-fetcher"
|
||||
version = "0.0.1"
|
||||
authors = [
|
||||
{ name = "Mikaël Capelle", email = "capelle.mikael@gmail.com" },
|
||||
]
|
||||
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"
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"black",
|
||||
"flake8",
|
||||
"flake8-black",
|
||||
"flake8-pyproject",
|
||||
"mypy",
|
||||
"pytest",
|
||||
"isort",
|
||||
"types-beautifulsoup4",
|
||||
"types-Pillow"
|
||||
]
|
||||
|
||||
[tool.flake8]
|
||||
max-line-length = 88
|
||||
# See https://github.com/PyCQA/pycodestyle/issues/373
|
||||
extend-ignore = ['E203', 'E231']
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
||||
|
||||
[tool.mypy]
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = "img2pdf.*"
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pyright]
|
||||
# reportUnknownVariableType = false
|
||||
# reportMissingTypeStubs = false
|
||||
# reportUnknownMemberType = false
|
||||
# reportUnknownArgumentType = false
|
Reference in New Issue
Block a user