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 lint workflow using pre-commit #55

Merged
merged 7 commits into from
Nov 22, 2022

Conversation

oliverholworthy
Copy link
Member

Motivation

Ensure lint checks running locally with pre-commit are consistent with checks in CI.

Using pre-commit for checks in CI and running on all files, we can ensure that the versions checked locally and in CI are the same.

Details

Add lint workflow using pre-commit

@oliverholworthy oliverholworthy self-assigned this Nov 22, 2022
@oliverholworthy oliverholworthy added this to the Merlin 22.12 milestone Nov 22, 2022
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/dataloader/review/pr-55

Copy link
Member

@benfred benfred left a comment

Choose a reason for hiding this comment

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

lgtm - thanks for this @oliverholworthy !

@@ -19,7 +19,7 @@ repos:
rev: v2.14.1
hooks:
- id: pylint
- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/pycqa/flake8
Copy link
Member

Choose a reason for hiding this comment

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

nice catch - I wonder how the gitlab url got in there (it doesn't even resolve for me?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants