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

Bump from upstream #3

Merged
merged 681 commits into from
Oct 6, 2022
Merged

Bump from upstream #3

merged 681 commits into from
Oct 6, 2022
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Dec 15, 2021

  1. Bump myst-parser from 0.15.2 to 0.16.0 in /docs (psfGH-2696)

    Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.15.2 to 0.16.0.
    - [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
    - [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
    - [Commits](executablebooks/MyST-Parser@v0.15.2...v0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: myst-parser
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    e9f520c View commit details
    Browse the repository at this point in the history
  2. Bump pre-commit/action from 2.0.2 to 2.0.3 (psfGH-2695)

    Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.2 to 2.0.3.
    - [Release notes](https://github.com/pre-commit/action/releases)
    - [Commits](pre-commit/action@v2.0.2...v2.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: pre-commit/action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    f10ce0c View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    dc90d49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61fe841 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

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

Commits on Dec 20, 2021

  1. Bump sphinx from 4.3.1 to 4.3.2 in /docs (psf#2709)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.1 to 4.3.2.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v4.3.1...v4.3.2)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    6ef3e46 View commit details
    Browse the repository at this point in the history
  2. Bump myst-parser from 0.16.0 to 0.16.1 in /docs (psf#2710)

    Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.16.0 to 0.16.1.
    - [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
    - [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
    - [Commits](executablebooks/MyST-Parser@v0.16.0...v0.16.1)
    
    ---
    updated-dependencies:
    - dependency-name: myst-parser
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    c5b458e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Configuration menu
    Copy the full SHA
    389e9c2 View commit details
    Browse the repository at this point in the history
  2. Define is_name_token (and friends) to resolve some type: ignores (p…

    …sfGH-2714)
    
    Gets rid of a few # type: ignores by using TypeGuard.
    MarcoGorelli committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    7c94ed6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c758126 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fafd80 View commit details
    Browse the repository at this point in the history
  5. Update contributing wording (psf#2719)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    f0a99f6 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2021

  1. Configuration menu
    Copy the full SHA
    ced2d65 View commit details
    Browse the repository at this point in the history
  2. Support pytest 7 by fixing broken imports (psfGH-2705)

    The tmp_path related changes are not necessary to make pytest 7 work,
    but it feels more complete this way.
    hroncok committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    092959f View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. Drop upper version bounds on dependencies (psfGH-2718)

    They mostly cause unnecessary trouble.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    JelleZijlstra and ichard26 committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    b8df7e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2021

  1. Primer: exclude crashing sqlalchemy file for now (psfGH-2735)

    Until we can properly look into and fix it.
    -> psf#2734
    ichard26 committed Dec 31, 2021
    Configuration menu
    Copy the full SHA
    4f5268a View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Documentation: include Wing IDE 8 integrations (psfGH-2733)

    Wing IDE 8 now supports autoformatting w/ Black natively 🎉
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    gunungpw and ichard26 committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    8a84beb View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Configuration menu
    Copy the full SHA
    668bace View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05e1fbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea4c772 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e64949e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Remove Python 2 support (psf#2740)

    *blib2to3's support was left untouched because: 1) I don't want to touch
    parsing machinery, and 2) it'll allow us to provide a more useful error
    message if someone does try to format Python 2 code.
    ichard26 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    e401b6b View commit details
    Browse the repository at this point in the history
  2. Enhance --verbose (psf#2526)

    Black would now echo the location that it determined as the root path
    for the project if `--verbose` is enabled by the user, according to
    which it chooses the SRC paths, i.e. the absolute path of the project
    is `{root}/{src}`.
    
    Closes psf#1880
    Shivansh-007 committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    521d1b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e73152 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f26a03 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Change git url for pip installation in README (psf#2761)

    * Change git url for pip installation in README
    
    Unauthenticated git protocol was disabled recently by Github and should not be used anymore.
    
    https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
    
    * Update CHANGES.md
    bo5o committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    4efb795 View commit details
    Browse the repository at this point in the history
  2. Change installation url to comply with git security change (psf#2765)

    Co-authored-by: Jeffrey Lazar <jlazar@MacBook-Pro-2.local>
    jlazar17 and Jeffrey Lazar committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    8954e58 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. don't expect changes on poetry (psf#2769)

    They just made themselves ESP-compliant in python-poetry/poetry@ecb030e
    JelleZijlstra committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    f298032 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    799f76f View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Configuration menu
    Copy the full SHA
    7a29568 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5543d1b View commit details
    Browse the repository at this point in the history
  3. CI: add diff-shades integration (psf#2725)

    Hopefully this makes it much easier to gauge the impacts of future
    changes!
    ichard26 committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    565f9c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

  1. Dont require typing-extensions in 3.10 (psfGH-2772)

    3.10 ships with TypeGuard which is the newest feature we need.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    MarcoGorelli and ichard26 committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    5fe6d48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33e3bb1 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Bump sphinx from 4.3.2 to 4.4.0 in /docs (psf#2776)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.2 to 4.4.0.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v4.3.2...v4.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    1d2ed2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98db4ab View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Configuration menu
    Copy the full SHA
    8c22d23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bd4134 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e97c5f View commit details
    Browse the repository at this point in the history
  4. Hint at likely cause of ast parsing failure in error message (psf#2786)

    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    4 people committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    e66e0f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Add support for custom python cell magics (psf#2744)

    Fixes psf#2742.
    
    This PR adds the ability to configure additional python cell magics. This
    will allow formatting cells in Jupyter Notebooks that are using custom (python)
    magics.
    mgmarino committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    4ea75cd View commit details
    Browse the repository at this point in the history
  2. Set click lower bound to 8.0.0 (psf#2791)

    Closes psf#2774
    Shivansh-007 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    e0c5728 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95c03b9 View commit details
    Browse the repository at this point in the history
  4. Switch to Furo (psf#2793)

    - Add Furo dependency to docs/requirements.txt
    - Drop a fair bit of theme configuration
    - Fix the toctree declarations in index.rst
    - Move stuff around as Furo isn't 100% compatible with Alabaster
    
    Furo was chosen as it provides excellent mobile support, user
    controllable light/dark theming, and is overall easier to read
    ichard26 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    d24bc43 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Allow setting custom cache directory on all platforms (psf#2739)

    Fixes psf#2506
    
    ``XDG_CACHE_HOME`` does not work on Windows. To allow for users to set a custom cache directory on all systems I added a new environment variable ``BLACK_CACHE_DIR`` to set the cache directory. The default remains the same so users will only notice a change if that environment variable is set.
    
    The specific use case I have for this is I need to run black on in different processes at the same time. There is a race condition with the cache pickle file that made this rather difficult. A custom cache directory will remove the race condition.
    
    I created ``get_cache_dir`` function in order to test the logic. This is only used to set the ``CACHE_DIR`` constant.
    percurnicus committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    10677ba View commit details
    Browse the repository at this point in the history
  2. Mark Felix and Batuhan as maintainers (psf#2794)

    Y'all deserve it :)
    ichard26 committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    fb1d1b2 View commit details
    Browse the repository at this point in the history
  3. Refactor logic for stub empty lines (psf#2796)

    This PR is intended to have no change to semantics.
    
    This is in preparation for psf#2784 which will likely introduce more logic
    that depends on `current_line.depth`.
    
    Inlining the subtraction gets rid of offsetting and makes it much easier
    to see what the result will be.
    hauntsaninja committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    811de5f View commit details
    Browse the repository at this point in the history
  4. Mention "skip news" label in CHANGELOG action (psf#2797)

    Co-authored-by: hauntsaninja <>
    hauntsaninja committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    b3b341b View commit details
    Browse the repository at this point in the history
  5. Enable pattern matching by default (psf#2758)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    isidentical and ichard26 committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    022f896 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Configuration menu
    Copy the full SHA
    6e3677f View commit details
    Browse the repository at this point in the history
  2. Remove Beta mentions in README + Docs (psf#2801)

    - State we're now stable and that we'll uphold our formatting changes as per policy
    - Link to The Black Style doc.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    cooperlees and JelleZijlstra committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    d2c938e View commit details
    Browse the repository at this point in the history
  3. Use magic_trailing_comma and preview for FileMode in fuzz (ps…

    …f#2802)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    sobolevn and JelleZijlstra committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    3905173 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Make SRC or code mandatory and mutually exclusive (psf#2360) (psf#2804)

    Closes psf#2360: I'd like to make passing SRC or `--code` mandatory and the arguments mutually exclusive. This will change our (partially already broken) promises of CLI behavior, but I'll comment below.
    felix-hilden committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    73cb6e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Hug power operators if its operands are "simple" (psf#2726)

    Since power operators almost always have the highest binding power in expressions, it's often more readable to hug it with its operands. The main exception to this is when its operands are non-trivial in which case the power operator will not hug, the rule for this is the following:
    
    > For power ops, an operand is considered "simple" if it's only a NAME, numeric CONSTANT, or attribute access (chained attribute access is allowed), with or without a preceding unary operator. 
    
    Fixes psfGH-538.
    Closes psfGH-2095.
    
    diff-shades results: https://gist.github.com/ichard26/ca6c6ad4bd1de5152d95418c8645354b
    
    Co-authored-by: Diego <dpalma@evernote.com>
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    4 people committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    6417c99 View commit details
    Browse the repository at this point in the history
  2. properly run ourselves twice (psf#2807)

    The previous run-twice logic only affected the stability checks but not the output. Now, we actually output the twice-formatted code.
    JelleZijlstra committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    32dd9ec View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Fix crash on some power hugging cases (psf#2806)

    Found by the fuzzer. Repro case:
    
    	python -m black -c 'importA;()<<0**0#'
    JelleZijlstra committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    889a8d5 View commit details
    Browse the repository at this point in the history
  2. black-primer: stop running it (psf#2809)

    At the moment, it's just a source of spurious CI failures and busywork
    updating the configuration file.
    
    Unlike diff-shades, it is run across many different platforms and
    Python versions, but that doesn't seem essential. We already run unit
    tests across platforms and versions.
    
    I chose to leave the code around for now in case somebody is using it,
    but CI will no longer run it.
    JelleZijlstra committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    b517dfb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b92822a View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Use parentheses on method access on float and int literals (psf#2799)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    3 people committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    777cae5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fda2561 View commit details
    Browse the repository at this point in the history
  3. reorganize release notes for 22.1.0 (psf#2790)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    JelleZijlstra and ichard26 committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    5f01b87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e150676 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Configuration menu
    Copy the full SHA
    3437950 View commit details
    Browse the repository at this point in the history
  2. torture test (psf#2815)

    Fixes psf#2651. Fixes psf#2754. Fixes psf#2518. Fixes psf#2321.
    
    This adds a test that lists a number of cases of unstable formatting
    that we have seen in the issue tracker. Checking it in will ensure
    that we don't regress on these cases.
    JelleZijlstra committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    4ce049d View commit details
    Browse the repository at this point in the history
  3. Formalise style preference description (psf#2818)

    Closes psf#1256: I reworded our style docs to be more explicit about the style we're aiming for and how it is changed (or isn't).
    felix-hilden committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    df0aeee View commit details
    Browse the repository at this point in the history
  4. Fix arithmetic stability issue (psf#2817)

    It turns out "simple_stmt" isn't that simple: it can contain multiple
    statements separated by semicolons. Invisible parenthesis logic for
    arithmetic expressions only looked at the first child of simple_stmt.
    This causes instability in the presence of semicolons, since the next
    run through the statement following the semicolon will be the first
    child of another simple_stmt.
    
    I believe this along with psf#2572 fix the known stability issues.
    hauntsaninja committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    95e77cb View commit details
    Browse the repository at this point in the history
  5. Fix instability due to trailing comma logic (psf#2572)

    It was causing stability issues because the first pass
    could cause a "magic trailing comma" to appear, meaning
    that the second pass might get a different result. It's
    not critical.
    
    Some things format differently (with extra parens)
    nipunn1313 committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    a24e1f7 View commit details
    Browse the repository at this point in the history
  6. Add a test case to torture.py (psf#2822)

    Co-authored-by: hauntsaninja <>
    hauntsaninja committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    a4992b4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8acb854 View commit details
    Browse the repository at this point in the history
  8. Remove test suite from setup.py (psf#2824)

    We no longer use it
    JelleZijlstra committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    0d768e5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c5f8e8b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dea2f94 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d038a24 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Configuration menu
    Copy the full SHA
    bbe1bdf View commit details
    Browse the repository at this point in the history
  2. Exclude __pypackages__ by default (psfGH-2836)

    PDM uses this as part of not-accepted-yet PEP 582.
    JelleZijlstra committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    f61299a View commit details
    Browse the repository at this point in the history
  3. Soft comparison of --required-version (psf#2832)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    3 people committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    cae7ae3 View commit details
    Browse the repository at this point in the history
  4. release process: formalize the changelog template (psf#2837)

    I did this manually for the last few releases and I think it's going to be
    helpful in the future too. Unfortunately this adds a little more work during
    the release (sorry @cooperlees).
    
    This change will also improve the merge conflict situation a bit, because
    changes to different sections won't merge conflict.
    
    For the last release, the sections were in a kind of random order. In the
    template I put highlights and "Style" first because they're most important
    to users, and alphabetized the rest.
    JelleZijlstra committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    afc0fb0 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Configuration menu
    Copy the full SHA
    f3f3acc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb9fe6b View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Update description for GitHub Action options: argument (psfGH-2858)

    It was missing --diff as one of the default arguments passed.
    magnetikonline committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    111880e View commit details
    Browse the repository at this point in the history
  2. Create indentation FAQ entry (psf#2855)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    felix-hilden and JelleZijlstra committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    31fe97e View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Bump sphinx-copybutton from 0.4.0 to 0.5.0 in /docs (psf#2871)

    Bumps [sphinx-copybutton](https://github.com/executablebooks/sphinx-copybutton) from 0.4.0 to 0.5.0.
    - [Release notes](https://github.com/executablebooks/sphinx-copybutton/releases)
    - [Changelog](https://github.com/executablebooks/sphinx-copybutton/blob/master/CHANGELOG.md)
    - [Commits](executablebooks/sphinx-copybutton@v0.4.0...v0.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx-copybutton
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    01001d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Add Django in 'used by' section in Readme (psf#2875)

    * Add Django in 'used by' section in Readme
    
    * Fix Readme issue
    pauloxnet committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    9b31717 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4a6bb0 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Order the disabled error codes for pylint (psfGH-2870)

    Just make them alphabetical.
    huxuan committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    862c6f2 View commit details
    Browse the repository at this point in the history
  2. Fix typo in file_collection_and_discovery.md (psfGH-2860)

    "you your" -> "your"
    
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    LLyaudet and felix-hilden committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    07a2e6f View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Configuration menu
    Copy the full SHA
    50a8569 View commit details
    Browse the repository at this point in the history
  2. correct Vim integration code (psf#2853)

    - use `Black` directly: the commands an autocommand runs are Ex commands, so no
      execute or colon is necessary.
    - use an `augroup` (best practice) to prevent duplicate autocommands from
      hindering performance.
    benknoble committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    8089aaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c26c772 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Bump furo from 2022.1.2 to 2022.2.14.1 in /docs (psfGH-2892)

    Bumps [furo](https://github.com/pradyunsg/furo) from 2022.1.2 to 2022.2.14.1.
    - [Release notes](https://github.com/pradyunsg/furo/releases)
    - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
    - [Commits](pradyunsg/furo@2022.01.02...2022.02.14.1)
    
    ---
    updated-dependencies:
    - dependency-name: furo
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    7e2b2d4 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Configuration menu
    Copy the full SHA
    2918ea3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cfb518 View commit details
    Browse the repository at this point in the history
  3. fix new formatting issue (psf#2895)

    Race between psf#2889 and another PR.
    JelleZijlstra committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    9b16107 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

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

Commits on Mar 3, 2022

  1. replace md5 with sha256 (psf#2905)

    MD5 is unavailable on systems with active FIPS mode. That makes black
    crash when run on such systems.
    tomjelinek committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    67eaf24 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Move test for g:load_black to improve plugin performance (psfGH-2896)

    If a vim/neovim user wishes to suppress loading the vim plugin by
    setting g:load_black in their VIMRC (for me, Arch linux automatically
    adds the plugin to Neovim's RTP, even though I'm not using it), the
    current location of the test comes after a call to has('python3'). This
    adds, in my tests, between 35 and 45 ms to Vim load time (which I know
    isn't a lot but it's also unnecessary). Moving the call to
    `exists('g:load_black')` to before the call to `has('python3')` removes
    this unnecessary test and speeds up loading.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    oncomouse and ichard26 committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    7af3abd View commit details
    Browse the repository at this point in the history
  2. Bump furo from 2022.2.14.1 to 2022.3.4 in /docs (psf#2906)

    Bumps [furo](https://github.com/pradyunsg/furo) from 2022.2.14.1 to 2022.3.4.
    - [Release notes](https://github.com/pradyunsg/furo/releases)
    - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
    - [Commits](pradyunsg/furo@2022.02.14.1...2022.03.04)
    
    ---
    updated-dependencies:
    - dependency-name: furo
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    eb21315 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f4976a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Bump actions/checkout from 2 to 3 (psf#2909)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    dab1be3 View commit details
    Browse the repository at this point in the history
  2. Bump actions/setup-python from 2 to 3 (psf#2908)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cooper Lees <me@cooperlees.com>
    dependabot[bot] and cooperlees committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    fd6e92a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Configuration menu
    Copy the full SHA
    24ffc54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71e71e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

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

Commits on Mar 15, 2022

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

Commits on Mar 16, 2022

  1. Remove power hugging formatting from preview (psf#2928)

    It is falsely placed in preview features and always formats the power operators, it was added in psf#2789 but there is no check for formatting added along with it.
    Shivansh-007 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    086ae68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa7f015 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Configuration menu
    Copy the full SHA
    f87df0e View commit details
    Browse the repository at this point in the history
  2. stub style: remove some possible future changes (psf#2940)

    Fixes psf#2938.
    
    All of these suggested future changes are out of scope for an autoformatter and should be handled by a linter instead.
    JelleZijlstra committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    5379d4f View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

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

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    3800ebd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14e5ce5 View commit details
    Browse the repository at this point in the history
  3. Resolve new flake8-bugbear errors (B020) (psfGH-2950)

    Fixes a couple places where we were using the same variable name as we
    are iterating over.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    jpy-git and JelleZijlstra committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    14d84ba View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Remove unnecessary parentheses from except clauses (psf#2939)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    jpy-git and JelleZijlstra committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    bd1e980 View commit details
    Browse the repository at this point in the history
  2. Enforce no formatting changes for PRs via CI (psfGH-2951)

    Now PRs will run two diff-shades jobs, "preview-changes" which formats
    all projects with preview=True, and "assert-no-changes" which formats
    all projects with preview=False. The latter also fails if any changes
    were made.
    
    Pushes to main will only run "preview-changes"
    
    Also the workflow_dispatch feature was dropped since it was
    complicating everything for little gain.
    ichard26 committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    f239d22 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Bump sphinx from 4.4.0 to 4.5.0 in /docs (psfGH-2959)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.4.0 to 4.5.0.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v4.4.0...v4.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    ac7402c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9681a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae2c075 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Bump actions/cache from 2.1.7 to 3 (psfGH-2962)

    Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Commits](actions/cache@v2.1.7...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    2d62a09 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Keep tests working w/ upcoming aiohttp 4.0.0 (psf#2974)

    aiohttp.test_utils.unittest_run_loop was deprecated since aiohttp 3.8
    and aiohttp 4 (which isn't a thing quite yet) removes it. To maintain
    compatibility with the full range of versions we declare to support,
    test_blackd.py will now define a no-op replacement if it can't be
    imported.
    
    Also, mypy is painfully slow to use without a cache, let's reenable it.
    ichard26 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    82e150a View commit details
    Browse the repository at this point in the history
  2. Convert index.rst and license.rst to markdown (psf#2852)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    gunungpw and ichard26 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    3dea6e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a66016c View commit details
    Browse the repository at this point in the history
  4. Remove click pin in diff-shades workflow (psf#2979)

    Click 8.1.1 was released with a fix for pallets/click#2227.
    JelleZijlstra committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    def0483 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Bump peter-evans/find-comment from 1.3.0 to 2 (psf#2960)

    Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 1.3.0 to 2.
    - [Release notes](https://github.com/peter-evans/find-comment/releases)
    - [Commits](peter-evans/find-comment@d2dae40...1769778)
    
    ---
    updated-dependencies:
    - dependency-name: peter-evans/find-comment
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    3451502 View commit details
    Browse the repository at this point in the history
  2. Bump peter-evans/create-or-update-comment from 1.4.5 to 2 (psf#2961)

    Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1.4.5 to 2.
    - [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
    - [Commits](peter-evans/create-or-update-comment@a35cf36...c9fcb64)
    
    ---
    updated-dependencies:
    - dependency-name: peter-evans/create-or-update-comment
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    5436810 View commit details
    Browse the repository at this point in the history
  3. try-except tomllib import (psf#2987)

    See psf#2965 
    
    I left the version check in place because mypy doesn't generally like try-excepted imports.
    JelleZijlstra committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    1af29fb View commit details
    Browse the repository at this point in the history
  4. Fix broken link in README.md (psf#2989)

    Broken when we converted some more RST docs to MyST
    jpy-git committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    4d0a4b1 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Remove unnecessary parentheses from with statements (psf#2926)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    24c708e View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Update test_black.shhh_click test for click 8+ (psf#2993)

    The 8.0.x series renamed its "die on LANG=C" function and the 8.1.x
    series straight up deleted it.
    
    Unfortunately this makes this test type check cleanly hard, so we'll
    just lint with click 8.1+ (the pre-commit hook configuration was changed
    mostly to just evict any now unsupported mypy environments)
    ichard26 committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    fa5fd26 View commit details
    Browse the repository at this point in the history
  2. Update FAQ: Mention formatting of custom jupyter cell magic (psf#2982)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    421383d View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    9b30740 View commit details
    Browse the repository at this point in the history
  2. Output python version and implementation as part of --version flag (p…

    …sf#2997)
    
    Example:
    
    black, 22.1.1.dev56+g421383d.d20220405 (compiled: no)
    Python (CPython) 3.9.12
    
    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    jpy-git and isidentical committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    f6188ce View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2022

  1. Better manage return annotation brackets (psf#2990)

    Allows us to better control placement of return annotations by:
    
    a) removing redundant parens
    b) moves very long type annotations onto their own line
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    jpy-git and JelleZijlstra committed Apr 9, 2022
    Configuration menu
    Copy the full SHA
    98fccce View commit details
    Browse the repository at this point in the history
  2. Remove redundant parentheses around awaited coroutines/tasks (psf#2991)

    This is a tricky one as await is technically an expression and therefore
    in certain situations requires brackets for operator precedence.
    However, the vast majority of await usage is just await some_coroutine(...)
    and similar in format to return statements. Therefore this PR removes
    redundant parens around these await expressions.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Apr 9, 2022
    Configuration menu
    Copy the full SHA
    75f99bd View commit details
    Browse the repository at this point in the history
  3. Correctly handle fmt: skip comments without internal spaces (psf#2970)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    siuryan and JelleZijlstra committed Apr 9, 2022
    Configuration menu
    Copy the full SHA
    431bd09 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. Explain our use of mypyc in the FAQ (psf#3002)

    I realized we don't have a FAQ entry about this, let's change that so
    compiled: yes/no doesn't surprise as many people :)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    ichard26 and JelleZijlstra committed Apr 10, 2022
    Configuration menu
    Copy the full SHA
    497a725 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Bump actions/upload-artifact from 2 to 3 (psf#3004)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    abdc31c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40053b5 View commit details
    Browse the repository at this point in the history
  3. Bump furo from 2022.3.4 to 2022.4.7 in /docs (psf#3003)

    Bumps [furo](https://github.com/pradyunsg/furo) from 2022.3.4 to 2022.4.7.
    - [Release notes](https://github.com/pradyunsg/furo/releases)
    - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
    - [Commits](pradyunsg/furo@2022.03.04...2022.04.07)
    
    ---
    updated-dependencies:
    - dependency-name: furo
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    911b59f View commit details
    Browse the repository at this point in the history
  4. Quote black[jupyter] and black[d] in installation docs (psf#3006)

    We just got someone on Discord who was confused because the command as
    written caused their shell to try to do command expansion.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    JelleZijlstra and ichard26 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    96bd428 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

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

Commits on Apr 15, 2022

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

Commits on Apr 21, 2022

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

Commits on Apr 28, 2022

  1. Fix strtobool function (psf#3025)

    * Fix strtobool function for vim plugin
    * Update CHANGES.md
    
    Co-authored-by: Cooper Lees <me@cooperlees.com>
    defntvdm and cooperlees committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    c6800e0 View commit details
    Browse the repository at this point in the history
  2. Stop pinning lark-parser (psf#3041)

    - Latest version works more
    
    Test: `tox -e fuzz`
    cooperlees committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    fb8dfde View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Bump myst-parser from 0.16.1 to 0.17.2 in /docs (psf#3019)

    Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.16.1 to 0.17.2.
    - [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
    - [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
    - [Commits](executablebooks/MyST-Parser@v0.16.1...v0.17.2)
    
    ---
    updated-dependencies:
    - dependency-name: myst-parser
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 2, 2022
    Configuration menu
    Copy the full SHA
    9d5edd3 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. chore: Set permissions for GitHub actions (psf#3043)

    Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
    
    - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
    
    https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
    
    https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
    
    [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)
    
    Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
    naveensrinivasan committed May 3, 2022
    Configuration menu
    Copy the full SHA
    c940f75 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Move imports of ThreadPoolExecutor into reformat_many(), allowing…

    … Black-in-the-browser (psf#3046)
    
    This is a slight perf win for use-cases that don't invoke `reformat_many()`, but more importantly to me today it means I can use Black in pyscript.
    Zac-HD committed May 6, 2022
    Configuration menu
    Copy the full SHA
    9ce100b View commit details
    Browse the repository at this point in the history

Commits on May 8, 2022

  1. Configuration menu
    Copy the full SHA
    62c2b16 View commit details
    Browse the repository at this point in the history
  2. Put closing quote on a separate line if docstring is too long (psf#3044)

    Fixes psf#1632
    
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    idorrington92 and felix-hilden committed May 8, 2022
    Configuration menu
    Copy the full SHA
    20d8ccb View commit details
    Browse the repository at this point in the history
  3. Read simple data cases automatically (psf#3034)

    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    saroad2 and felix-hilden committed May 8, 2022
    Configuration menu
    Copy the full SHA
    fc2a164 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Bump docker/setup-qemu-action from 1 to 2 (psf#3056)

    Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
    - [Release notes](https://github.com/docker/setup-qemu-action/releases)
    - [Commits](docker/setup-qemu-action@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-qemu-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 10, 2022
    Configuration menu
    Copy the full SHA
    5d5b731 View commit details
    Browse the repository at this point in the history
  2. Bump docker/build-push-action from 2 to 3 (psf#3057)

    Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
    - [Release notes](https://github.com/docker/build-push-action/releases)
    - [Commits](docker/build-push-action@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: docker/build-push-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 10, 2022
    Configuration menu
    Copy the full SHA
    ba21a85 View commit details
    Browse the repository at this point in the history
  3. Bump docker/login-action from 1 to 2 (psf#3059)

    Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
    - [Release notes](https://github.com/docker/login-action/releases)
    - [Commits](docker/login-action@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: docker/login-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 10, 2022
    Configuration menu
    Copy the full SHA
    4af87d8 View commit details
    Browse the repository at this point in the history
  4. Bump docker/setup-buildx-action from 1 to 2 (psf#3058)

    Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
    - [Release notes](https://github.com/docker/setup-buildx-action/releases)
    - [Commits](docker/setup-buildx-action@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-buildx-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed May 10, 2022
    Configuration menu
    Copy the full SHA
    7f03313 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

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

Commits on May 21, 2022

  1. Document new Microsoft Black Formatter extension for VSCode (psf#3063)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    laundmo and ichard26 committed May 21, 2022
    Configuration menu
    Copy the full SHA
    fdb01f8 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Add more examples to exclude files in addition to the defaults (psf#3070

    )
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    ysk24ok and JelleZijlstra committed May 26, 2022
    Configuration menu
    Copy the full SHA
    9fe788d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e55718 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Add script to ease migration to black (psf#3038)

    * Add script to ease migration to black
    
    * Update CHANGES.md
    
    Co-authored-by: Cooper Lees <me@cooperlees.com>
    hbrunn and cooperlees committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    436e12f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

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

Commits on Jun 11, 2022

  1. Bump pre-commit/action from 2.0.3 to 3.0.0 (psf#3108)

    Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
    - [Release notes](https://github.com/pre-commit/action/releases)
    - [Commits](pre-commit/action@v2.0.3...v3.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: pre-commit/action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    6d32ab0 View commit details
    Browse the repository at this point in the history
  2. Remove newline after code block open (psf#3035)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    saroad2 and JelleZijlstra committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    4bb7bf2 View commit details
    Browse the repository at this point in the history
  3. Update documentation dependencies (psf#3118)

    Furo, myst-parser, and Sphinx (had to pin docutils due to sphinx breakage)
    ichard26 committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    8c8675c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    162ecd1 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Bump actions/setup-python from 3 to 4 (psf#3121)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    hugovk committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    799adb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Test run black on self (psf#3114)

    * Add run_self environment in tox
    
    * Add run_self task as part of the lint CI flow
    
    * Remove hard coded sources list
    
    * Remove black from pre-commit
    
    Co-authored-by: Cooper Lees <me@cooperlees.com>
    saroad2 and cooperlees committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    6c1bd08 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

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

Commits on Jun 20, 2022

  1. Bump sphinx from 5.0.1 to 5.0.2 in /docs (psf#3128)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.0.1 to 5.0.2.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v5.0.1...v5.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6463fb8 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

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

Commits on Jun 27, 2022

  1. Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (psf#3138)

    Bumps [furo](https://github.com/pradyunsg/furo) from 2022.6.4.1 to 2022.6.21.
    - [Release notes](https://github.com/pradyunsg/furo/releases)
    - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
    - [Commits](pradyunsg/furo@2022.06.04.1...2022.06.21)
    
    ---
    updated-dependencies:
    - dependency-name: furo
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    d848209 View commit details
    Browse the repository at this point in the history
  2. Update preview style docs to include recent changes (psf#3136)

    Covers psfGH-2926, psfGH-2990, psfGH-2991, and psfGH-3035.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    eb5d175 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    f6c139c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6debce6 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2022

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

Commits on Jul 6, 2022

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

Commits on Jul 11, 2022

  1. Recommend using BlackConnect in IntelliJ IDEs (psf#3150)

    * Recommend using BlackConnect in IntelliJ IDEs
    
    * IntelliJ IDEs integration docs: improve formatting
    
    * Add changelog for recommending BlackConnect
    
    * IntelliJ IDEs integration docs: improve formatting
    
    * Apply suggestions from code review
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    
    * Fix indentation
    
    * Apply italic to Black name
    
    Consequently with other places in the document
    
    * Move CHANGELOG entry to Unreleased section
    
    * IntelliJ IDEs integration docs: bring back a point with formatting a file
    
    * IntelliJ IDEs integration docs: fix extra whitespace and linebreak
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    m-aciek and ichard26 committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    05b63c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Copy over comments when hugging power ops (psf#2874)

    Otherwise they'd be deleted which was a regression in 22.1.0 (oops! my
    bad!). Also type comments are now tracked in the AST safety check on all
    compatible platforms to error out if this happens again.
    
    Overall the line rewriting code has been rewritten to do "the right
    thing (tm)", I hope this fixes other potential bugs in the code (fwiw I
    got to drop the bugfix in blib2to3.pytree.Leaf.clone since now bracket
    metadata is properly copied over).
    
    Fixes psf#2873
    ichard26 committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    18c17be View commit details
    Browse the repository at this point in the history
  2. Don't (ever) put a single-char closing docstring quote on a new line (p…

    …sf#3166)
    
    Doing so is invalid. Note this only fixes the preview style since the
    logic putting closing docstring quotes on their own line if they violate
    the line length limit is quite new.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    ichard26 and JelleZijlstra committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    4f0532d View commit details
    Browse the repository at this point in the history
  3. Add warning to not run blackd publicly in docs (psf#3167)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Panther-12 and JelleZijlstra committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    8900e3a View commit details
    Browse the repository at this point in the history
  4. Move to explicitly creating a new loop (psf#3164)

    * Move to explicitly creating a new loop
    
    - >= 3.10 add a warning that `get_event_loop` will not automatically create a loop
    - Move to explicit API
    
    Test:
    - `python3.11 -m venv --upgrade-deps /tmp/tb`
      - `/tmp/tb/bin/pip install -e .`
      - Install deps and no blackd as aiohttp + yarl can't build still with 3.11
      - aio-libs/aiohttp#6600
    - `export PYTHONWARNINGS=error`
    ```
    cooper@l33t:~/repos/black$ /tmp/tb/bin/black .
    All done! ✨ 🍰 ✨
    44 files left unchanged.
    ```
    
    Fixes psf#3110
    
    * Add to CHANGES.md
    
    * Fix a cooper typo yet again
    
    * Set default asyncio loop to our explicitly created one + unset on exit
    
    * Update CHANGES.md
    
    Fix my silly typo.
    
    Co-authored-by: Thomas Grainger <tagrain@gmail.com>
    
    Co-authored-by: Cooper Ry Lees <me@wcooperlees.com>
    Co-authored-by: Thomas Grainger <tagrain@gmail.com>
    3 people committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    9aa33f4 View commit details
    Browse the repository at this point in the history
  5. Actually disable docstring prefix normalization with -S + fix instabi…

    …lity (psf#3168)
    
    The former was a regression I introduced a long time ago. To avoid
    changing the stable style too much, the regression is only fixed if
    --preview is enabled
    
    Annoyingly enough, as we currently always enforce a second format pass if
    changes were made, there's no good way to prove the existence of the
    docstring quote normalization instability issue. For posterity, here's
    one failing example:
    
        --- source
        +++ first pass
        @@ -1,7 +1,7 @@
         def some_function(self):
        -    ''''<text here>
        +    """ '<text here>
    
             <text here, since without another non-empty line black is stable>
    
        -    '''
        +    """
             pass
        --- first pass
        +++ second pass
        @@ -1,7 +1,7 @@
         def some_function(self):
        -    """ '<text here>
        +    """'<text here>
    
             <text here, since without another non-empty line black is stable>
    
             """
             pass
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    ichard26 and JelleZijlstra committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    ad5c315 View commit details
    Browse the repository at this point in the history
  6. Fix typo in config docs for --extend-exclude (psf#3170)

    The old regex in the example was invalid and caused an error on startup.
    onescriptkid committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    b0eed7c View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. configure strict pytest and filterwarnings=['error', ... (psf#3173)

    * configure strict pytest
    
    * ignore current warnings
    graingert committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    df5a87d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

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

Commits on Jul 19, 2022

  1. Configuration menu
    Copy the full SHA
    1b6de7b View commit details
    Browse the repository at this point in the history
  2. Fix the handling of # fmt: skip when it's at a colon line (psf#3148)

    When the Leaf node with `# fmt: skip` is a NEWLINE inside a `suite`
    Node, the nodes to ignore should be from the siblings of the parent
    `suite` Node.
    
    There is a also a special case for the ASYNC token, where it expands
    to the grandparent Node where the ASYNC token is.
    
    This fixes psfGH-2646, psfGH-3126, psfGH-2680, psfGH-2421, psfGH-2339, and psfGH-2138.
    yilei committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    6ea4edd View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Fix an infinite loop when using # fmt: on/off ... (psf#3158)

    ... in the middle of an expression or code block by adding a missing return.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    249c653 View commit details
    Browse the repository at this point in the history
  2. Use underscores instead of a space in a test file's name (psf#3180)

    ... for *consistency*
    yilei committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    b4dc40b View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Bump sphinx from 5.0.2 to 5.1.0 in /docs (psf#3183)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.0.2 to 5.1.0.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v5.0.2...v5.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    e9e756d View commit details
    Browse the repository at this point in the history
  2. Add isort to linting toolchain

    Co-authored-by: Shivansh-007 <shivansh-007@outlook.com>
    ichard26 and Shivansh-007 committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    e0a780a View commit details
    Browse the repository at this point in the history
  3. Reformat codebase with isort

    ichard26 committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    44d5da0 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    411ed77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef8deb6 View commit details
    Browse the repository at this point in the history
  3. Vim plugin: prefix messages with "Black: " (psf#3194)

    As mentioned in psfGH-3185, when using Black as a Vim plugin, especially
    automatically on save, the plugin's messages can be confusing, as
    nothing indicates that they come from Black.
    tobast committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    4f1772e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Remove blib2to3 grammar cache logging (psf#3193)

    As error logs are emitted often (they happen when Black's cache
    directory is created after blib2to3 tries to write its cache) and cause
    issues to be filed by users who think Black isn't working correctly.
    
    These errors are expected for now and aren't a cause for concern so
    let's remove them to stop worrying users (and new issues from being
    opened). We can improve the blib2to3 caching mechanism to write its
    cache at the end of a successful command line invocation later.
    ichard26 committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    d85cf00 View commit details
    Browse the repository at this point in the history
  2. Add sanity check to executable CD + more (psf#3190)

    Building executables without any testing is quite sketchy, let's at
    least verify they won't crash on startup and format Black's own
    codebase.
    
    Also replaced "binaries" with "executables" since it's clearer and
    won't be confused with mypyc.
    
    Finally, I added colorama so all Windows users can get colour.
    ichard26 committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    eaa0489 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

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

Commits on Aug 1, 2022

  1. Bump sphinx from 5.1.0 to 5.1.1 in /docs (psf#3201)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.1.0 to 5.1.1.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v5.1.0...v5.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    b776bf9 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. makes install available for all users in docker image (psf#3202)

    * makes install available for all users in docker image
    
    moves the installation path from /root/.local to a
    virtualenv. this way we still get the lightweight
    multistage build without excluding non-root users.
    
    * adds changelog entry for docker-image fix
    
    A changelog entry has been added under the Integration
    subheader
    
    * changes dockerfile to use the venv activate script
    
    we are now using the inbuilt venv activate script, as well
    as explicitly mentioning the binary location in the entrypoint
    cmd.
    
    Co-authored-by: Nicolò <nicolo.intrieri@spinforward.it>
    Co-authored-by: Cooper Lees <me@cooperlees.com>
    3 people committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    f066e3f View commit details
    Browse the repository at this point in the history
  2. Remove invalid syntax in docstrings -S --preview test (psf#3205)

    uR is not a legal string prefix, so this test breaks (AssertionError:
    cannot use --safe with this file; failed to parse source file AST:
    invalid syntax) if changed to one in which the file is changed. I've
    changed the last test to have u alone, and added an R to the test above
    instead.
    TomFryers committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    507234c View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

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

Commits on Aug 13, 2022

  1. Use --no-implicit-optional for type checking (psf#3220)

    This makes type checking PEP 484 compliant (as of 2018).
    mypy will change its defaults soon.
    
    See:
    python/mypy#9091
    python/mypy#13401
    hauntsaninja committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    680cbe3 View commit details
    Browse the repository at this point in the history
  2. add preview option support for blackd (psf#3217)

    Fixes psf#3195
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    Mogost and ichard26 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    07b68e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7b9671 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ebf14d View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Update email (psf#3235)

    This file gets scraped a lot, so create a distinct email for potential
    spam.
    ahrex committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6e0ad52 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Add passing 3.11 CI by exempting blackd tests (psf#3234)

    - Had to exempt blackd tests for now due to aiohttp
      - Skip by using `sys.version_info` tuple
      - aiohttp does not compile in 3.11 yet - refer to psf#3230
    - Add a deadsnakes ubuntu workflow to run 3.11-dev to ensure we don't regress
      - Have it also format ourselves
    
    Test:
    - `tox -e 311`
    
    Co-authored-by: Cooper Ry Lees <me@wcooperlees.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    59acf8a View commit details
    Browse the repository at this point in the history
  2. Fix a string merging/split issue caused by standalone comments. (psf#…

    …3227)
    
    Fixes psf#2734: a standalone comment causes strings to be merged into one far too long (and requiring two passes to do so).
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    yilei and ichard26 committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    21218b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Remove hacky subprocess call in action.yml (psf#3226)

    Updates action.yml to use the alternative $GITHUB_ACTION_PATH variable
    instead of the original ${{ github.action_path }} which caused issues
    with bash on the Windows runners. This removes the need for a Python
    subprocess to call the main.py script.
    ionite34 committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    a5fde8a View commit details
    Browse the repository at this point in the history
  2. Fix misdetection of project root with --stdin-filename (psf#3216)

    There are a number of places this behaviour could be patched, for
    instance, it's quite tempting to patch it in `get_sources`. However
    I believe we generally have the invariant that project root contains all
    files we want to format, in which case it seems prudent to keep that
    invariant.
    
    This also improves the accuracy of the "sources to be formatted" log
    message with --stdin-filename.
    
    Fixes psfGH-3207.
    hauntsaninja committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    c47b91f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. Lazily import parallelized format modules

    `black.reformat_many` depends on a lot of slow-to-import modules. When
    formatting simply a single file, the time paid to import those modules
    is totally wasted. So I moved `black.reformat_many` and its helpers
    to `black.concurrency` which is now *only* imported if there's more
    than one file to reformat. This way, running Black over a single file
    is snappier
    
    Here are the numbers before and after this patch running `python -m
    black --version`:
    
    - interpreted: 411 ms +- 9 ms -> 342 ms +- 7 ms: 1.20x faster
    - compiled: 365 ms +- 15 ms -> 304 ms +- 7 ms: 1.20x faster
    
    Co-authored-by: Fabio Zadrozny <fabiofz@gmail.com>
    ichard26 and fabioz committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    e269f44 View commit details
    Browse the repository at this point in the history
  2. Load .gitignore and exclude regex at time of use

    Loading .gitignore and compiling the exclude regex can take more than
    15ms. We shouldn't and don't need to pay this cost if we're simply
    formatting files given on the command line directly.
    
    I would've loved to lazily import pathspec, but the patch won't be clean
    until the file collection and discovery logic is refactored first.
    
    Co-authored-by: Fabio Zadrozny <fabiofz@gmail.com>
    ichard26 and fabioz committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    afed2c0 View commit details
    Browse the repository at this point in the history
  3. Delay worker count determination

    os.cpu_count() can return None (sounds like a super arcane edge case
    though) so the type annotation for the `workers` parameter of
    `black.main` is wrong. This *could* technically cause a runtime
    TypeError since it'd trip one of mypyc's runtime type checks so we
    might as well fix it.
    
    Reading the documentation (and cross-checking with the source code),
    you are actually allowed to pass None as `max_workers` to
    `concurrent.futures.ProcessPoolExecutor`. If it is None, the pool
    initializer will simply call os.cpu_count() [^1] (defaulting to 1 if it
    returns None [^2]). It'll even round down the worker count to a level
    that's safe for Windows.
    
    ... so theoretically we don't even need to call os.cpu_count()
    ourselves, but our Windows limit is 60 (unlike the stdlib's 61) and I'd
    prefer not accidentally reintroducing a crash on machines with many,
    many CPU cores.
    
    [^1]: https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor
    [^2]: https://github.com/python/cpython/blob/a372a7d65320396d44e8beb976e3a6c382963d4e/Lib/concurrent/futures/process.py#L600
    ichard26 committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    c0cc19b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Add parens around implicit string concatenations where it increases r…

    …eadability (psf#3162)
    
    Adds parentheses around implicit string concatenations when it's inside
    a list, set, or tuple. Except when it's only element and there's no trailing
    comma.
    
    Looking at the order of the transformers here, we need to "wrap in
    parens" before string_split runs. So my solution is to introduce a
    "collaboration" between StringSplitter and StringParenWrapper where the
    splitter "skips" the split until the wrapper adds the parens (and then
    the line after the paren is split by StringSplitter) in another pass.
    
    I have also considered an alternative approach, where I tried to add a
    different "string paren wrapper" class, and it runs before string_split.
    Then I found out it requires a different do_transform implementation
    than StringParenWrapper.do_transform, since the later assumes it runs
    after the delimiter_split transform. So I stopped researching that
    route.
    
    Originally function calls were also included in this change, but given
    missing commas should usually result in a runtime error and the scary
    amount of changes this cause on downstream code, they were removed in
    later revisions.
    yilei committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    ba618a3 View commit details
    Browse the repository at this point in the history
  2. Use strict mypy checking (psf#3222)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    hauntsaninja and ichard26 committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    2c90480 View commit details
    Browse the repository at this point in the history
  3. Use .gitignore files in the initial source directories (psf#3237)

    Solves psf#2598 where Black wouldn't
    use .gitignore at folder/.gitignore if you ran `black folder` for
    example.
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    martinResearch and ichard26 committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    767604e View commit details
    Browse the repository at this point in the history
  4. Improve & update release process to reflect recent changes (psf#3242)

    - Formalise release cadence guidelines
    - Overhaul release steps to be easier to follow and more thorough
    - Reorder changelog template to something more sensible
    - Update release automation docs to reflect recent improvements (notably
      the addition of in-repo mypyc wheel builds)
    
    Co-authored-by: Felix Hildén <felix.hilden@gmail.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    7757078 View commit details
    Browse the repository at this point in the history
  5. Update stable branch after publishing to PyPI (psf#3223)

    We've decided to a) convert stable back into a branch and b) to update
    it immediately as part of the release process. We may as well automate
    it. And about going back to a branch ...
    
    Git tags are not the right tool, at all[^1]. They come with the
    expectation that they will never change. Things will not work as
    expected if they do change, doubly so if they change regularly. Once
    you pull stable from the remote and it's copied in your local
    repository, no matter how many times you run git pull you'll never see
    it get updated automatically. Your only recourse is to delete the tag
    via `git tag -d stable` before pulling.
    
    This gets annoying really quickly since stable is supposed to be the
    solution for folks "who want to move along as Black developers deem
    the newest version reliable."[^2] See this comment for how this impacts
    users using our Vim plugin[^3]. It also affects us developers[^4]. If
    you have stable locally, once we cut a new release and update the stable
    tag, a simple `git pull` / `git fetch` will not pull down the updated
    stable tag. Unless you remember to delete stable before pulling, stable
    will become stale and useless.
    
    You can argue this is a good thing ("people should explicitly opt into
    updating stable"), but IMO it does not match user expectations nor
    developer expectations[^5]. Especially since not all our integrations
    that use stable are bound by this security measure, for example our
    GitHub Action (since it does a clean fetch of the repository every time
    it's used). I believe consistency would be good here.
    
    Finally, ever since we switched to a tag, we've been facing issues with
    ReadTheDocs not picking up updates to stable unless we force a rebuild.
    The initial rebuild on the stable update just pulls the commit the tag
    previously pointed to. I'm not sure if switching back to a branch will
    fix this, but I'd wager it will.
    
    [^1]: https://git-scm.com/docs/git-tag#_on_re_tagging
    
    [^2]: https://black.readthedocs.io/en/stable/contributing/release_process.html#moving-the-stable-tag
    
    [^3]: psf#2503 (comment)
    
    [^4]: In fairness, most folks working on Black probably don't use the
          `stable` ref anyway, especially us maintainers who'd know what is
          the latest version by heart, but it'd still be nice to make it
          usable for local dev though.
    
    [^5]: Also what benefit does a `stable` ref have over explicit version
          tags like `22.6.0`? If you're going to opt into some odd pin
          mechanism, might as well use explicit version tags for clarity
          and consistency.
    ichard26 committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    0019261 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2018e66 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. docs: adds ExitStack alternative to future_style.md (psf#3247)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    095fe0d View commit details
    Browse the repository at this point in the history
  2. Add preview flag to Vim plugin (psf#3246)

    This allows the configuration of the --preview flag in the Vim plugin.
    SyPeter committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    92c93a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. Mitigate deprecation of aiohttp's @middleware decorator (psf#3259)

    This is deprecated since aiohttp 4.0. If it doesn't exist just define a
    no-op decorator that does nothing (after the other aiohttp imports
    though!). By doing this, it's safe to ignore the DeprecationWarning
    without needing to require the latest aiohttp once they remove
    `@middleware`.
    ichard26 committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    062e644 View commit details
    Browse the repository at this point in the history
  2. Move 3.11 tests to install aiohttp without C extensions (psf#3258)

    * Move 311 tests to install aiohttp without C extensions
    
    - Configure tox to install aiohttp without extensions
      - i.e. use `AIOHTTP_NO_EXTENSIONS=1` for pip install
      - This allows us to reenable blackd tests that use aiohttp testing helpers etc.
    - Had to ignore `cgi` module deprecation warning
      - Filed issue for aiohttp to fix: aio-libs/aiohttp#6905
    
    Test:
    - `/tmp/tb/bin/tox -e 311`
    
    * Fix formatting + linting
    
    * Add latest aiohttp for loop fix + Try to exempt deprecation warning but failed - will ask for help
    
    * Remove unnecessary warning ignore
    
    Co-authored-by: Cooper Ry Lees <me@wcooperlees.com>
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    3 people committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    383b228 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    72a2559 View commit details
    Browse the repository at this point in the history
  2. Fix a crash on dicts with paren-wrapped long string keys (psf#3262)

    Fix a crash when formatting some dicts with parenthesis-wrapped long
    string keys. When LL[0] is an atom string, we need to check the atom
    node's siblings instead of LL[0] itself, e.g.:
    
        dictsetmaker
          atom
            STRING '"This is a really long string that can\'t be expected to fit in one line and is used as a nested dict\'s key"'
          /atom
          COLON ':'
          atom
            LSQB ' ' '['
            listmaker
              STRING '"value"'
              COMMA ','
              STRING ' ' '"value"'
            /listmaker
            RSQB ']'
          /atom
          COMMA ','
        /dictsetmaker
    yilei committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    e2adcd7 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Improve order of paragraphs on line splitting (psf#3270)

    These two paragraphs were tucked away at the end of the section, after
    the diversion on backslashes. I nearly missed the first paragraph and
    opened a nonsense issue, and I think the second belongs higher up with
    it too.
    TomFryers committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    04bce6a View commit details
    Browse the repository at this point in the history
  2. Fix mypyc build errors on newer manylinux2014_x86_64 images (psf#3272)

    Make sure `gcc` is installed in the build env
    
    The mypyc build requires `gcc` to be installed even if it's being built with `clang`, otherwise `clang` fails to find `libgcc`.
    zsol committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    d852af7 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Bump furo from 2022.6.21 to 2022.9.15 in /docs (psf#3277)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    6ae8457 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Build mypyc wheels for CPython 3.11 (psf#3276)

    Bumps cibuildwheel from 2.8.1 to 2.10.0 which has 3.11 building enabled
    by default. Unfortunately mypyc errors out on 3.11:
    
    src/black/files.py:29:9: error: Name "tomllib" already defined (by an import)  [no-redef]
    
    ... so we have to also hide the fallback import of tomli on older 3.11
    alphas from mypy[c].
    ichard26 committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    75d5c0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c99900 View commit details
    Browse the repository at this point in the history
  3. Support version specifiers in GH action (psf#3265)

    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    Jackenmen and ichard26 committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    bfc013a View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Fix a crash when # fmt: on is used on a different block level than …

    …`# fmt: off` (psf#3281)
    
    Previously _Black_ produces invalid code because the `# fmt: on` is used on a different block level.
    
    While _Black_ requires `# fmt: off` and `# fmt: on` to be used at the same block level, incorrect usage shouldn't cause crashes.
    
    The formatting behavior this PR introduces is, the code below the initial `# fmt: off` block level will be turned off for formatting, when `# fmt: on` is used on a different level or there is no `# fmt: on`. This also matches the current behavior when `# fmt: off` is used at the top-level without a matching `# fmt: on`, it turns off formatting for everything below `# fmt: off`.
    
    - Fixes psf#2567
    - Fixes psf#3184
    - Fixes psf#2985
    - Fixes psf#2882
    - Fixes psf#2232
    - Fixes psf#2140
    - Fixes psf#1817
    - Fixes psf#569
    yilei committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    55db055 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2022

  1. Make README logo link to docs (psf#3285)

    docs: Make README logo link to docs
    stinodego committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    4b4680a View commit details
    Browse the repository at this point in the history
  2. Switch build backend to Hatchling (psf#3233)

    This implements PEP 621, obviating the need for `setup.py`, `setup.cfg`,
    and `MANIFEST.in`. The build backend Hatchling (of which I am a
    maintainer in the PyPA) is now used as that is the default in the
    official Python packaging tutorial. Hatchling is available on all the
    major distribution channels such as Debian, Fedora, and many more.
    
    ## Python support
    
    The earliest supported Python 3 version of Hatchling is 3.7, therefore
    I've also set that as the minimum here. Python 3.6 is EOL and other
    build backends like flit-core and setuptools also dropped support.
    Python 3.6 accounted for 3-4% of downloads in the last month.
    
    ## Plugins 
    
    Configuration is now completely static with the help of 3 plugins:
    
    ### Readme
    
    hynek's hatch-fancy-pypi-readme allows for the dynamic construction of
    the readme which was previously coded up in `setup.py`. Now it's simply:
    
    ```toml
    [tool.hatch.metadata.hooks.fancy-pypi-readme]
    content-type = "text/markdown"
    fragments = [
      { path = "README.md" },
      { path = "CHANGES.md" },
    ]
    ```
    
    ### Versioning
    
    hatch-vcs is currently just a wrapper around setuptools-scm (which
    despite the legacy naming is actually now decoupled from setuptools):
    
    ```toml
    [tool.hatch.version]
    source = "vcs"
    
    [tool.hatch.build.hooks.vcs]
    version-file = "src/_black_version.py"
    template = '''
    version = "{version}"
    '''
    ```
    
    ### mypyc
    
    hatch-mypyc offers many benefits over the existing approach:
    
    - No need to manually select files for inclusion
    - Avoids the need for the current CI workaround for mypyc/mypyc#946
    - Intermediate artifacts (like `build/`) from setuptools and mypyc
      itself no longer clutter the project directory
    - Runtime dependencies required at build time no longer need to be
      manually redeclared as this is a built-in option of Hatchling
    
    Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    468ceaf View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Fix outdated references to 3.6 and run pyupgrade (psf#3286)

    I also missed the accidental removal of the 3.11 classifier in the PR.
    ichard26 committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    2189bca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af3de08 View commit details
    Browse the repository at this point in the history
  3. Bump actions/upload-artifact from 2 to 3 (psf#3289)

    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    42fdd1b View commit details
    Browse the repository at this point in the history
  4. Bump sphinx from 5.1.1 to 5.2.1 in /docs (psf#3288)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.1.1 to 5.2.1.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v5.1.1...v5.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    1f2ad77 View commit details
    Browse the repository at this point in the history
  5. Add option to format Jupyter Notebooks in GitHub Action (psf#3282)

    To run the formatter on Jupyter Notebooks, Black must be installed
    with an extra dependency (`black[jupyter]`). This commit adds an
    optional argument to install Black with this dependency when using the
    official GitHub Action [1]. To enable the formatter on Jupyter
    Notebooks, just add `jupyter: true` as an argument. Feature requested
    at [2].
    
    [1]: https://black.readthedocs.io/en/stable/integrations/github_actions.html
    [2]: psf#3280
    
    Signed-off-by: Antonio Ossa Guerra <aaossa@uc.cl>
    aaossa committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    6b42c2b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Mention CHANGES.md in PR template explicitly (psf#3295)

    This makes the location more explicit which hopefully makes the PR
    process smoother for other first time contributors.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    raybellwaves and JelleZijlstra committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    096806e View commit details
    Browse the repository at this point in the history
  2. Bump pypa/cibuildwheel from 2.10.0 to 2.10.2 (psf#3290)

    updated-dependencies:
    - dependency-name: pypa/cibuildwheel
      dependency-type: direct:production
      update-type: version-update:semver-patch
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    ddb9924 View commit details
    Browse the repository at this point in the history
  3. Enable build isolation under CIWB (psf#3297)

    No idea how this is still here after the Hatchling PR, but it is no
    longer useful and is breaking the build.
    ichard26 committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    141291a View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2022

  1. Add .ipynb_checkpoints to DEFAULT_EXCLUDES (psf#3293)

    Jupyter creates a checkpoint file every single time you create an .ipynb
    file, and then it updates the checkpoint file every single time you
    manually save your progress for the initial .ipynb. These checkpoints
    are stored in a directory named `.ipynb_checkpoints`.
    
    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    raybellwaves and isidentical committed Oct 2, 2022
    Configuration menu
    Copy the full SHA
    956bf39 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Bump myst-parser from 0.18.0 to 0.18.1 in /docs (psf#3303)

    Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.18.0 to 0.18.1.
    - [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
    - [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
    - [Commits](executablebooks/MyST-Parser@v0.18.0...v0.18.1)
    
    ---
    updated-dependencies:
    - dependency-name: myst-parser
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    b1077aa View commit details
    Browse the repository at this point in the history
  2. Bump furo from 2022.9.15 to 2022.9.29 in /docs (psf#3304)

    Bumps [furo](https://github.com/pradyunsg/furo) from 2022.9.15 to 2022.9.29.
    - [Release notes](https://github.com/pradyunsg/furo/releases)
    - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
    - [Commits](pradyunsg/furo@2022.09.15...2022.09.29)
    
    ---
    updated-dependencies:
    - dependency-name: furo
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Cooper Lees <cooper@fb.com>
    dependabot[bot] and cooperlees committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    980997f View commit details
    Browse the repository at this point in the history
  3. Bump sphinx from 5.2.1 to 5.2.3 in /docs (psf#3305)

    Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.1 to 5.2.3.
    - [Release notes](https://github.com/sphinx-doc/sphinx/releases)
    - [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
    - [Commits](sphinx-doc/sphinx@v5.2.1...v5.2.3)
    
    ---
    updated-dependencies:
    - dependency-name: sphinx
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    1a20c4d View commit details
    Browse the repository at this point in the history
  4. Bump docutils from 0.18.1 to 0.19 in /docs (psf#3161)

    Bumps [docutils](https://docutils.sourceforge.io/) from 0.18.1 to 0.19.
    
    ---
    updated-dependencies:
    - dependency-name: docutils
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    27d7ea4 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Preserve crlf line endings in blackd (psf#3257)

    Co-authored-by: KotlinIsland <kotlinisland@users.noreply.github.com>
    KotlinIsland and KotlinIsland committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    0359b85 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. bump from upstream

    dwanderson-intel committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    4c1a9eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85d425f View commit details
    Browse the repository at this point in the history