Skip to content

Conversation

@MatthewCane
Copy link
Owner

@MatthewCane MatthewCane commented Aug 8, 2025

Summary

Closes #166

Add a [tool.mypy] configuration to pyproject.toml with sensible defaults and stricter overrides for public-facing modules (python_ntfy.client, python_ntfy.__init__). This enforces annotations where it matters most, without blocking internal helpers.

Details

  • Global mypy defaults: keep untyped defs allowed for now
  • Overrides: disallow_untyped_defs = true, disallow_incomplete_defs = true for public modules
  • Verified via just mypy and just check

Test plan

  • Run just mypy — should pass
  • Run just check — lint and format checks should pass

@MatthewCane MatthewCane merged commit 8decbba into main Aug 8, 2025
2 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.

Configure mypy behavior in pyproject.toml

2 participants