Skip to content

Conversation

@SemyonSinchenko
Copy link
Collaborator

What changes were proposed in this pull request?

  • code style (black, flake8, isort) is checking in CI
  • all the errors from black, flake8 and isort are fixed

Why are the changes needed?

At the moment we have a code style but we are not checking it during the CI

+ reformat all the code to pass checks
@SemyonSinchenko
Copy link
Collaborator Author

@rjurney @bjornjorgensen Hello! This one is quite small, only formatting + CI. Could you take a look when you have time? Thanks!

@SemyonSinchenko
Copy link
Collaborator Author

I'm thinking it is a bug in the black (even if we denied it): it won't format comment blocks or break long strings. At the same time, flake8 is still checking line-length for block comments and if we want to have both of them, we should add noqa: E501 to some of block-comments. And that is exactly what I did in this PR.

Copy link
Contributor

@bjornjorgensen bjornjorgensen left a comment

Choose a reason for hiding this comment

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

LGTM

@rjurney rjurney merged commit e9db9d1 into graphframes:master Feb 27, 2025
5 checks passed
@SemyonSinchenko SemyonSinchenko deleted the chore-python-formatting branch April 6, 2025 09:14
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