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

Upstream force #8

Merged
merged 695 commits into from
Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
695 commits
Select commit Hold shift + click to select a range
b8df7e4
Drop upper version bounds on dependencies (GH-2718)
JelleZijlstra Dec 30, 2021
4f5268a
Primer: exclude crashing sqlalchemy file for now (GH-2735)
ichard26 Dec 31, 2021
8a84beb
Documentation: include Wing IDE 8 integrations (GH-2733)
gunungpw Jan 2, 2022
668bace
Improve CLI reference wording (#2753)
felix-hilden Jan 7, 2022
05e1fbf
Stubs: preserve blank line between attributes and methods (#2736)
ichard26 Jan 7, 2022
ea4c772
Action: Support running in a docker container (#2748)
joshowen Jan 7, 2022
e64949e
Fix call patterns that contain as-expression on the kwargs (#2749)
isidentical Jan 7, 2022
e401b6b
Remove Python 2 support (#2740)
ichard26 Jan 10, 2022
521d1b8
Enhance `--verbose` (#2526)
Shivansh-007 Jan 10, 2022
3e73152
Speed up new backtracking parser (#2728)
isidentical Jan 10, 2022
0f26a03
Fix handling of standalone match/case with newlines/comments (#2760)
isidentical Jan 10, 2022
4efb795
Change git url for pip installation in README (#2761)
bo5o Jan 11, 2022
8954e58
Change installation url to comply with git security change (#2765)
jlazar17 Jan 11, 2022
f298032
don't expect changes on poetry (#2769)
JelleZijlstra Jan 13, 2022
799f76f
Normalise string prefix order (#2297)
felix-hilden Jan 13, 2022
7a29568
Don't make redundant copies of the DFA (#2763)
isidentical Jan 14, 2022
5543d1b
Added decent coloring (#2712)
VanSHOE Jan 14, 2022
565f9c9
CI: add diff-shades integration (#2725)
ichard26 Jan 14, 2022
5fe6d48
Dont require typing-extensions in 3.10 (GH-2772)
MarcoGorelli Jan 15, 2022
33e3bb1
[trivial] Use proper test cases on `unittest` (#2775)
isidentical Jan 15, 2022
1d2ed2b
Bump sphinx from 4.3.2 to 4.4.0 in /docs (#2776)
dependabot[bot] Jan 17, 2022
98db4ab
Fix typo in diff_shades.yml workflow (#2778)
JelleZijlstra Jan 17, 2022
8c22d23
Create --preview CLI flag (#2752)
felix-hilden Jan 20, 2022
9bd4134
Fix and speedup diff-shades integration (#2773)
ichard26 Jan 20, 2022
6e97c5f
Deprecate ESP and move the functionality under --preview (#2789)
felix-hilden Jan 20, 2022
e66e0f8
Hint at likely cause of ast parsing failure in error message (#2786)
emfdavid Jan 20, 2022
4ea75cd
Add support for custom python cell magics (#2744)
mgmarino Jan 21, 2022
e0c5728
Set `click` lower bound to `8.0.0` (#2791)
Shivansh-007 Jan 21, 2022
95c03b9
add wind technology software projects using black (#2792)
RHammond2 Jan 21, 2022
d24bc43
Switch to Furo (#2793)
ichard26 Jan 21, 2022
10677ba
Allow setting custom cache directory on all platforms (#2739)
percurnicus Jan 22, 2022
fb1d1b2
Mark Felix and Batuhan as maintainers (#2794)
ichard26 Jan 22, 2022
811de5f
Refactor logic for stub empty lines (#2796)
hauntsaninja Jan 22, 2022
b3b341b
Mention "skip news" label in CHANGELOG action (#2797)
hauntsaninja Jan 22, 2022
022f896
Enable pattern matching by default (#2758)
isidentical Jan 22, 2022
6e3677f
Allow blackd to be run as a package (#2800)
ichard26 Jan 23, 2022
d2c938e
Remove Beta mentions in README + Docs (#2801)
cooperlees Jan 23, 2022
3905173
Use `magic_trailing_comma` and `preview` for `FileMode` in `fuzz` (#2…
sobolevn Jan 23, 2022
73cb6e7
Make SRC or code mandatory and mutually exclusive (#2360) (#2804)
felix-hilden Jan 24, 2022
6417c99
Hug power operators if its operands are "simple" (#2726)
ichard26 Jan 25, 2022
32dd9ec
properly run ourselves twice (#2807)
JelleZijlstra Jan 25, 2022
889a8d5
Fix crash on some power hugging cases (#2806)
JelleZijlstra Jan 27, 2022
b517dfb
black-primer: stop running it (#2809)
JelleZijlstra Jan 27, 2022
b92822a
more trailing comma tests (#2810)
JelleZijlstra Jan 27, 2022
777cae5
Use parentheses on method access on float and int literals (#2799)
Shivansh-007 Jan 28, 2022
fda2561
Tests for unicode identifiers (#2816)
hauntsaninja Jan 28, 2022
5f01b87
reorganize release notes for 22.1.0 (#2790)
JelleZijlstra Jan 28, 2022
e150676
Elaborate on Python support policy (#2819)
felix-hilden Jan 28, 2022
3437950
Treat blank lines in stubs the same inside top-level `if` statements …
hauntsaninja Jan 29, 2022
4ce049d
torture test (#2815)
JelleZijlstra Jan 29, 2022
df0aeee
Formalise style preference description (#2818)
felix-hilden Jan 29, 2022
95e77cb
Fix arithmetic stability issue (#2817)
hauntsaninja Jan 29, 2022
a24e1f7
Fix instability due to trailing comma logic (#2572)
nipunn1313 Jan 29, 2022
a4992b4
Add a test case to torture.py (#2822)
hauntsaninja Jan 29, 2022
8acb854
Update classifiers to reflect stable (#2823)
ichard26 Jan 29, 2022
0d768e5
Remove test suite from setup.py (#2824)
JelleZijlstra Jan 29, 2022
c5f8e8b
Fix changelog entries in the wrong release (#2825)
JelleZijlstra Jan 29, 2022
dea2f94
Fix changelog entries in the wrong release (#2825)
JelleZijlstra Jan 29, 2022
d038a24
Prepare docs for release 22.1.0 (GH-2826)
ichard26 Jan 29, 2022
bbe1bdf
Adjust `--preview` documentation (#2833)
JelleZijlstra Jan 30, 2022
f61299a
Exclude __pypackages__ by default (GH-2836)
JelleZijlstra Jan 30, 2022
cae7ae3
Soft comparison of --required-version (#2832)
freud14 Jan 30, 2022
afc0fb0
release process: formalize the changelog template (#2837)
JelleZijlstra Jan 30, 2022
f3f3acc
Surface links to Stability Policy (GH-2848)
sco1 Feb 1, 2022
fb9fe6b
Isolate command line tests from user-level config (#2851)
ichard26 Feb 1, 2022
111880e
Update description for GitHub Action `options:` argument (GH-2858)
magnetikonline Feb 2, 2022
31fe97e
Create indentation FAQ entry (#2855)
felix-hilden Feb 2, 2022
01001d5
Bump sphinx-copybutton from 0.4.0 to 0.5.0 in /docs (#2871)
dependabot[bot] Feb 7, 2022
9b31717
Add Django in 'used by' section in Readme (#2875)
pauloxnet Feb 8, 2022
b4a6bb0
Avoid crashing when the user has no homedir (#2814)
ewjoachim Feb 8, 2022
862c6f2
Order the disabled error codes for pylint (GH-2870)
huxuan Feb 11, 2022
07a2e6f
Fix typo in file_collection_and_discovery.md (GH-2860)
LLyaudet Feb 11, 2022
50a8569
Isolate command line tests for notebooks from user-level config (#2854)
freud14 Feb 21, 2022
8089aaa
correct Vim integration code (#2853)
benknoble Feb 21, 2022
c26c772
Add special config verbose log case when black is using user-level co…
Shivansh-007 Feb 21, 2022
7e2b2d4
Bump furo from 2022.1.2 to 2022.2.14.1 in /docs (GH-2892)
dependabot[bot] Feb 23, 2022
2918ea3
Format ourselves in preview mode (#2889)
JelleZijlstra Feb 24, 2022
6cfb518
separate CHANGELOG section for preview style (#2890)
JelleZijlstra Feb 24, 2022
9b16107
fix new formatting issue (#2895)
JelleZijlstra Feb 24, 2022
1475264
README: fix "Pragmatism" link target (#2901)
hauntsaninja Mar 1, 2022
67eaf24
replace md5 with sha256 (#2905)
tomjelinek Mar 3, 2022
7af3abd
Move test for g:load_black to improve plugin performance (GH-2896)
oncomouse Mar 5, 2022
eb21315
Bump furo from 2022.2.14.1 to 2022.3.4 in /docs (#2906)
dependabot[bot] Mar 5, 2022
6f4976a
Allow `for`'s target expression to be starred (#2879)
isidentical Mar 5, 2022
dab1be3
Bump actions/checkout from 2 to 3 (#2909)
dependabot[bot] Mar 7, 2022
fd6e92a
Bump actions/setup-python from 2 to 3 (#2908)
dependabot[bot] Mar 7, 2022
24ffc54
Fix handling of Windows junctions in normalize_path_maybe_ignore (#2904)
yoerg Mar 8, 2022
71e71e5
Use tomllib on Python 3.11 (#2903)
hauntsaninja Mar 8, 2022
9ce3c80
Bump mypy, flake8, and pre-commit-hooks in pre-commit (GH-2922)
ichard26 Mar 14, 2022
a57ab32
Farewell black-primer, it was nice knowing you (#2924)
ichard26 Mar 15, 2022
086ae68
Remove power hugging formatting from preview (#2928)
Shivansh-007 Mar 16, 2022
fa7f015
Update pylint config docs (#2931)
jpy-git Mar 16, 2022
f87df0e
dont skip formatting #%% (#2919)
MarcoGorelli Mar 21, 2022
5379d4f
stub style: remove some possible future changes (#2940)
JelleZijlstra Mar 21, 2022
062b549
Github now supports .git-blame-ignore-revs (GH-2948)
ichard26 Mar 23, 2022
3800ebd
Avoid magic-trailing-comma in single-element subscripts (#2942)
jpy-git Mar 24, 2022
14e5ce5
Remove unnecessary parentheses from tuple unpacking in `for` loops (#…
jpy-git Mar 24, 2022
14d84ba
Resolve new flake8-bugbear errors (B020) (GH-2950)
jpy-git Mar 24, 2022
bd1e980
Remove unnecessary parentheses from `except` clauses (#2939)
jpy-git Mar 26, 2022
f239d22
Enforce no formatting changes for PRs via CI (GH-2951)
ichard26 Mar 26, 2022
ac7402c
Bump sphinx from 4.4.0 to 4.5.0 in /docs (GH-2959)
dependabot[bot] Mar 28, 2022
e9681a4
Fix _unicodefun patch code for Click 8.1.0 (#2966)
JelleZijlstra Mar 28, 2022
ae2c075
Prepare release 22.3.0 (#2968)
JelleZijlstra Mar 28, 2022
2d62a09
Bump actions/cache from 2.1.7 to 3 (GH-2962)
dependabot[bot] Mar 29, 2022
82e150a
Keep tests working w/ upcoming aiohttp 4.0.0 (#2974)
ichard26 Mar 30, 2022
3dea6e3
Convert `index.rst` and `license.rst` to markdown (#2852)
gunungpw Mar 30, 2022
a66016c
Add # type: ignore for click._unicodefun import (#2981)
JelleZijlstra Mar 30, 2022
def0483
Remove click pin in diff-shades workflow (#2979)
JelleZijlstra Mar 30, 2022
3451502
Bump peter-evans/find-comment from 1.3.0 to 2 (#2960)
dependabot[bot] Apr 2, 2022
5436810
Bump peter-evans/create-or-update-comment from 1.4.5 to 2 (#2961)
dependabot[bot] Apr 2, 2022
1af29fb
try-except tomllib import (#2987)
JelleZijlstra Apr 2, 2022
4d0a4b1
Fix broken link in README.md (#2989)
jpy-git Apr 2, 2022
24c708e
Remove unnecessary parentheses from `with` statements (#2926)
jpy-git Apr 3, 2022
fa5fd26
Update test_black.shhh_click test for click 8+ (#2993)
ichard26 Apr 5, 2022
421383d
Update FAQ: Mention formatting of custom jupyter cell magic (#2982)
kolibril13 Apr 5, 2022
9b30740
Top PyPI Packages: Use 30-days data, 365 is no longer available (#2995)
hugovk Apr 6, 2022
f6188ce
Output python version and implementation as part of `--version` flag …
jpy-git Apr 6, 2022
98fccce
Better manage return annotation brackets (#2990)
jpy-git Apr 9, 2022
75f99bd
Remove redundant parentheses around awaited coroutines/tasks (#2991)
jpy-git Apr 9, 2022
431bd09
Correctly handle fmt: skip comments without internal spaces (#2970)
siuryan Apr 9, 2022
497a725
Explain our use of mypyc in the FAQ (#3002)
ichard26 Apr 10, 2022
abdc31c
Bump actions/upload-artifact from 2 to 3 (#3004)
dependabot[bot] Apr 11, 2022
40053b5
Quote "black[jupyter]" in README.md (#3007)
dignissimus Apr 11, 2022
911b59f
Bump furo from 2022.3.4 to 2022.4.7 in /docs (#3003)
dependabot[bot] Apr 11, 2022
96bd428
Quote black[jupyter] and black[d] in installation docs (#3006)
JelleZijlstra Apr 11, 2022
712f8b3
Make ipynb tests compatible with ipython 8.3.0+ (#3008)
MarcoGorelli Apr 13, 2022
7f7673d
Support 3.11 / PEP 654 syntax (#3016)
isidentical Apr 15, 2022
8ed3e3d
Updated Black Docker Hub link in docs (#3023)
JiriKr Apr 21, 2022
c6800e0
Fix strtobool function (#3025)
defntvdm Apr 28, 2022
fb8dfde
Stop pinning lark-parser (#3041)
cooperlees Apr 28, 2022
9d5edd3
Bump myst-parser from 0.16.1 to 0.17.2 in /docs (#3019)
dependabot[bot] May 2, 2022
c940f75
chore: Set permissions for GitHub actions (#3043)
naveensrinivasan May 3, 2022
9ce100b
Move imports of `ThreadPoolExecutor` into `reformat_many()`, allowing…
Zac-HD May 6, 2022
62c2b16
Docs: clarify fmt:on/off requirements (#2985) (#3048)
felix-hilden May 8, 2022
20d8ccb
Put closing quote on a separate line if docstring is too long (#3044)
idorrington92 May 8, 2022
fc2a164
Read simple data cases automatically (#3034)
saroad2 May 8, 2022
5d5b731
Bump docker/setup-qemu-action from 1 to 2 (#3056)
dependabot[bot] May 10, 2022
ba21a85
Bump docker/build-push-action from 2 to 3 (#3057)
dependabot[bot] May 10, 2022
4af87d8
Bump docker/login-action from 1 to 2 (#3059)
dependabot[bot] May 10, 2022
7f03313
Bump docker/setup-buildx-action from 1 to 2 (#3058)
dependabot[bot] May 10, 2022
2893c42
Remove hard coded test cases (#3062)
saroad2 May 18, 2022
fdb01f8
Document new Microsoft Black Formatter extension for VSCode (#3063)
laundmo May 21, 2022
9fe788d
Add more examples to exclude files in addition to the defaults (#3070)
ysk24ok May 26, 2022
1e55718
Implement support for PEP 646 (#3071)
isidentical May 26, 2022
436e12f
Add script to ease migration to black (#3038)
hbrunn Jun 1, 2022
f51e537
Fix minor typo (#3096)
vivekvashist Jun 3, 2022
6d32ab0
Bump pre-commit/action from 2.0.3 to 3.0.0 (#3108)
dependabot[bot] Jun 11, 2022
4bb7bf2
Remove newline after code block open (#3035)
saroad2 Jun 11, 2022
8c8675c
Update documentation dependencies (#3118)
ichard26 Jun 11, 2022
162ecd1
Use is_number_token instead of assertion (#3069)
MarcoGorelli Jun 11, 2022
799adb5
Bump actions/setup-python from 3 to 4 (#3121)
hugovk Jun 13, 2022
6c1bd08
Test run black on self (#3114)
saroad2 Jun 14, 2022
e3c9b04
Replace link to Requests documentation (#3125)
nateprewitt Jun 17, 2022
6463fb8
Bump sphinx from 5.0.1 to 5.0.2 in /docs (#3128)
dependabot[bot] Jun 20, 2022
fa6caa6
Only call get_future_imports when needed (#3135)
yilei Jun 23, 2022
d848209
Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (#3138)
dependabot[bot] Jun 27, 2022
eb5d175
Update preview style docs to include recent changes (#3136)
felix-hilden Jun 27, 2022
f6c139c
Prepare docs for release 22.6.0 (#3139)
ichard26 Jun 28, 2022
6debce6
Fix typo in CHANGES.md (#3142)
dmerejkowsky Jun 28, 2022
b859a37
Use RTD's new build process and config (#3149)
Jackenmen Jul 3, 2022
7af77d1
Stability policy: permit exceptional changes for unformatted code (#3…
JelleZijlstra Jul 6, 2022
05b63c4
Recommend using BlackConnect in IntelliJ IDEs (#3150)
m-aciek Jul 11, 2022
18c17be
Copy over comments when hugging power ops (#2874)
ichard26 Jul 14, 2022
4f0532d
Don't (ever) put a single-char closing docstring quote on a new line …
ichard26 Jul 14, 2022
8900e3a
Add warning to not run blackd publicly in docs (#3167)
Panther-12 Jul 14, 2022
9aa33f4
Move to explicitly creating a new loop (#3164)
cooperlees Jul 14, 2022
ad5c315
Actually disable docstring prefix normalization with -S + fix instabi…
ichard26 Jul 14, 2022
b0eed7c
Fix typo in config docs for --extend-exclude (#3170)
onescriptkid Jul 14, 2022
df5a87d
configure strict pytest and filterwarnings=['error', ... (#3173)
graingert Jul 16, 2022
33f0d9e
Add pypy-3.8 to test matrix (#3174)
graingert Jul 17, 2022
1b6de7b
Improve warning filtering in tests (#3175)
graingert Jul 19, 2022
6ea4edd
Fix the handling of `# fmt: skip` when it's at a colon line (#3148)
yilei Jul 19, 2022
249c653
Fix an infinite loop when using `# fmt: on/off` ... (#3158)
yilei Jul 20, 2022
b4dc40b
Use underscores instead of a space in a test file's name (#3180)
yilei Jul 20, 2022
e9e756d
Bump sphinx from 5.0.2 to 5.1.0 in /docs (#3183)
dependabot[bot] Jul 27, 2022
e0a780a
Add isort to linting toolchain
ichard26 Jul 27, 2022
44d5da0
Reformat codebase with isort
ichard26 Jul 27, 2022
411ed77
Bump pre-commit hooks (#3191)
ichard26 Jul 28, 2022
ef8deb6
Consolidate test CI and add concurrency limits (#3189)
ichard26 Jul 28, 2022
4f1772e
Vim plugin: prefix messages with "Black: " (#3194)
tobast Jul 28, 2022
d85cf00
Remove blib2to3 grammar cache logging (#3193)
ichard26 Jul 30, 2022
eaa0489
Add sanity check to executable CD + more (#3190)
ichard26 Jul 30, 2022
ca0dbb8
Move fuzz.py to scripts/ (#3199)
ichard26 Jul 31, 2022
b776bf9
Bump sphinx from 5.1.0 to 5.1.1 in /docs (#3201)
dependabot[bot] Aug 1, 2022
f066e3f
makes install available for all users in docker image (#3202)
n-borges Aug 2, 2022
507234c
Remove invalid syntax in docstrings -S --preview test (#3205)
TomFryers Aug 2, 2022
6064a43
Use debug f-strings for feature detection (#3215)
hauntsaninja Aug 10, 2022
680cbe3
Use --no-implicit-optional for type checking (#3220)
hauntsaninja Aug 13, 2022
07b68e2
add preview option support for blackd (#3217)
Mogost Aug 13, 2022
e7b9671
Port & upstream mypyc wheel build workflow (#3197)
ichard26 Aug 13, 2022
4ebf14d
Strip trailing commas in subscripts with -C (#3209)
hauntsaninja Aug 13, 2022
6e0ad52
Update email (#3235)
ahrex Aug 20, 2022
59acf8a
Add passing 3.11 CI by exempting blackd tests (#3234)
cooperlees Aug 23, 2022
21218b6
Fix a string merging/split issue caused by standalone comments. (#3227)
yilei Aug 23, 2022
a5fde8a
Remove hacky subprocess call in action.yml (#3226)
ionite34 Aug 26, 2022
c47b91f
Fix misdetection of project root with `--stdin-filename` (#3216)
hauntsaninja Aug 26, 2022
e269f44
Lazily import parallelized format modules
ichard26 Aug 4, 2022
afed2c0
Load .gitignore and exclude regex at time of use
ichard26 Aug 5, 2022
c0cc19b
Delay worker count determination
ichard26 Aug 13, 2022
ba618a3
Add parens around implicit string concatenations where it increases r…
yilei Aug 31, 2022
2c90480
Use strict mypy checking (#3222)
hauntsaninja Aug 31, 2022
767604e
Use .gitignore files in the initial source directories (#3237)
martinResearch Aug 31, 2022
7757078
Improve & update release process to reflect recent changes (#3242)
ichard26 Aug 31, 2022
0019261
Update stable branch after publishing to PyPI (#3223)
ichard26 Aug 31, 2022
2018e66
Prepare docs for release 22.8.0 (#3248)
ichard26 Aug 31, 2022
095fe0d
docs: adds ExitStack alternative to future_style.md (#3247)
jsal13 Sep 1, 2022
92c93a2
Add preview flag to Vim plugin (#3246)
SyPeter Sep 1, 2022
062e644
Mitigate deprecation of aiohttp's `@middleware` decorator (#3259)
ichard26 Sep 5, 2022
383b228
Move 3.11 tests to install aiohttp without C extensions (#3258)
cooperlees Sep 5, 2022
72a2559
[FIX] migrate-black.py: don't fail on binary files (#3266)
hbrunn Sep 14, 2022
e2adcd7
Fix a crash on dicts with paren-wrapped long string keys (#3262)
yilei Sep 14, 2022
04bce6a
Improve order of paragraphs on line splitting (#3270)
TomFryers Sep 15, 2022
d852af7
Fix mypyc build errors on newer manylinux2014_x86_64 images (#3272)
zsol Sep 15, 2022
6ae8457
Bump furo from 2022.6.21 to 2022.9.15 in /docs (#3277)
dependabot[bot] Sep 19, 2022
75d5c0e
Build mypyc wheels for CPython 3.11 (#3276)
ichard26 Sep 23, 2022
4c99900
Make context manager examples in future style docs consistent (#3274)
Blandes22 Sep 23, 2022
bfc013a
Support version specifiers in GH action (#3265)
Jackenmen Sep 23, 2022
55db055
Fix a crash when `# fmt: on` is used on a different block level than …
yilei Sep 24, 2022
4b4680a
Make README logo link to docs (#3285)
stinodego Sep 25, 2022
468ceaf
Switch build backend to Hatchling (#3233)
ofek Sep 25, 2022
2189bca
Fix outdated references to 3.6 and run pyupgrade (#3286)
ichard26 Sep 26, 2022
af3de08
Always call freeze_support() if sys.frozen is True (#3275)
ichard26 Sep 26, 2022
42fdd1b
Bump actions/upload-artifact from 2 to 3 (#3289)
dependabot[bot] Sep 26, 2022
1f2ad77
Bump sphinx from 5.1.1 to 5.2.1 in /docs (#3288)
dependabot[bot] Sep 26, 2022
6b42c2b
Add option to format Jupyter Notebooks in GitHub Action (#3282)
aaossa Sep 26, 2022
096806e
Mention CHANGES.md in PR template explicitly (#3295)
raybellwaves Sep 29, 2022
ddb9924
Bump pypa/cibuildwheel from 2.10.0 to 2.10.2 (#3290)
dependabot[bot] Sep 29, 2022
141291a
Enable build isolation under CIWB (#3297)
ichard26 Sep 29, 2022
956bf39
Add .ipynb_checkpoints to DEFAULT_EXCLUDES (#3293)
raybellwaves Oct 2, 2022
b1077aa
Bump myst-parser from 0.18.0 to 0.18.1 in /docs (#3303)
dependabot[bot] Oct 3, 2022
980997f
Bump furo from 2022.9.15 to 2022.9.29 in /docs (#3304)
dependabot[bot] Oct 3, 2022
1a20c4d
Bump sphinx from 5.2.1 to 5.2.3 in /docs (#3305)
dependabot[bot] Oct 3, 2022
27d7ea4
Bump docutils from 0.18.1 to 0.19 in /docs (#3161)
dependabot[bot] Oct 3, 2022
0359b85
Preserve crlf line endings in blackd (#3257)
KotlinIsland Oct 4, 2022
4da0851
Add option to skip the first line of source code (#3299)
aaossa Oct 6, 2022
27d2014
Prepare release 22.10.0 (#3311)
JelleZijlstra Oct 6, 2022
b60b85b
Remove redundant 3.6 code and bump mypy's python_version to 3.7 (#3313)
hugovk Oct 7, 2022
1c786ee
Add support for named exprs inside function calls as gen-exps (#3327)
isidentical Oct 10, 2022
d923945
Fix license metadata to follow PEP 621 (#3326)
amyreese Oct 10, 2022
f16333e
remove unreachable code (#3328)
nnrepos Oct 11, 2022
575220f
Clarify check argument is needed for github action workflow (#3325)
Oct 15, 2022
f22273a
Bump sphinx from 5.2.3 to 5.3.0 in /docs (#3333)
dependabot[bot] Oct 18, 2022
26de5f9
Bump peter-evans/find-comment from 2.0.0 to 2.0.1 (#3353)
dependabot[bot] Oct 24, 2022
fbc5136
Bump peter-evans/create-or-update-comment from 2.0.0 to 2.0.1 (#3354)
dependabot[bot] Oct 24, 2022
4abc039
Enforce empty lines before classes/functions with sticky leading comm…
yilei Oct 26, 2022
527248b
Exclude pytest-xdist 3.0.2 (#3356)
JelleZijlstra Oct 26, 2022
09d4acd
Update README.md (#3284)
NedJWestern Oct 26, 2022
b73b77a
Wrap concatenated strings used as function args in parens (#3307)
yilei Oct 27, 2022
87cc4d4
2space
dwanderson-intel Oct 27, 2022
f878eb4
Merge remote-tracking branch 'origin/main' into upstream-force
dwanderson-intel Oct 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/diff_shades_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
- name: Try to find pre-existing PR comment
if: steps.metadata.outputs.needs-comment == 'true'
id: find-comment
uses: peter-evans/find-comment@1769778a0c5bd330272d749d12c036d65e70d39d
uses: peter-evans/find-comment@b657a70ff16d17651703a84bee1cb9ad9d2be2ea
with:
issue-number: ${{ steps.metadata.outputs.pr-number }}
comment-author: "github-actions[bot]"
body-includes: "diff-shades"

- name: Create or update PR comment
if: steps.metadata.outputs.needs-comment == 'true'
uses: peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
uses: peter-evans/create-or-update-comment@2b2c85d0bf1b8a7b4e7e344bd5c71dc4b9196e9f
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
issue-number: ${{ steps.metadata.outputs.pr-number }}
Expand Down
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Multiple contributions by:
- [Alex Vandiver](mailto:github@chmrr.net)
- [Allan Simon](mailto:allan.simon@supinfo.com)
- Anders-Petter Ljungquist
- [Amethyst Reese](mailto:amy@n7.gg)
- [Andrew Thorp](mailto:andrew.thorp.dev@gmail.com)
- [Andrew Zhou](mailto:andrewfzhou@gmail.com)
- [Andrey](mailto:dyuuus@yandex.ru)
Expand Down
76 changes: 52 additions & 24 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,34 @@

<!-- Include any especially major or disruptive changes here -->

- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
supported until further notice.

### Stable style

<!-- Changes that affect Black's stable style -->

- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off`
(#3281)

### Preview style

<!-- Changes that affect Black's preview style -->

- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
(#3262)
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Implicitly concatenated strings used as function args are now wrapped inside
parentheses (#3307)

### Configuration

<!-- Changes to how Black can be configured -->

- `.ipynb_checkpoints` directories are now excluded by default (#3293)

### Packaging

<!-- Changes to how Black is packaged, such as dependency requirements -->

- Executables made with PyInstaller will no longer crash when formatting several files
at once on macOS. Native x86-64 executables for macOS are available once again.
(#3275)
- Hatchling is now used as the build backend. This will not have any effect for users
who install Black with its wheels from PyPI. (#3233)
- Faster compiled wheels are now available for CPython 3.11 (#3276)

### Parser

<!-- Changes to the parser or to version autodetection -->

- Parsing support has been added for walruses inside generator expression that are
passed as function args (for example,
`any(match := my_re.match(text) for text in texts)`) (#3327).

### Performance

<!-- Changes that improve Black's performance. -->
Expand All @@ -54,22 +44,61 @@

### _Blackd_

- Windows style (CRLF) newlines will be preserved (#3257).
<!-- Changes to blackd -->

### Integrations

<!-- For example, Docker, GitHub Actions, pre-commit, editors -->

- Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter`
option (#3282)
- Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black
version (#3265)

### Documentation

<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->

## 22.10.0

### Highlights

- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
supported until further notice.

### Stable style

- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off`
(#3281)

### Preview style

- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
(#3262)

### Configuration

- `.ipynb_checkpoints` directories are now excluded by default (#3293)
- Add `--skip-source-first-line` / `-x` option to ignore the first line of source code
while formatting (#3299)

### Packaging

- Executables made with PyInstaller will no longer crash when formatting several files
at once on macOS. Native x86-64 executables for macOS are available once again.
(#3275)
- Hatchling is now used as the build backend. This will not have any effect for users
who install Black with its wheels from PyPI. (#3233)
- Faster compiled wheels are now available for CPython 3.11 (#3276)

### _Blackd_

- Windows style (CRLF) newlines will be preserved (#3257).

### Integrations

- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (#3246)
- Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter`
option (#3282)
- Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black
version (#3265)

## 22.8.0

### Highlights
Expand Down Expand Up @@ -124,7 +153,6 @@
- Vim plugin: prefix messages with `Black: ` so it's clear they come from Black (#3194)
- Docker: changed to a /opt/venv installation + added to PATH to be available to
non-root users (#3202)
- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (#3246)

### Output

Expand Down
35 changes: 0 additions & 35 deletions Pipfile

This file was deleted.

Loading