-
Notifications
You must be signed in to change notification settings - Fork 254
CI: add Python linter #1349
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
CI: add Python linter #1349
Conversation
ikerexxe
commented
Sep 2, 2025
- Add rules for linters
- Fix existing Python linter issues
- Add Python linters to CI
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Fix issues reported by flake8, pycodestyle, isort, black and mypy. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Fix issues reported by flake8, pycodestyle, isort, black and mypy. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Add flake8, pycodestyle, isort, black and mypy in CI for Python linting. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
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.
Very nice
+1
|
@alejandro-colomar do you mind taking a look? I'm fine with both a full review or just an approval so that I can merge this work. |
I had a look at it some days ago. I love the idea of the PR. But I have no clue of the changes (again, the problem is Python). I was hoping that @hallyn would have a look at it. I can approve it, though; I don't mind. |
alejandro-colomar
left a comment
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.
Thanks! I'll approve. Feel free to merge or wait for @hallyn to comment, as you prefer. Anyway, we're always in time to revert something if we later don't like it.
|
Thank you! In this case, we are enforcing a stricter use of Python than usual for shadow. If anyone wishes to change this, we can always do so later. |