94 lines
2.3 KiB
TOML
94 lines
2.3 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "clog"
|
|
version = "0.2.1-alpha"
|
|
description = "Logging as simple as putting on a shoe."
|
|
readme = "README.md"
|
|
requires-python = ">=3.7"
|
|
license = {file = "LICENCE.txt"}
|
|
authors = [
|
|
{name = "Ethan Smith-Coss", email="ethan.sc@closedless.xyz"},
|
|
]
|
|
maintainers = [
|
|
{name = "Ethan Smith-Coss", email="ethan.sc@closedless.xyz"},
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Other Environment",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
"Natural Language :: English",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: System :: Logging",
|
|
"Topic :: Software Development :: Libraries",
|
|
"Topic :: Utilities",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"tox>=4",
|
|
"pytest==7.4.0",
|
|
"pytest-cov==4.1.0",
|
|
"mypy==1.4.1"
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--cov=clog"
|
|
testpaths = [
|
|
"testing",
|
|
]
|
|
|
|
[tool.mypy]
|
|
mypy_path = "."
|
|
check_untyped_defs = true
|
|
disallow_any_generics = true
|
|
ignore_missing_imports = true
|
|
no_implicit_optional = true
|
|
show_error_codes = true
|
|
strict_equality = true
|
|
warn_redundant_casts = true
|
|
warn_return_any = true
|
|
warn_unreachable = true
|
|
warn_unused_configs = true
|
|
no_implicit_reexport = true
|
|
|
|
[tool.tox]
|
|
legacy_tox_ini = """
|
|
[tox]
|
|
minversion >= 4
|
|
skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True}
|
|
env_list =
|
|
py37,
|
|
py38,
|
|
py39,
|
|
py310,
|
|
type,
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
description = run pytest unit tests
|
|
deps =
|
|
pytest==7.4.0,
|
|
pytest-cov==4.1.0,
|
|
commands = python -m pytest {posargs}
|
|
|
|
[testenv:type]
|
|
description = run typing libraries mypy
|
|
deps = mypy==1.4.1
|
|
commands = python -m mypy src/clog
|
|
"""
|
|
|
|
[project.urls]
|
|
Homepage = "https://closedless.xyz"
|
|
Repository = "https://git.closedless.xyz/ClosedLess/clog"
|
|
"Bug Tracker" = "https://git.closedless.xyz/ClosedLess/clog/issues"
|