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 unittest and utils [part V/VI] #974

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

glevco
Copy link
Contributor

@glevco glevco commented Mar 14, 2024

Depends on #973

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.unittest and tests.utils 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

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.03%. Comparing base (466550d) to head (9159491).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #974      +/-   ##
==========================================
- Coverage   85.10%   85.03%   -0.07%     
==========================================
  Files         295      295              
  Lines       22864    22864              
  Branches     3443     3443              
==========================================
- Hits        19459    19443      -16     
- Misses       2720     2729       +9     
- Partials      685      692       +7     

☔ 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 unittest and utils refactor(mypy): add stricter rules to unittest and utils [part V/VI] Mar 14, 2024
@glevco glevco marked this pull request as ready for review March 19, 2024 01:39
@glevco glevco force-pushed the refactor/strict-mypy-4 branch from 5235577 to ef291c0 Compare March 19, 2024 01:45
@glevco glevco force-pushed the refactor/strict-mypy-5 branch from 587695c to f9b553d Compare March 19, 2024 01:46
msbrogli
msbrogli previously approved these changes Mar 19, 2024
tests/unittest.py Show resolved Hide resolved
tests/unittest.py Show resolved Hide resolved
@glevco glevco force-pushed the refactor/strict-mypy-4 branch from ef291c0 to 1a1d5c8 Compare March 19, 2024 18:51
@glevco glevco force-pushed the refactor/strict-mypy-5 branch from f9b553d to e738c92 Compare March 19, 2024 18:51
jansegre
jansegre previously approved these changes Mar 19, 2024
@glevco glevco force-pushed the refactor/strict-mypy-4 branch 2 times, most recently from 1f362af to 20d492d Compare March 20, 2024 18:30
@glevco glevco force-pushed the refactor/strict-mypy-5 branch from e738c92 to e064a09 Compare March 20, 2024 18:33
@glevco glevco force-pushed the refactor/strict-mypy-4 branch 2 times, most recently from 20a973d to b42aa67 Compare March 22, 2024 01:24
Base automatically changed from refactor/strict-mypy-4 to master March 22, 2024 15:57
@glevco glevco dismissed stale reviews from jansegre and msbrogli March 22, 2024 15:57

The base branch was changed.

@glevco glevco force-pushed the refactor/strict-mypy-5 branch from 6ff78af to 650585f Compare March 22, 2024 16:00
@glevco glevco force-pushed the refactor/strict-mypy-5 branch from 650585f to 9159491 Compare March 22, 2024 17:08
@glevco glevco merged commit ded7fef into master Mar 22, 2024
12 checks passed
@glevco glevco deleted the refactor/strict-mypy-5 branch March 22, 2024 19:16
@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