Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(mypy): add stricter rules to some test modules [part II/VI] #971

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

glevco
Copy link
Contributor

@glevco glevco commented Mar 14, 2024

Depends on #969

Motivation

This PR continues to improve the strictness of mypy in test modules. For more info see the previous PR, #969.

Acceptance Criteria

  • Add stricter mypy rules to some test modules and update them to conform.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Mar 14, 2024
@glevco glevco force-pushed the refactor/strict-mypy-2 branch 2 times, most recently from 59dba5c to 7fb6b30 Compare March 14, 2024 16:53
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.09%. Comparing base (8efb6d4) to head (a9219d6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #971      +/-   ##
==========================================
- Coverage   85.10%   85.09%   -0.02%     
==========================================
  Files         294      294              
  Lines       22797    22798       +1     
  Branches     3434     3434              
==========================================
- Hits        19402    19400       -2     
- Misses       2710     2712       +2     
- Partials      685      686       +1     

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

@glevco glevco changed the title refactor(mypy): add stricter rules to some test modules refactor(mypy): add stricter rules to some test modules [part ii/vi] Mar 14, 2024
@glevco glevco changed the title refactor(mypy): add stricter rules to some test modules [part ii/vi] refactor(mypy): add stricter rules to some test modules [part II/VI] Mar 14, 2024
@glevco glevco marked this pull request as ready for review March 19, 2024 00:50
msbrogli
msbrogli previously approved these changes Mar 19, 2024
tests/consensus/test_soft_voided4.py Outdated Show resolved Hide resolved
tests/event/test_base_event.py Show resolved Hide resolved
tests/pubsub/test_pubsub.py Show resolved Hide resolved
@glevco glevco force-pushed the refactor/strict-mypy branch from 27011cb to 0f107df Compare March 19, 2024 16:29
@glevco glevco force-pushed the refactor/strict-mypy-2 branch from 7fb6b30 to edd547e Compare March 19, 2024 16:32
@glevco glevco force-pushed the refactor/strict-mypy branch from 0f107df to 0d3deb6 Compare March 19, 2024 18:50
@glevco glevco force-pushed the refactor/strict-mypy-2 branch from eea7f83 to 0fafa35 Compare March 19, 2024 18:51
Base automatically changed from refactor/strict-mypy to master March 19, 2024 20:50
@glevco glevco dismissed msbrogli’s stale review March 19, 2024 20:50

The base branch was changed.

msbrogli
msbrogli previously approved these changes Mar 19, 2024
jansegre
jansegre previously approved these changes Mar 19, 2024
tests/crypto/test_util.py Outdated Show resolved Hide resolved
@glevco glevco dismissed stale reviews from jansegre and msbrogli March 20, 2024 01:48

The merge-base changed after approval.

@glevco glevco force-pushed the refactor/strict-mypy-2 branch from 0fafa35 to 6613e62 Compare March 20, 2024 01:48
@glevco glevco force-pushed the refactor/strict-mypy-2 branch from 2c62ee4 to 189f48c Compare March 20, 2024 13:48
@glevco glevco force-pushed the refactor/strict-mypy-2 branch from 189f48c to a9219d6 Compare March 20, 2024 14:41
@glevco glevco merged commit 53e837f into master Mar 20, 2024
12 checks passed
@glevco glevco deleted the refactor/strict-mypy-2 branch March 20, 2024 15:36
@jansegre jansegre mentioned this pull request Apr 5, 2024
2 tasks
@jansegre jansegre mentioned this pull request May 8, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants