You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spiel/pyproject.toml

88 lines
1.9 KiB
TOML

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
3 years ago
name = "spiel"
version = "0.3.0"
description = "A framework for building and presenting richly-styled presentations in your terminal using Python."
readme="README.md"
homepage="https://github.com/JoshKarpel/spiel"
documentation="https://spiel.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: Python :: 3.10",
"Topic :: Multimedia :: Graphics :: Presentation",
"Typing :: Typed"]
authors = ["JoshKarpel <josh.karpel@gmail.com>"]
license = "MIT"
include = ["py.typed", "demo/*"]
[tool.poetry.dependencies]
python = ">=3.10,<4"
2 years ago
rich = ">=12"
typer = ">=0.6"
watchdog = ">=2"
pendulum = ">=2"
Pillow = ">=8"
tomli = ">=2"
tomli-w = ">=1"
2 years ago
ipython = ">=7"
ipykernel = ">=5"
[tool.poetry.dev-dependencies]
pytest = ">=6"
pytest-watch = ">=4"
pytest-cov = ">=3"
pytest-xdist = ">=2"
mypy = ">=0.961"
pytest-mypy = ">=0.8"
pytest-mock = ">=3"
hypothesis = ">=6"
[tool.poetry.scripts]
3 years ago
spiel = 'spiel.main:app'
[tool.black]
line-length = 100
target-version = ["py39", "py310"]
include = "\\.pyi?$"
[tool.isort]
profile = "black"
line_length = 100
[tool.pycln]
all = true
[tool.pytest.ini_options]
addopts = ["--strict-markers", "--mypy", "-n", "auto"]
testpaths = ["tests", "spiel"]
3 years ago
norecursedirs = ["demo"]
[tool.mypy]
pretty = false
show_error_codes = true
files = ["spiel/*.py", "tests/*.py"]
exclude = "demo/"
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
disallow_any_generics = true
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
warn_redundant_casts = true
ignore_missing_imports = true