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

[mypy, coverage] Complete Type Checking for the Project and updates to Coverage configuration #324

Merged
merged 108 commits into from
May 31, 2023

Conversation

R7L208
Copy link
Contributor

@R7L208 R7L208 commented Apr 28, 2023

This PR includes:

  • changes required to pass type checks for mypy
  • updated GH workflow test.yml to enforce type checking moving forward on push and pull_request
  • new unit tests to compensate for the drop in coverage, hitting 87% coverage now
  • update tox and GH Actions to use coverage combine to produce a .coverage file when running in parallel-mode

Lorin Dawson and others added 30 commits April 19, 2023 15:32
importing semver in setup caused an error bc it was being imported before requirements file could install it
this matches the actual env name since type was renamed to type-check
flake8 was returning different results locally in virtual env and using tox. This is because the configuration in tox.ini takes precedence over the .flake8 config file. In addition, flake8 no longer supports a global config file after version 4
Lorin Dawson added 24 commits May 1, 2023 09:54
parallel mode uses system info to not conflict with other reports
@R7L208 R7L208 changed the title [mypy, coverage] Complete Type Checking for the Project and Exclude test files from Coverage Report [mypy, coverage] Complete Type Checking for the Project and updates to Coverage configuration May 2, 2023
Copy link
Contributor

@tnixon tnixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tnixon tnixon merged commit cabe0c4 into master May 31, 2023
@tnixon tnixon deleted the pass-mypy-checks branch May 31, 2023 22:31
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