psf/black repo issues and pull requests
Black pre-commit and black command line disagree #3073 [justinxzhao] T: bug C: integrations S: needs repro
Version information pre-commit version: 2.19.0 > pre-commit --version pre-commit 2.19.0 pre-commit black version:...
Awkward line break in multiple component expression #3187 [taldcroft] T: design
Describe the style change Prefer formatting an expression with a line break before the operator instead of breaking...
Large (4.6MB) parser test code takes 4+ minutes to check. #3179 [jorisgeer] T: bug C: performance
Running Black --check on parser test code as documented in PP-617 on a relatively new Macbook takes 4.45 minutes. To...
Addition of `isort` to our dev toolchain #2930 [Shivansh-007] C: maintenance
Currently, the imports exist in any random order as added by the developers (see below), which sometimes makes it...
Add ISort #2941 [Shivansh-007] skip news C: maintenance
Description Closes #2930 The formatting changes are part of commit 37356f6 and edf37bf, the rest are config/chore...
No branch stable to install Vim plugin with vim-plug #2503 [lcheylus] T: bug C: vim C: maintenance
According to the docs, to install Vim plugin with vim-plug, we must use branch stable. But there is no (more ?)...
Release 22.7.0 (July) #3163 [ichard26] C: maintenance
Disclaimer: I've seen pip and mypy use release planning issues. I've got a lot of free time for the time being so...
Add isort to linting toolchain #3188 [ichard26] C: cleanup skip news C: maintenance
Description Resolves #2930 and closes #2941. Checklist - did you ... Add a CHANGELOG entry if necessary? -> n/a ...
"stable" branch changed to "stable" tag #3186 [KevinWhalen]
Description Issue #2503. Documentation only. Updates the "vim-plug" and "Vundle" instructions to reflect that the...
[WIP] Fix fmt on and off for comments #2114 [ichard26]
Fixes GH-1245. Tests are complete and the fixing patch is mostly done, although it needs A LOT of cleanup and also...
blib2to3 can raise TokenError and IndentationError too #2671 [ichard26] skip news
Fix the regression of GH-2317 caused by GH-2668. I explicitly made this PR from my fork of psf/black so the...
Remove Python 2 support #2740 [ichard26]
Description Should unblock GH-2297 and mypyc. Checklist - did you ... Add a CHANGELOG entry if necessary? Add /...
Stop changing return type annotations to tuples #2384 [ichard26]
Fixes #2381. This fixes a bug where a trailing comma would be added to a parenthesized return type annotation...
Cache grammar tables after finishing, not at startup #2702 [ichard26]
Description *and also get rid of the confusing log messages related to the grammar cache which just confuses...
[mypyc] GHA macOS 10.15 is deprecated and is going to be removed by August 30, 2022 #3192 [ichard26] C: installation / packaging C: maintenance
Having ported over the mypyc wheel build workflow to here1, I realized it's using macOS 10.15 for all of the macOS...
Bump pre-commit hooks #3191 [ichard26] skip news C: maintenance
Description Got bored waiting for CI to pass on my other PRs. I'm surprised black types check without changes...
Improve the the blib2to3 grammar caching mechanism #1143 [EWouters] T: enhancement C: configuration
I get an error upon launching Jupyter Lab with the jupyterlab_code_formatter extension enabled: [I 10:37:25.686...
Vim plugin: prefix errors with "Black" #3185 [tobast] T: enhancement help wanted C: vim S: accepted
Is your feature request related to a problem? Please describe. When Black is run automatically as a Vim plugin, eg....
Preview option support for blackd #3195 [Mogost] T: enhancement
It seems that blackd does not support the preview option now. I suggest implementing an option for that like it is...
Remove blib2to3 grammar cache logging #3193 [ichard26] C: blib2to3
Description This has been annoying me for too long. As error logs are emitted often (they happen as Black's cache...
Add sanity check to executable CD + more #3190 [ichard26] C: cleanup skip news C: maintenance
Description Building executables without any testing is quite sketchy, let's at least verify they won't crash on...
Consolidate test CI and add concurrency limits #3189 [ichard26] C: cleanup skip news C: maintenance
Description This comes from #3017 which in hindsight was making too many changes at once. This should be easier to...
Better quotes normalisation with triple quotes #3196 [hauntsaninja] T: enhancement
Is your feature request related to a problem? Please describe. Black's general philosophy is to prefer double...
Vim: prefix messages with "Black:" #3194 [tobast] C: vim
Description As mentioned in #3185, when using Black as a Vim plugin, especially automatically on save, the plugin's...
Upcoming aiohttp 4.0 is breaking our test suite with a new deprecation warning #3176 [ichard26] help wanted good first issue C: dependencies C: maintenance
See https://github.com/ichard26/black-deps-ci/runs/7374216061?check_suite_focus=true. We can either bump the lower...
Allow no space in doublestar when math operation (#538) (#2095) #2095 [dpalmasan]
Simple fix for (#538), changes include: Allow no space doublestar in math operations Add tests for such scenario in...
feat(config): Support `--config` in pyproject.toml #2525 [Shivansh-007] C: configuration
Description You can now specify config key in pyproject.toml which does the same job as the CLI option --config. The...
andresito00: @justinxzhao I thought I was seeing something like this, but later realized that I had more than...