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 more test modules [part III/VI] #972

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

glevco
Copy link
Contributor

@glevco glevco commented Mar 14, 2024

Depends on #971

Motivation

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

Acceptance Criteria

  • Add stricter mypy rules to tests.simulation module and update it 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 from 4469614 to 59dba5c Compare March 14, 2024 16:41
@glevco glevco force-pushed the refactor/strict-mypy-3 branch from ce34601 to 21bdd94 Compare March 14, 2024 16:42
@glevco glevco force-pushed the refactor/strict-mypy-2 branch from 59dba5c to 7fb6b30 Compare March 14, 2024 16:53
@glevco glevco force-pushed the refactor/strict-mypy-3 branch from 21bdd94 to 6e1595f Compare March 14, 2024 16:54
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.07%. Comparing base (53e837f) to head (5b95253).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #972      +/-   ##
==========================================
+ Coverage   85.05%   85.07%   +0.02%     
==========================================
  Files         294      294              
  Lines       22798    22798              
  Branches     3434     3434              
==========================================
+ Hits        19391    19396       +5     
+ Misses       2720     2714       -6     
- Partials      687      688       +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 more test modules refactor(mypy): add stricter rules to more test modules [part III/VI] Mar 14, 2024
@glevco glevco marked this pull request as ready for review March 19, 2024 00:53
msbrogli
msbrogli previously approved these changes Mar 19, 2024
tests/unittest.py Show resolved Hide resolved
@glevco glevco force-pushed the refactor/strict-mypy-2 branch 2 times, most recently from eea7f83 to 0fafa35 Compare March 19, 2024 18:51
@glevco glevco force-pushed the refactor/strict-mypy-3 branch from 6e1595f to 2bea84c Compare March 19, 2024 18:51
jansegre
jansegre previously approved these changes Mar 19, 2024
@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-3 branch from 2bea84c to 639d981 Compare March 20, 2024 02:26
@glevco glevco force-pushed the refactor/strict-mypy-2 branch 2 times, most recently from 189f48c to a9219d6 Compare March 20, 2024 14:41
Base automatically changed from refactor/strict-mypy-2 to master March 20, 2024 15:36
@glevco glevco dismissed stale reviews from jansegre and msbrogli March 20, 2024 15:36

The base branch was changed.

@glevco glevco force-pushed the refactor/strict-mypy-3 branch from 639d981 to 5b95253 Compare March 20, 2024 15:38
@glevco glevco merged commit a715e0b into master Mar 20, 2024
12 checks passed
@glevco glevco deleted the refactor/strict-mypy-3 branch March 20, 2024 18:26
@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