|
10 | 10 |
|
11 | 11 | <!-- Changes that affect Black's stable style -->
|
12 | 12 |
|
13 |
| -- Fix unstable formatting involving `# fmt: skip` comments without internal spaces |
14 |
| - (#2970) |
15 |
| - |
16 | 13 | ### Preview style
|
17 | 14 |
|
18 | 15 | <!-- Changes that affect Black's preview style -->
|
19 | 16 |
|
20 |
| -- Fixed bug where docstrings with triple quotes could exceed max line length (#3044) |
21 |
| -- Remove redundant parentheses around awaited objects (#2991) |
22 |
| -- Parentheses around return annotations are now managed (#2990) |
23 |
| -- Remove unnecessary parentheses from `with` statements (#2926) |
24 |
| -- Remove trailing newlines after code block open (#3035) |
25 |
| - |
26 | 17 | ### _Blackd_
|
27 | 18 |
|
28 | 19 | <!-- Changes to blackd -->
|
|
40 | 31 |
|
41 | 32 | <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
|
42 | 33 |
|
43 |
| -- Add migrate-black.py script to ease migration to black formatted git project (#3038) |
44 |
| - |
45 | 34 | ### Output
|
46 | 35 |
|
47 | 36 | <!-- Changes to Black's terminal output and error messages -->
|
48 | 37 |
|
49 |
| -- Output python version and implementation as part of `--version` flag (#2997) |
50 |
| - |
51 | 38 | ### Packaging
|
52 | 39 |
|
53 | 40 | <!-- Changes to how Black is packaged, such as dependency requirements -->
|
54 | 41 |
|
| 42 | +### Parser |
| 43 | + |
| 44 | +<!-- Changes to the parser or to version autodetection --> |
| 45 | + |
| 46 | +### Performance |
| 47 | + |
| 48 | +<!-- Changes that improve Black's performance. --> |
| 49 | + |
| 50 | +## 22.6.0 |
| 51 | + |
| 52 | +### Style |
| 53 | + |
| 54 | +- Fix unstable formatting involving `#fmt: skip` and `# fmt:skip` comments (notice the |
| 55 | + lack of spaces) (#2970) |
| 56 | + |
| 57 | +### Preview style |
| 58 | + |
| 59 | +- Docstring quotes are no longer moved if it would violate the line length limit (#3044) |
| 60 | +- Parentheses around return annotations are now managed (#2990) |
| 61 | +- Remove unnecessary parentheses around awaited objects (#2991) |
| 62 | +- Remove unnecessary parentheses in `with` statements (#2926) |
| 63 | +- Remove trailing newlines after code block open (#3035) |
| 64 | + |
| 65 | +### Integrations |
| 66 | + |
| 67 | +- Add `scripts/migrate-black.py` script to ease introduction of Black to a Git project |
| 68 | + (#3038) |
| 69 | + |
| 70 | +### Output |
| 71 | + |
| 72 | +- Output Python version and implementation as part of `--version` flag (#2997) |
| 73 | + |
| 74 | +### Packaging |
| 75 | + |
55 | 76 | - Use `tomli` instead of `tomllib` on Python 3.11 builds where `tomllib` is not
|
56 | 77 | available (#2987)
|
57 | 78 |
|
|
62 | 83 | - [PEP 646](https://peps.python.org/pep-0646) syntax (for example,
|
63 | 84 | `Array[Batch, *Shape]` or `def fn(*args: *T) -> None`) is now supported (#3071)
|
64 | 85 |
|
65 |
| -<!-- Changes to the parser or to version autodetection --> |
66 |
| - |
67 |
| -### Performance |
68 |
| - |
69 |
| -<!-- Changes that improve Black's performance. --> |
70 |
| - |
71 | 86 | ### Vim Plugin
|
72 | 87 |
|
73 |
| -- Fixed strtobool function. It didn't parse true/on/false/off. (#3025) |
| 88 | +- Fix `strtobool` function. It didn't parse true/on/false/off. (#3025) |
74 | 89 |
|
75 | 90 | ## 22.3.0
|
76 | 91 |
|
|
0 commit comments