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

Blacken code by default #8611

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Blacken code by default #8611

merged 2 commits into from
Oct 31, 2024

Commits on Oct 29, 2024

  1. Blacken code by default

    Make the Black workflow just run black with default settings. Instead of
    including specific directories, exclude the ones that haven't been blackened
    yet via `pyproject.toml`.
    
    Leave a few small files out of the exclusion list; blacken them instead.
    
    This is one step towards project-wide code formatting. It also makes it
    easier to format your entire patch when you touch multiple components, since
    you don't have to remember which directories to apply `black` to.
    SpecLad committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    d162b3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e8da15 View commit details
    Browse the repository at this point in the history