Skip to content

Pylint and RTD update patch, and other fixes #15

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

Merged
merged 4 commits into from
Nov 10, 2021
Merged

Pylint and RTD update patch, and other fixes #15

merged 4 commits into from
Nov 10, 2021

Conversation

tekktrik
Copy link
Member

@tekktrik tekktrik commented Nov 10, 2021

  • Adds pylint and readthedocs patch
  • Disables unspecified-encoding for pylint
  • Removes pylint_tests hook

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

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

@tekktrik Please change the min-similarity-lines= to 4 in the .pylintrc file. I believe this will cause it to fail. Please see below for what to do IF and ONLY IF the PR fails after making this change.

- id: pylint_examples
name: pylint (examples code)
args:
- --disable=consider-using-f-string
Copy link
Contributor

Choose a reason for hiding this comment

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

If the PR fails on duplicate code, please update this line to the following.

Suggested change
- --disable=consider-using-f-string
- --disable=consider-using-f-string,duplicate-code

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh I missed that, good catch!

Will disable duplicate code if this causes the CI to fail
@tekktrik tekktrik changed the title Patch fix Pylint and RTD update patch, and other fixes Nov 10, 2021
@tekktrik tekktrik requested a review from kattni November 10, 2021 23:03
@tekktrik
Copy link
Member Author

Didn't need to disable duplicate code

@kattni kattni merged commit c91dadc into adafruit:main Nov 10, 2021
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