Skip to content

chore: add typing, enable additional mypy checks#1514

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
Rotzbua:chore_type_mypy
Feb 10, 2025
Merged

chore: add typing, enable additional mypy checks#1514
bdraco merged 1 commit into
python-zeroconf:masterfrom
Rotzbua:chore_type_mypy

Conversation

@Rotzbua
Copy link
Copy Markdown
Contributor

@Rotzbua Rotzbua commented Feb 10, 2025

Changes

  • add types to def _eq(self, other)
  • enable additional mypy checks
  • no_implicit_optional = true is default since mypy v1 and could be removed.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.79%. Comparing base (c9aa899) to head (9d7b47b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1514   +/-   ##
=======================================
  Coverage   99.79%   99.79%           
=======================================
  Files          33       33           
  Lines        3382     3382           
  Branches      459      459           
=======================================
  Hits         3375     3375           
  Misses          5        5           
  Partials        2        2           

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

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Feb 10, 2025

CodSpeed Performance Report

Merging #1514 will not alter performance

Comparing Rotzbua:chore_type_mypy (9d7b47b) with master (c9aa899)

Summary

✅ 6 untouched benchmarks

@bdraco
Copy link
Copy Markdown
Member

bdraco commented Feb 10, 2025

Thanks @Rotzbua

@bdraco bdraco merged commit e429d66 into python-zeroconf:master Feb 10, 2025
@Rotzbua Rotzbua deleted the chore_type_mypy branch February 10, 2025 19:12
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.

2 participants