Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
black: Autospec creation for update from version 20.8b1 to version 21…
Browse files Browse the repository at this point in the history
….4b0

Abdullah Selek (1):
      Start using Python 3.9 on Travis (#1790)

Antek S (1):
      Update readme.md with current version (#1788)

Anthony Sottile (1):
      speed up cache by approximately 42x by avoiding pathlib (#1953)

Archit Gopal (1):
      add gedit integration (#1988)

Austin Pray (1):
      Adds --stdin-filename back to changelog (#2017)

Bibo-Joshi (1):
      Document some culprits with pre-commit (#1783)

Bryan Bugyi (7):
      Fix unstable formatting on string split + % formatting (#1680)
      Fix crash on concatenated string + comment (fixes #1596) (#1677)
      Fix crash on assert and parenthesized % format (fixes #1597, fixes #1605) (#1681)
      Fix unstable subscript assignment string wrapping (#1678)
      Fix bug where black tries to split string on escaped space (#1799)
      Fix bug which causes f-expressions to be split (#1809)
      Fix INTERNAL ERROR caused by removing parens from pointless string (#1888)

Casper Weiss Bang (1):
      Use lowercase hex numbers fixes #1692 (#1775)

Cha Gyuseok (1):
      docs: update `used-by` link to proper url (#1745)

CiderMan (1):
      Handle Docstrings as bytes + strip all whitespace (#2037)

Cooper Lees (10):
      Add blackd to nicely exit if missing aiohttp deps (#1761)
      Update Contributing Docs (#1915)
      Add a GitHub CHANGELOG/News Check (#2057)
      Add a GitHub Action to build + Upload black to PyPI (#1848)
      Add CONTRBUTING info about CHANGES.md requirement (#2073)
      Run lint in latest python + update precommit (#2081)
      Add `black` Dockerfile (#1916)
      Add Docker Github Action (#2086)
      Docker CI: Add missed Checkout step (#2128)
      Update CHANGES.md for release (#2129)

Daniel (1):
      Fix typo in docstring (#1700)

David W.H. Swenson (1):
      Fix GitHub markdown links to work on RTD (#1752)

Emilv2 (1):
      Fix typo (#1931)

Felix Hildén (2):
      Instructions on documenting code style modifications (#2109)
      Document experimental string processing and docstring indentation (#2106)

Hadi Alqattan (3):
      Support stable Python3.9. (#1748)
      Allow black's Github action params overriding. (#1755)
      Remove unused import statements using Pycln. (#2021)

Hakan Çelik (1):
      Fix unnecessary if checks (#1728)

Harish Rajagopal (1):
      Support for top-level user configuration (#1899)

Hugo van Kemenade (7):
      Test primer on Pillow (#1679)
      Virtualenv is now formatted with newest Black pypa/virtualenv#1939 (#1695)
      Hypothesis is now formatted with Black 20.8b1 (#1729)
      Primer: pyramid and sqlalchemy are now formatted with latest Black (#1736)
      As long as it's black (#1893)
      Bump typed-ast to fix for s390x (#1892)
      Black requires Python 3.6.2+ (#1668)

Jairo Llopis (1):
      Recommend B950 + 88 char limit instead of 80 (#2050)

Jakub Warczarek (1):
      Get rid of redundant spaces in docs (#2085)

James (1):
      Fix for enum changes in 3.10 (#1999)

James Addison (16):
      Remove placeholder exit code in unreachable 'black-primer' subprocess handler (#1952)
      Regenerate documentation (#1980)
      Stability fixup: interaction between newlines and comments (#1975)
      fuzzer: add special-case for multi-line EOF TokenError (#1991)
      Brevity: rename method
      Clarity: isolate and extract each responsibility from an overloaded variable
      Brevity: only use the variables required to convey the intended expressions
      Consistency: use variable names that correspond to the methods they invoke
      Clarity: special case: avoid using variables that have the same names as methods
      Simplification: only use special-case token retrieval logic when magic trailing comma is present
      Simplification: only yield empty omit list when magic trailing comma is present
      Cleanup: remove unused / redundant variables from conditionals
      Readability: reduce boolean nesting
      Minimize changes: more closely resemble original conditional logic
      Fixup: update function name in docs to match source (#1997)
      Fuzzer testing: less strict special-case regex match passthrough for multi-line EOF exceptions (#1998)

Jelle Zijlstra (2):
      Fix error from upcoming typeshed change (#2096)
      fix typing issue around lru_cache arguments (#2098)

John Meow (1):
      Add ALE (#1753)

Jon Dufresne (3):
      Remove flake8 W503 from docs as it is ignored by default (#1661)
      Add pyi file support to .pre-commit-hooks.yaml (#1875)
      Bump minimum_pre_commit_version per recommendation (#1895)

Joshua Cannon (2):
      Add --extend-exclude parameter (#2005)
      Turn test_regex into a click callback (#2016)

Justin Prieto (1):
      Correctly handle inline tabs in docstrings (#1810)

Konstantin Alekseev (1):
      Use vim autoload script (#1157)

KotlinIsland (1):
      don't require typed-ast

Laurent Tréguier (1):
      Fix small comment typo (#2112)

Mark Bell (2):
      GREP for PR reference accepts references that are split over a line (#2072)
      Make black remove leading and trailing spaces from one-line docstrings (#1740)

Michael Wilkinson (1):
      Add link to conda-forge integration (#1687)

Noel Evans (1):
      vim plugin: Add quiet flag so non-error actions go unreported (#1733)

Oliver Newman (1):
      Update example exclude to match only files in root (#1861)

Paul "TBBle" Hampson (2):
      Use Prettier pre-commit mirror (#1896)
      Indicate that a final newline was added in --diff (#1897) (#1897)

Pete Grayson (1):
      Repair colorama wrapping on non-Windows platforms (#1670)

Peter Stensmyr (1):
      Update link pointing to how-black-wraps-lines (#1925)

Pierre Sassoulas (1):
      Remove NBSP at the beginning of comments (#2092)

Pierre Verkest (1):
      Add missing instructions to make test passed (#2100)

QuentinSoubeyran (1):
      PEP 614 support (#1717)

Richard Si (16):
      Fix multiline docstring quote normalization
      Fix incorrect space before colon in if/while stmts (#1655)
      Update primer.json to reflect Black's adoption (#1674)
      Fix empty line handling when formatting typing stubs (#1646)
      Automatically build and upload binaries on release (#1743)
      Allow same RHS expressions in annotated assignments as in regular assignments (#1835)
      Switch back to Python 3.8 for ReadTheDocs (#1839)
      Fuzz on Python 3.9 too (#1882)
      Bump mypy to 0.780 in pre-commit config (#1887)
      Update prettier in pre-commit config (#1966)
      Fix duplication of checks on internal PRs (#1986)
      Add missing changelog entry for fmt: skip (#2025)
      Fix indentation in docs/editor_integration.md (#2056)
      Add entry for `--extend-exclude` in the right place (#2061)
      Push contributors to use Next PR Number (#2080)
      Issue 1629 has been closed, let's celebrate! (#2127)

Rick Staa (1):
      Release gh action (#1909)

Rishav Kundu (1):
      Strip redundant parentheses from assignment exprs (#1906)

Romain Rigaux (1):
      Use 'args' to Avoid GH workflow warning (#1990)

Rowan Rodrik van der Molen (1):
      Fix g:black_fast and g:black_(skip)_string_normalization opts

Sagi Shadur (3):
      Switch to pytest and tox (#1763)
      Extract formatting tests (#1785)
      Add "# fmt: skip" directive to black (#1800)

Shantanu (3):
      Remove all trace of flake8-mypy (#1867)
      Add --skip-magic-trailing-comma (#1824)
      Add `--skip-magic-trailing-comma` to CHANGES.md (#2064)

Shota Ray Imaki (2):
      Add compatible configuration files. (psf#1789) (#1792)
      fix #1917 (#1918)

Simon (1):
      Added not formatting files in gitignore (psf#1682) (#1734)

Taneli Hukkinen (1):
      Only require typing-extensions if Python < 3.8 (#1873)

Thiago Bellini Ribeiro (1):
      Provide a stdin-filename to allow stdin to respect force-exclude rules (#1780)

Thomas Hagebols (1):
      Set gh action entrypoint interpreter to bash (#1919)

Tom Saunders (1):
      Handle .COLOR_DIFF in the same way as .DIFF (#1673)

Tristan Seligmann (1):
      Fix typo in comment (#1650)

Troy Murray (1):
      Changed max workers on windows to 60 (#1912)

Utkarsh Gupta (1):
      Add formatters-python for atom to editor_integration (#1834)

Vipul (1):
      End 'force-exclude' help message with a period (#1727)

Yurii Karabas (3):
      Simplify black code by using generator expressions
      Revert contains_standalone_comments function changes
      Revert contains_pragma_comment function changes

Zac Hatfield-Dodds (1):
      OSS-Fuzz integration (#1930)

dependabot[bot] (6):
      Bump cryptography from 3.1 to 3.2 (#1791)
      Bump bleach from 3.2.1 to 3.3.0 (#1957)
      Bump cryptography from 3.3.1 to 3.3.2 (#1981)
      Bump aiohttp from 3.7.3 to 3.7.4 (#2009)
      Bump pygments from 2.6.1 to 2.7.4 in /docs (#2076)
      Bump urllib3 from 1.26.3 to 1.26.4 (#2090)

johnthagen (2):
      Update PyCharm integrations instructions to avoid running on external changes (#1769)
      Exclude venv directory by default (#1683)

mbarkhau (1):
      fix 1631 and add test (#1641)

nikkie (1):
      fix format_str() docstring to prevent users from running into NameError (#1885)

rht (1):
      readme: Include Zulip in used-by section (#1987)

tpilewicz (1):
      Wrap arithmetic and binary arithmetic expressions in invisible parentheses (#2001)

Łukasz Langa (7):
      Stop running Primer on macOS as it's flaky on GitHub Actions
      Mention optional invalid W503 warning in pycodestyle
      Clarify current trailing comma behavior in the docs
      Revert "Use lowercase hex numbers fixes #1692 (#1775)"
      Re-add .venv to .gitignore
      Fix primer config
      Work around stability errors due to optional trailing commas (#2126)
  • Loading branch information
fenrus75 committed Apr 26, 2021
1 parent 681ecc5 commit 1d0bb20
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := black
URL = https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz
URL = https://files.pythonhosted.org/packages/d5/46/b60715462dc0d9dd78a565ffc52bfdd4c5ed6716bb9e336088cc904e6955/black-21.4b0.tar.gz
ARCHIVES =

include ../common/Makefile.common
30 changes: 15 additions & 15 deletions black.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
# Source0 file verified with key 0xB26995E310250568 ([email protected])
#
Name : black
Version : 20.8b1
Release : 9
URL : https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz
Source0 : https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz
Source1 : https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz.asc
Version : 21.4b0
Release : 10
URL : https://files.pythonhosted.org/packages/d5/46/b60715462dc0d9dd78a565ffc52bfdd4c5ed6716bb9e336088cc904e6955/black-21.4b0.tar.gz
Source0 : https://files.pythonhosted.org/packages/d5/46/b60715462dc0d9dd78a565ffc52bfdd4c5ed6716bb9e336088cc904e6955/black-21.4b0.tar.gz
Summary : The uncompromising code formatter.
Group : Development/Tools
License : MIT Python-2.0
Expand Down Expand Up @@ -38,12 +35,17 @@ BuildRequires : colorama
BuildRequires : dataclasses
BuildRequires : mypy_extensions
BuildRequires : pathspec
BuildRequires : pluggy
BuildRequires : py-python
BuildRequires : pytest
BuildRequires : regex
BuildRequires : setuptools
BuildRequires : setuptools_scm-python
BuildRequires : toml
BuildRequires : tox
BuildRequires : typed_ast
BuildRequires : typing_extensions
BuildRequires : virtualenv

%description
<h2 align="center">The Uncompromising Code Formatter</h2>
Expand Down Expand Up @@ -89,23 +91,21 @@ Requires: pypi(mypy_extensions)
Requires: pypi(pathspec)
Requires: pypi(regex)
Requires: pypi(toml)
Requires: pypi(typed_ast)
Requires: pypi(typing_extensions)

%description python3
python3 components for the black package.


%prep
%setup -q -n black-20.8b1
cd %{_builddir}/black-20.8b1
%setup -q -n black-21.4b0
cd %{_builddir}/black-21.4b0

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1605207300
export SOURCE_DATE_EPOCH=1619446672
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -126,9 +126,9 @@ PYTHONPATH=%{buildroot}$(python -c "import sys; print(sys.path[-1])") python set
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/black
cp %{_builddir}/black-20.8b1/LICENSE %{buildroot}/usr/share/package-licenses/black/edd079e7a759fe1fcf1d089e28b9c7df2080b42c
cp %{_builddir}/black-20.8b1/docs/_static/license.svg %{buildroot}/usr/share/package-licenses/black/748f560ab176347fcb653c766cb3b5f91d99b4fd
cp %{_builddir}/black-20.8b1/src/blib2to3/LICENSE %{buildroot}/usr/share/package-licenses/black/8482348f12824b36fba59883f9dd7fe03c1f86ca
cp %{_builddir}/black-21.4b0/LICENSE %{buildroot}/usr/share/package-licenses/black/edd079e7a759fe1fcf1d089e28b9c7df2080b42c
cp %{_builddir}/black-21.4b0/docs/_static/license.svg %{buildroot}/usr/share/package-licenses/black/748f560ab176347fcb653c766cb3b5f91d99b4fd
cp %{_builddir}/black-21.4b0/src/blib2to3/LICENSE %{buildroot}/usr/share/package-licenses/black/8482348f12824b36fba59883f9dd7fe03c1f86ca
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion buildreq_cache
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
20.8b1
21.4b0
setuptools
setuptools_scm-python
2 changes: 1 addition & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = black
url = https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz
url = https://files.pythonhosted.org/packages/d5/46/b60715462dc0d9dd78a565ffc52bfdd4c5ed6716bb9e336088cc904e6955/black-21.4b0.tar.gz
archives =
giturl = https://github.com/psf/black.git
domain =
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9
10
6 changes: 3 additions & 3 deletions testresults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Total : 144
Pass : 142
Fail : 2
Total : 101
Pass : 101
Fail : 0
Skip : 0
XFail : 0
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
65462f991edd03e8e7f4f26364d2ace6757b17b8/black-20.8b1.tar.gz
1efbd01bc71012e6b4c110fa26c79fcd54e442bf/black-21.4b0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.8b1
21.4b0
3 changes: 3 additions & 0 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# This file contains recursive sources that require this package
Pillow
hypothesis
pcs
pyls-black

0 comments on commit 1d0bb20

Please sign in to comment.