Skip to content

reformat the python code with 'make reformat' and enable format in CI check #14322

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

Closed
wants to merge 1 commit into from

Conversation

rmuir
Copy link
Member

@rmuir rmuir commented Mar 2, 2025

currently the python code has a mix of indentation, styles, imports ordering, etc. for example, it is very difficult to work with mixed indentation levels: the language is sensitive to indentation.

reformat all the code with 'make reformat' and enable format checks when linting. It works like spotless, just don't think about it.

… check

currently the python code has a mix of indentation, styles, imports
ordering, etc. for example, it is very difficult to work with mixed
indentation levels: the language is sensitive to indentation.

reformat all the code with 'make reformat' and enable format checks when
linting. It works like spotless, just don't think about it.
Copy link
Contributor

@stefanvodita stefanvodita left a comment

Choose a reason for hiding this comment

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

I was looking at the luceneutil PRs, but missed the fact that you were also doing this for Lucene. Thank you @rmuir!

@rmuir
Copy link
Member Author

rmuir commented Mar 6, 2025

thank you @stefanvodita for reviewing (in both places). I am sure it won't go 100% smooth and there will be short-term problems, but I think in the long term it will make things easier.

@rmuir
Copy link
Member Author

rmuir commented Mar 6, 2025

it is merged, the squash-based merging is not useful for situations like this.

@rmuir rmuir closed this Mar 6, 2025
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.

2 participants