Skip to content

Conversation

@ikerexxe
Copy link
Collaborator

@ikerexxe 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>
@ikerexxe ikerexxe marked this pull request as ready for review September 2, 2025 07:32
Copy link

@lslebodn lslebodn left a comment

Choose a reason for hiding this comment

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

Very nice

+1

@ikerexxe
Copy link
Collaborator Author

@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.

@alejandro-colomar
Copy link
Collaborator

alejandro-colomar commented Sep 10, 2025

@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.

Copy link
Collaborator

@alejandro-colomar alejandro-colomar left a 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.

@ikerexxe
Copy link
Collaborator Author

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.

@ikerexxe ikerexxe merged commit 2fd29cd into shadow-maint:master Sep 10, 2025
11 checks passed
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