Skip to content

crashdb_impl: add type annotations to memory backend - #636

Open
Arnab-atra wants to merge 7 commits into
canonical:mainfrom
Arnab-atra:typing-memory-cleanup
Open

crashdb_impl: add type annotations to memory backend#636
Arnab-atra wants to merge 7 commits into
canonical:mainfrom
Arnab-atra:typing-memory-cleanup

Conversation

@Arnab-atra

Copy link
Copy Markdown

Summary

This pull request adds type annotations to apport/crashdb_impl/memory.py.

Changes

  • Add type annotations throughout the module.
  • Replace the explicit base class constructor call with super().
  • Minor formatting improvements.
  • No functional behavior changes.

Verification

I verified the changes with:

  • python -m py_compile apport/crashdb_impl/memory.py
  • ruff check apport/crashdb_impl/memory.py
  • black --check apport/crashdb_impl/memory.py
  • mypy apport/crashdb_impl/memory.py

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.49%. Comparing base (2eacb11) to head (72726bc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #636   +/-   ##
=======================================
  Coverage   84.48%   84.49%           
=======================================
  Files         106      106           
  Lines       21018    21019    +1     
  Branches     3195     3195           
=======================================
+ Hits        17758    17760    +2     
  Misses       2785     2785           
+ Partials      475      474    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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