-
Notifications
You must be signed in to change notification settings - Fork 14
chore: fix linting issues to allow upgrade to super-linterv6 #38
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
chore: fix linting issues to allow upgrade to super-linterv6 #38
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ 🚢
@jmeridth Are these linting errors with isort something that V6 of the super linter looks at differently? |
0cf6771
to
472e461
Compare
@zkoppert linting passed. This is with super-linter v5 though, like you pointed out. Maybe I make the upgrade as part of this PR and see what happens. 🤔 |
472e461
to
c9e5c69
Compare
oK. Going to fix these new linting issues. |
f29e44d
to
9d3eced
Compare
Even after adding the Looks like we have to explicitly tell super-linter where to find the |
907ccb9
to
46c52a1
Compare
- [x] add skips for checkov - can't add user due to needing root access [context](github/stale-repos#103) - add health check endpoint - not there yet - [x] move flake8 arguments from Makefile into .github/linters/.flake8 config file - use .flake8 config in Makefile - [x] move .pylintrc from root to .github/linters/.pylintrc so superlinter uses it - rename file to .python-lint (default that superlinter looks for) - [x] add missing --- at top of stale.yml github action (makes warning happy) - [x] update super-linter to v6 - [x] update README with permissions best practices in examples there might be a few other linting errors, but I'm not able to recreate locally currently Signed-off-by: jmeridth <jmeridth@gmail.com>
46c52a1
to
4dfccdf
Compare
Ok. That was painful. I realized we had this passing in github.com/github/stale-repos. I borrowed it's @zkoppert this is good to merge IMO. and we can close #19 if it doesn't auto-close. |
Generally I think we will catch import errors in our testing so I'm not too stressed about it but it would be nice if this stuff would work as advertised. 😓 |
The super-linter arm64 progress seems to be going well. Eventually we'll just run it in a container locally and match the action. Goals and dreams. Goals and dreams. |
Closes #19
Pull Request
Proposed Changes
Fixes based on the following errors:
Readiness Checklist
Author/Contributor
make lint
and fix any issues that you have introducedmake test
and ensure you have test coverage for the lines you are introducingReviewer
bug
,documentation
,enhancement
,infrastructure
, orbreaking