Fix pytest version and update CI workflow
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-01-31 22:07:38 +00:00
parent 2768b4c984
commit 111266f579

View File

@@ -1,30 +1,59 @@
[tool.poetry]
[project]
name = "man-card"
version = "1.0.0"
description = "A CLI tool that parses man pages and generates beautiful, printable command reference cards"
authors = ["man-card contributors"]
license = "MIT"
readme = "README.md"
packages = [{include = "man_card"}]
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Man Card Contributors"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["cli", "manpage", "documentation", "reference-card", "terminal"]
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.7"
fpdf2 = "^2.7.5"
Pillow = "^10.1.0"
rich = "^13.7.0"
python-dotenv = "^1.0.0"
dependencies = [
"click>=8.1.7",
"fpdf2>=2.7.5",
"Pillow>=10.1.0",
"rich>=13.7.0",
"python-dotenv>=1.0.0",
]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
[project.optional-dependencies]
dev = [
"pytest>=8.2.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.0",
]
[project.scripts]
man-card = "man_card.cli:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["man_card"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]