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

Fix lint error #266

Merged
merged 2 commits into from
Jun 8, 2022
Merged

Fix lint error #266

merged 2 commits into from
Jun 8, 2022

Conversation

Charles-Gagnon
Copy link
Contributor

@Charles-Gagnon Charles-Gagnon commented Jun 8, 2022

Turns out that pylint by default doesn't scan all subdirectories - it requires you to specify each module folder (folder with an init.py in it) separately.

pylint-dev/pylint#352

I have no idea why this suddenly started failing (or working depending on how you looked at it...) on Linux though. Possibly some updated version of the package or something for Linux only? Not going to dig into that at this moment though.

Luckily there's a helpful package pylint_runner that will do this for us though so switching to use that instead. Now when I run pylint_runner locally I was able to repro the error and fix it.

(also disabled C0301 - line too long since that isn't something we really need to care about right now)

@Charles-Gagnon Charles-Gagnon merged commit 91f3cb5 into main Jun 8, 2022
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/fixLint branch June 8, 2022 18:21
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.

3 participants