Skip to content

Add gitignore, py.typed, tool config, and CI test matrix#32

Merged
shranchi0 merged 1 commit into
mainfrom
fix/hardening
Feb 18, 2026
Merged

Add gitignore, py.typed, tool config, and CI test matrix#32
shranchi0 merged 1 commit into
mainfrom
fix/hardening

Conversation

@shranchi0

Copy link
Copy Markdown
Collaborator

Summary

Hardening pass — all additive, no functional changes.

  • .gitignore: add .mypy_cache/, .ruff_cache/, .coverage, htmlcov/ to prevent accidental commits of tool caches and coverage output
  • tame/py.typed: empty PEP 561 marker file so type checkers (mypy, pyright) know this package ships type hints
  • pyproject.toml:
    • Add keywords for PyPI discoverability (terminal, multiplexer, tui, ai, agent, tmux, session, textual)
    • Add [tool.ruff] with target-version = "py311" so IDEs use the same config as CI
    • Add [tool.mypy] with ignore_missing_imports = true so IDEs match CI behavior (and remove the flag from ci.yml)
  • ci.yml: run tests on Python 3.11, 3.12, and 3.13 to match the versions declared in pyproject.toml classifiers

Test plan

  • CI passes on all 3 Python versions (3.11, 3.12, 3.13)
  • Lint, typecheck, and build still pass

- .gitignore: add .mypy_cache/, .ruff_cache/, .coverage, htmlcov/
- tame/py.typed: PEP 561 marker so type checkers know this package
  ships type hints
- pyproject.toml: add keywords for PyPI discoverability, add [tool.ruff]
  and [tool.mypy] sections so IDEs pick up the same settings as CI
- ci.yml: run tests on Python 3.11, 3.12, and 3.13 (matching the
  versions declared in pyproject.toml); move --ignore-missing-imports
  into pyproject.toml [tool.mypy] config
@shranchi0 shranchi0 merged commit f102157 into main Feb 18, 2026
6 checks passed
@shranchi0 shranchi0 deleted the fix/hardening branch February 18, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant