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 .py files in blib2to3 #1011

Merged
merged 2 commits into from Oct 20, 2019
Merged

Blacken .py files in blib2to3 #1011

merged 2 commits into from Oct 20, 2019

Commits on Oct 2, 2019

  1. Blacken .py files in blib2to3

    This is in preparation for adding type annotations to blib2to3 in
    order to compiling it with mypyc (psf#1009, which I can rebase on top of
    this).
    
    To enforce that it stays blackened, I just cargo-culted the existing
    test code used for validating formatting. It feels pretty clunky now,
    though, so I can abstract the common logic out into a helper if that
    seems better. (But error messages might be less clear then?)
    msullivan committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    82deeb2 View commit details
    Browse the repository at this point in the history
  2. Tidy up the tests

    msullivan committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    3b3ce35 View commit details
    Browse the repository at this point in the history