Skip to content

feat: add PEP 561 type support and tighten public API - #25

Merged
Nibblex merged 2 commits into
mainfrom
dev
Jun 9, 2026
Merged

feat: add PEP 561 type support and tighten public API#25
Nibblex merged 2 commits into
mainfrom
dev

Conversation

@Nibblex

@Nibblex Nibblex commented Jun 9, 2026

Copy link
Copy Markdown
Owner
  • Add relattrs/py.typed marker so installed package ships type hints
  • Declare py.typed as package data in pyproject.toml
  • Add all to define the public API
  • Raise TypeError when rgetattr receives more than one default
  • Expand ruff lint rules (E, F, W, UP, B) and bump pyupgrade to py38-plus
  • Bump version to 1.1.0

- Add relattrs/py.typed marker so installed package ships type hints
- Declare py.typed as package data in pyproject.toml
- Add __all__ to define the public API
- Raise TypeError when rgetattr receives more than one default
- Expand ruff lint rules (E, F, W, UP, B) and bump pyupgrade to py38-plus
- Bump version to 1.1.0

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
relattrs/__init__.py 100.00% <100.00%> (ø)
tests/tests.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Nibblex
Nibblex merged commit b63309f into main Jun 9, 2026
10 checks passed
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