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

add mypy to pre-commit config, fix mypy errors #2545

Merged
merged 6 commits into from
Nov 28, 2023

Conversation

mashehu
Copy link
Contributor

@mashehu mashehu commented Nov 28, 2023

No description provided.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c78017b) 74.97% compared to head (1ad27a7) 74.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2545      +/-   ##
==========================================
- Coverage   74.97%   74.93%   -0.05%     
==========================================
  Files          85       85              
  Lines        9215     9215              
==========================================
- Hits         6909     6905       -4     
- Misses       2306     2310       +4     

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

@@ -599,7 +599,7 @@ def remote(ctx, keywords, json):
default=".",
help=r"Pipeline directory. [dim]\[default: Current working directory][/]",
)
def local(ctx, keywords, json, dir): # pylint: disable=redefined-builtin
def modules_list_local(ctx, keywords, json, dir): # pylint: disable=redefined-builtin
Copy link
Member

Choose a reason for hiding this comment

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

should we do these changes for subworkflows too?

mypy.ini Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we have this in pyproject.toml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it felt like it didn't pick it up correctly. let me check again

@mashehu mashehu merged commit ead61f4 into nf-core:dev Nov 28, 2023
20 checks passed
@mashehu mashehu deleted the add-mypy-to-pre-commit branch November 28, 2023 15:50
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