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 code with Black #843

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 2, 2021

  1. [DO NOT REVIEW] Rewrite extra post-declarations loop in parse_declara…

    …tions
    
    Avoid iterating twice over the extra_maybenonpost items.
    Clarify all items from extra_maybenonpost are split into two dicts.
    francoisfreitag committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    ced5507 View commit details
    Browse the repository at this point in the history
  2. Format code with Black

    Black is a very popular Python code formatter. It ensures a consistent
    coding style across the library. It is opinionated and not configurable,
    so that projects adopting Black are similar.
    
    The main advantage a code formatter is to avoid concerns about coding
    style. Many text editors have an integration for Black and can be
    configured to format on save.
    
    The isort profile has been set to "black" for compatibility.
    https://pycqa.github.io/isort/docs/configuration/black_compatibility/
    
    https://github.com/psf/black
    
    Short multiline comprehensions were kept on multiple lines using #
    fmt: skip to improve the readability.
    francoisfreitag committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    5ed80f7 View commit details
    Browse the repository at this point in the history
  3. Apply Black string normalization

    Black unifies strings to "".
    francoisfreitag committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    1c9fe87 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. Configuration menu
    Copy the full SHA
    083ec19 View commit details
    Browse the repository at this point in the history