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

Apply black + isort code formatting tools #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dbready
Copy link

@dbready dbready commented Apr 2, 2022

Apologies for the huge delta, this resulted from running black and isort to standardize the code formatting.

Style is a personal thing, so I will leave it to the authors if they want to accept it or not.

@GMishx
Copy link
Member

GMishx commented Apr 6, 2022

@dbready looks like flake8 does not like black

https://github.com/fossology/Nirjas/runs/5800396412?check_suite_focus=true

@GMishx GMishx added the enhancement New feature or request label Apr 6, 2022
@dbready
Copy link
Author

dbready commented Apr 8, 2022

Unfortunate. I had hoped it would be non-controversial, but having to adjust flake rules just to push it through is not a great feeling. Most of the failures look like a divergent style choice between the two.

Maybe I will poke around with it a bit and see if I can find the middle ground. Which mostly seems like it was isort and a few extra line breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants