manga-dlp/pyproject.toml

110 lines
2.4 KiB
TOML
Raw Normal View History

2022-06-22 12:48:18 +02:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
2022-06-21 12:52:09 +02:00
[project]
2022-06-22 22:31:45 +02:00
version = "2.1.8"
2022-06-21 12:52:09 +02:00
name = "manga-dlp"
description = "A cli manga downloader"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
2022-06-22 12:48:18 +02:00
authors = [
{ name = "Ivan Schaller", email = "ivan@schaller.sh" },
]
2022-06-21 12:52:09 +02:00
keywords = [
"manga",
"downloader",
"mangadex",
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"requests>=2.24.0",
]
[project.urls]
Homepage = "https://github.com/olofvndrhr/manga-dlp"
History = "https://github.com/olofvndrhr/manga-dlp/commits/master"
Tracker = "https://github.com/olofvndrhr/manga-dlp/issues"
Source = "https://github.com/olofvndrhr/manga-dlp"
[project.scripts]
2022-06-22 19:37:34 +02:00
mangadlp = "mangadlp.input:main"
manga-dlp = "mangadlp.input:main"
2022-06-21 12:52:09 +02:00
2022-06-25 14:29:09 +02:00
[tool.hatch.build]
ignore-vcs = true
[tool.hatch.build.targets.sdist]
include = ["mangadlp"]
exclude = [
"docker",
".tox",
".mypy_cache"
]
[tool.hatch.build.targets.wheel]
include = ["mangadlp"]
exclude = [
"docker",
".tox",
".mypy_cache"
]
2022-06-21 12:52:09 +02:00
[tool.isort]
py_version = 39
skip_gitignore = true
line_length = 88
profile = "black"
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
[tool.mypy]
python_version = "3.9"
disallow_untyped_defs = false
follow_imports = "normal"
ignore_missing_imports = true
warn_no_return = false
warn_unused_ignores = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
2022-06-21 13:42:30 +02:00
pretty = true
2022-06-21 12:52:09 +02:00
2022-06-25 14:29:09 +02:00
[tool.pytest.ini_options]
pythonpath = [
"."
]
2022-06-21 12:52:09 +02:00
[tool.coverage.run]
source = ["mangadlp"]
branch = true
2022-06-26 15:36:56 +02:00
command_line = "-m pytest --exitfirst"
2022-06-21 12:52:09 +02:00
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about missing debug-only code:
"def __repr__",
"if self.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc.)?abstractmethod",
]
ignore_errors = true