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

Adding basic pylint #546

Merged
merged 11 commits into from
Dec 22, 2022
Merged

Adding basic pylint #546

merged 11 commits into from
Dec 22, 2022

Conversation

grafnu
Copy link
Collaborator

@grafnu grafnu commented Dec 21, 2022

No description provided.

@grafnu grafnu marked this pull request as ready for review December 21, 2022 00:02
bin/test_pylint Outdated Show resolved Hide resolved
bin/test_pylint Outdated Show resolved Hide resolved
@grafnu
Copy link
Collaborator Author

grafnu commented Dec 21, 2022 via email

@noursaidi
Copy link
Collaborator

If the current lint errors are resolved or ignored, then there is no need for the golden test_pylint.txt and the need to add any python files into the list. The CI check becomes for any lint errors.

I have resolved most pylint errors, can PR into this?

@grafnu
Copy link
Collaborator Author

grafnu commented Dec 21, 2022 via email

Copy link
Collaborator

@johnrandolph johnrandolph left a comment

Choose a reason for hiding this comment

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

Please add to bin/precheck

@noursaidi
Copy link
Collaborator

grafnu#4 resolves the pylint errors (combination of actually fixing, ignoring errors with good reason, or skipping (bin/test_py).

Also suggest the pylintrc is named .pylintrc in the root directory, then it's picked up automatically by pylint or an IDE on the users machine

@grafnu grafnu merged commit 9e2f47d into faucetsdn:master Dec 22, 2022
@grafnu grafnu deleted the pylint branch December 22, 2022 17: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.

None yet

3 participants