marshmallow-generic/pyproject.toml
2023-03-09 12:23:35 +01:00

100 lines
2.0 KiB
TOML

#####################
# Python packaging: #
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "marshmallow-generic"
description = "Generic schema with full typing support and minimal boilerplate"
authors = [
{ name = "Daniil Fajnberg", email = "mail@daniil.fajnberg.de" },
]
maintainers = [
{ name = "Daniil Fajnberg", email = "mail@daniil.fajnberg.de" },
]
requires-python = ">=3.9, <4.0"
keywords = [
]
license = { text = "Apache Software License Version 2.0" }
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
# "Intended Audience :: Developers",
# "Framework :: AsyncIO",
# "Topic :: Internet",
]
dynamic = [
"dependencies",
"readme",
"version",
]
[project.optional-dependencies]
full = [
]
dev = [
"black",
"build",
"coverage",
"flake8",
"mkdocs-material",
"mkdocstrings[python]",
"mypy",
]
[project.urls]
repository = "https://github.com/daniil-berg/marshmallow-generic"
bug_tracker = "https://github.com/daniil-berg/marshmallow-generic/issues"
documentation = "http://daniil-berg.github.io/marshmallow-generic"
[tool.setuptools.dynamic]
dependencies = { file = "requirements/common.txt" }
readme = { file = ["README.md"] }
version = {attr = "marshmallow_generic.__version__"}
#########
# Mypy: #
[tool.mypy]
files = "src/"
warn_unused_configs = true
strict = true
show_error_codes = true
plugins = [
]
#############
# Coverage: #
[tool.coverage.run]
source = [
"src/",
]
branch = true
command_line = "-m tests"
omit = [
".venv*/*",
]
[tool.coverage.report]
show_missing = true
skip_covered = false
exclude_lines = [
"if TYPE_CHECKING:",
'''if __name__ == ['"]__main__['"]:''',
"@overload",
]
omit = [
"tests/*",
]