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

Makefile: add diff output for python linter if there are some warnings #2108

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

ia
Copy link
Collaborator

@ia ia commented Mar 19, 2025

  • Please check if the PR fulfills these requirements
  • The changes have been tested locally
  • There are no breaking changes
  • What kind of change does this PR introduce?
    Add diff output for python linter if there are some warnings.

  • What is the current behavior?
    If there is a warning about python code style, then it will be just a generic summary warning, so to fix a code style, a contributor has to enable --diff option, run tests again, fix code style, run tests again, and remove --diff option.

  • What is the new behavior (if this is a feature change)?
    Add --diff option by default to build scripts, so just like in case with clang-format, a contributor could see file names and lines of code related to a warning.

  • Other information:
    Suggested approach makes workflow more convenient.

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ia ia added the Build System make/bash/python, github CI/CD & pals. label Mar 19, 2025
@ia ia requested a review from Ralim March 19, 2025 20:58
@ia ia self-assigned this Mar 19, 2025
@ia ia enabled auto-merge March 19, 2025 21:02
@ia ia merged commit ac080eb into Ralim:dev Mar 19, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build System make/bash/python, github CI/CD & pals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants