CI / test (push) Failing after 6m11s
- receipt_tui.py: Textual terminal UI (tui subcommand), optional [tui] extra - tests/: pytest suite for CLI and TUI using fakes; no hardware needed - pyproject.toml: packaging with dev/tui extras, ruff config - GitHub Actions CI running ruff and pytest - Rename connect_recipt.sh -> connect_receipt.sh - CLAUDE.md project instructions; README updates Co-Authored-By: Claude Fable 5 <[email protected]>
41 lines
743 B
TOML
41 lines
743 B
TOML
[project]
|
|
name = "receipt-maker"
|
|
version = "1.0.0"
|
|
description = "Print images and text notes to an Epson TM-T20II thermal receipt printer"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"python-escpos>=3.0",
|
|
"Pillow>=10.0",
|
|
"requests>=2.31",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
tui = [
|
|
"textual>=1.0",
|
|
]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"ruff>=0.4",
|
|
"textual>=1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
receipt = "receipt:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["receipt", "receipt_tui"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|