Next | Query returned 35 messages, browsing 11 to 20 | Previous

History of commit frequency

CVS Commit History:


   2023-10-28 22:09:12 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-black: bump PKGREVISION for PLIST change
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-24 06:30:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-black: updated to 23.10.1

23.10.1

Highlights

- Maintanence release to get a fix out for GitHub Action edge case

Preview style

- Fix merging implicit multiline strings that have inline comments
- Allow empty first line after block open before a comment or compound statement

Packaging

- Change Dockerfile to hatch + compile black

Integrations

- The summary output for GitHub workflows is now suppressible using the `summary`
 parameter.
- Fix the action failing when Black check doesn't pass

Documentation

- It is known Windows documentation CI is broken
 https://github.com/psf/black/issues/3968
   2023-10-18 10:00:58 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2023-09-11 11:27:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-black: updated to 23.9.1

23.9.1

Due to various issues, the previous release (23.9.0) did not include compiled mypyc
wheels, which make Black significantly faster. These issues have now been fixed, and
this release should come with compiled wheels once again.

There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12
wheels in a future release as soon as the mypyc bug is fixed.

Packaging

- Upgrade to mypy 1.5.1

Performance

- Store raw tuples instead of NamedTuples in Black's cache, improving performance and
 decreasing the size of the cache

23.9.0

Preview style

- More concise formatting for dummy implementations
- In stub files, add a blank line between a statement with a body (e.g an
 `if sys.version_info > (3, x):`) and a function definition on the same level
- Fix a bug whereby spaces were removed from walrus operators within subscript

Configuration

- Black now applies exclusion and ignore logic before resolving symlinks

Performance

- Avoid importing `IPython` if notebook cells do not contain magics
- Improve caching by comparing file hashes as fallback for mtime and size

_Blackd_

- Fix an issue in `blackd` with single character input

Integrations

- Black now has an
 [official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). \ 
Swapping
 `https://github.com/psf/black` to \ 
`https://github.com/psf/black-pre-commit-mirror` in
 your `.pre-commit-config.yaml` will make Black about 2x faster
- The `.black.env` folder specified by `ENV_PATH` will now be removed on the \ 
completion
 of the GitHub Action
   2023-07-17 13:49:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-black: updated to 23.7.0

23.7.0

Highlights

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

 Stable style

- Fix a bug where an illegal trailing comma was added to return type annotations \ 
using
  PEP 604 unions
- Fix several bugs and crashes where comments in stub files were removed or \ 
mishandled
  under some circumstances
- Fix a crash with multi-line magic comments like `type: ignore` within parentheses

- Fix error in AST validation when _Black_ removes trailing whitespace in a type \ 
comment

 Preview style

- Implicitly concatenated strings used as function args are no longer wrapped inside
  parentheses
- Remove blank lines between a class definition and its docstring

 Configuration

- The `--workers` argument to _Black_ can now be specified via the \ 
`BLACK_NUM_WORKERS`
  environment variable
- `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default
- Fix _Black_ not honouring `pyproject.toml` settings when running `--stdin-filename`
  and the `pyproject.toml` found isn't in the current working directory
- _Black_ will now error if `exclude` and `extend-exclude` have invalid data types in
  `pyproject.toml`, instead of silently doing the wrong thing

 Packaging

- Upgrade mypyc from 0.991 to 1.3
- Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C`

 Parser

- Add support for the new PEP 695 syntax in Python 3.12

 Performance

- Speed up _Black_ significantly when the cache is full
- Avoid importing `IPython` in a case where we wouldn't need it

 Output

- Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12
- Change verbose logging to exactly mirror _Black_'s logic for source discovery

 _Blackd_

- The `blackd` argument parser now shows the default values for options in their help
  text

 Integrations

- Black is now tested with
  [`PYTHONWARNDEFAULTENCODING = \ 
1`](https://docs.python.org/3/library/io.html#io-encoding-warning)

- Update GitHub Action to display black output in the job summary

 Documentation

- Add a CITATION.cff file to the root of the repository, containing metadata on \ 
how to
  cite this software
- Update the _classes_ and _exceptions_ documentation in Developer reference to match
  the latest code base
   2023-04-17 21:27:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-black: updated to 23.3.0

23.3.0

Highlights

This release fixes a longstanding confusing behavior in Black's GitHub action, \ 
where the
version of the action did not determine the version of Black being run. In
addition, there is a small bug fix around imports and a number of improvements to the
preview style.

Please try out the
[preview \ 
style](https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style)
with `black --preview` and tell us your feedback. All changes in the preview \ 
style are
expected to become part of Black's stable style in January 2024.

Stable style

- Import lines with `# fmt: skip` and `# fmt: off` no longer have an extra blank line
 added when they are right after another import line

Preview style

- Add trailing commas to collection literals even if there's a comment after the last
 entry
- `async def`, `async for`, and `async with` statements are now formatted \ 
consistently
 compared to their non-async version.
- `with` statements that contain two context managers will be consistently wrapped in
 parentheses
- Let string splitters respect [East Asian \ 
Width](https://www.unicode.org/reports/tr11/)

- Now long string literals can be split after East Asian commas and periods \ 
(`、` U+3001
 IDEOGRAPHIC COMMA, `。` U+3002 IDEOGRAPHIC FULL STOP, & `,` U+FF0C \ 
FULLWIDTH COMMA)
 besides before spaces
- For stubs, enforce one blank line after a nested class with a body other than just
 `...`
- Improve handling of multiline strings by changing line split behavior

Parser

- Added support for formatting files with invalid type comments

Integrations

- Update GitHub Action to use the version of Black equivalent to action's version if
 version input is not specified
- Fix missing Python binary path in autoload script for vim

Documentation

- Document that only the most recent release is supported for security issues;
 vulnerabilities should be reported through Tidelift
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2023-02-20 18:59:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-black: updated to 23.1.0

23.1.0
Highlights
This is the first release of 2023, and following our stability policy, it comes \ 
with a number of improvements to our stable style, including improvements to \ 
empty line handling, removal of redundant parentheses in several contexts, and \ 
output that highlights implicitly concatenated strings better.

There are also many changes to the preview style; try out black --preview and \ 
give us feedback to help us set the stable style for next year.

In addition to style changes, Black now automatically infers the supported \ 
Python versions from your pyproject.toml file, removing the need to set \ 
Black’s target versions separately.
   2022-12-12 11:07:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-black: updated to 22.12.0

22.12.0

Preview style

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

- Enforce empty lines before classes and functions with sticky leading comments
- Reformat empty and whitespace-only files as either an empty file (if no newline is
 present) or as a single newline character (if a newline is present)
- Implicitly concatenated strings used as function args are now wrapped inside
 parentheses
- Correctly handle trailing commas that are inside a line's leading non-nested parens

Configuration

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

- Fix incorrectly applied `.gitignore` rules by considering the `.gitignore` location
 and the relative path to the target file
- Fix incorrectly ignoring `.gitignore` presence when more than one source \ 
directory is
 specified

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)`)

Integrations

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

- Vim plugin: Optionally allow using the system installation of Black via
 `let g:black_use_virtualenv = 0`

Next | Query returned 35 messages, browsing 11 to 20 | Previous