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

Tighten up mypy config #5237

Merged
merged 1 commit into from
Dec 23, 2020
Merged

Tighten up mypy config #5237

merged 1 commit into from
Dec 23, 2020

Conversation

alanhdu
Copy link
Contributor

@alanhdu alanhdu commented Dec 22, 2020

This updates the mypy config with some helpful flags:

  • show_error_codes -- this makes it easier to # type: ignore[error-code], which limits the blast radius of any given ignore comment
  • warn_redundant_casts and warn_unused_ignores notify you when type work-arounds are no longer needed
  • warn_unused_configs -- this helps catch potential typos in the mypy configuration.

@codecov
Copy link

codecov bot commented Dec 22, 2020

Codecov Report

Merging #5237 (cccf517) into master (43f73fd) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #5237   +/-   ##
======================================
  Coverage      93%     93%           
======================================
  Files         134     134           
  Lines        9932    9932           
======================================
  Hits         9246    9246           
  Misses        686     686           

@Borda Borda added the ci Continuous Integration label Dec 22, 2020
@Borda Borda added this to the 1.1.x milestone Dec 22, 2020
@rohitgr7 rohitgr7 merged commit 9a3c035 into Lightning-AI:master Dec 23, 2020
@Borda Borda added the ready PRs ready to be merged label Dec 23, 2020
Borda pushed a commit that referenced this pull request Dec 23, 2020
Borda pushed a commit that referenced this pull request Dec 29, 2020
Borda pushed a commit that referenced this pull request Jan 4, 2021
Borda pushed a commit that referenced this pull request Jan 4, 2021
Borda pushed a commit that referenced this pull request Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants