Skip to content

Conversation

@meretp
Copy link
Collaborator

@meretp meretp commented Mar 30, 2023

This PR adds a GitHub Action to check the code style with black, isort and flake8. The new GitHub Action is expected to fail as the current code doesn't comply with these linters. A second PR will follow to fix this.

@meretp meretp force-pushed the add-linter-action branch from 19d25cc to b3f08f2 Compare March 30, 2023 06:49
@meretp meretp self-assigned this Mar 30, 2023
@meretp meretp linked an issue Mar 30, 2023 that may be closed by this pull request
Copy link
Collaborator

@armintaenzertng armintaenzertng 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 just tried it and it worked mostly except for very long strings. Is this something that has to be done manually?

@meretp
Copy link
Collaborator Author

meretp commented Mar 30, 2023

Unfortunately yes. With a quick research I found that there are some tools that could do this automatically but as this would probably need more work (setting up the tool and so on), I decided to do it manually. I would assume that this is a justifiable effort in the future.

@meretp meretp merged commit 487f7a9 into spdx:main Mar 30, 2023
@meretp meretp mentioned this pull request Mar 30, 2023
@armintaenzertng
Copy link
Collaborator

A fix of this is part of #546

@meretp meretp deleted the add-linter-action branch May 10, 2023 12:52
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.

Automated PEP8 checking

2 participants