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

Format Python with isort and black #327

Closed

Conversation

skosukhin
Copy link
Collaborator

@skosukhin skosukhin commented Jan 6, 2025

This is probably for the Python team to review:

  1. Format all Python files with isort and black.
  2. Address (naively) issues identified by flake8.
  3. Extend the pre-commit configuration with respective hooks.

This should not be merged as is. First, we need to agree on the formatting (e.g. the line length, which is currently set to black's default 88). Then we will need to apply the formatting in a different PR, merge it to develop, update .git-blame-ignore-revs in this PR accordingly, and only then merge this PR.

Depends on #338.

@RobertPincus
Copy link
Member

@brendancol @tcmetzker @sehnem Comments welcome

@RobertPincus
Copy link
Member

@tcmetzger sorry for mis-spelling

@skosukhin
Copy link
Collaborator Author

Superseded by #339.

@skosukhin skosukhin closed this Jan 14, 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