Now
MAIN commitmail json YAML
py-black: updated to 23.10.0
23.10.0
Stable style
- Fix comments getting removed from inside parenthesized strings
Preview style
- Fix long lines with power operators getting split before the line length
- Long type hints are now wrapped in parentheses and properly indented when split across
multiple lines
- Magic trailing commas are now respected in return types.
- Require one empty line after module-level docstrings.
- Treat raw triple-quoted strings as docstrings
Configuration
- Fix cache versioning logic when `BLACK_CACHE_DIR` is set
Parser
- Fix bug where attributes named `type` were not acccepted inside `match` statements
- Add support for PEP 695 type aliases containing lambdas and other unusual expressions
Output
- Black no longer attempts to provide special errors for attempting to format Python 2
code
- Black will more consistently print stacktraces on internal errors in verbose mode
Integrations
- The action output displayed in the job summary is now wrapped in Markdown
23.10.0
Stable style
- Fix comments getting removed from inside parenthesized strings
Preview style
- Fix long lines with power operators getting split before the line length
- Long type hints are now wrapped in parentheses and properly indented when split across
multiple lines
- Magic trailing commas are now respected in return types.
- Require one empty line after module-level docstrings.
- Treat raw triple-quoted strings as docstrings
Configuration
- Fix cache versioning logic when `BLACK_CACHE_DIR` is set
Parser
- Fix bug where attributes named `type` were not acccepted inside `match` statements
- Add support for PEP 695 type aliases containing lambdas and other unusual expressions
Output
- Black no longer attempts to provide special errors for attempting to format Python 2
code
- Black will more consistently print stacktraces on internal errors in verbose mode
Integrations
- The action output displayed in the job summary is now wrapped in Markdown