Sourced from black's releases.
23.11.0
Highlights
- Support formatting ranges of lines with the new
--line-ranges
command-line option (#4020)Stable style
- Fix crash on formatting bytes strings that look like docstrings (#4003)
- Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
- Fix standalone comments inside complex blocks crashing Black (#4016)
- Fix crash on formatting code like
await (a ** b)
(#3994)- No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)
Preview style
- Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
- Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
- In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
- Fix a bug where long
case
blocks were not split into multiple lines. Also enable general trailing comma rules oncase
blocks (#4024)- Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
- Add support for single-line format skip with other comments on the same line (#3959)
Configuration
- Consistently apply force exclusion logic before resolving symlinks (#4015)
- Fix a bug in the matching of absolute path names in
--include
(#3976)Performance
- Fix mypyc builds on arm64 on macOS (#4017)
Integrations
- Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)
Sourced from black's changelog.
23.11.0
Highlights
- Support formatting ranges of lines with the new
--line-ranges
command-line option (#4020)Stable style
- Fix crash on formatting bytes strings that look like docstrings (#4003)
- Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
- Fix standalone comments inside complex blocks crashing Black (#4016)
- Fix crash on formatting code like
await (a ** b)
(#3994)- No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)
Preview style
- Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
- Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
- In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
- Fix a bug where long
case
blocks were not split into multiple lines. Also enable general trailing comma rules oncase
blocks (#4024)- Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
- Add support for single-line format skip with other comments on the same line (#3959)
Configuration
- Consistently apply force exclusion logic before resolving symlinks (#4015)
- Fix a bug in the matching of absolute path names in
--include
(#3976)Performance
- Fix mypyc builds on arm64 on macOS (#4017)
Integrations
- Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)
2a1c67e
Prepare release 23.11.0 (#4032)72e7a2e
Remove redundant condition from has_magic_trailing_comma
(#4023)1a7d9c2
Preserve visible quote types for f-string debug expressions (#4005)f4c7be5
docs: fix minor typo (#4030)2e4fac9
Apply force exclude logic before symlink resolution (#4015)66008fd
[563] Fix standalone comments inside complex blocks crashing Black (#4016)50ed622
Fix long case blocks not split into multiple lines (#4024)46be1f8
Support formatting specified lines (#4020)ecbd9e8
Fix crash with f-string docstrings (#4019)e808e61
Preview: Keep requiring two empty lines between module-level docstring
and fi...Sourced from pytest-cov's changelog.
4.1.0 (2023-05-24)
- Updated CI with new Pythons and dependencies.
- Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0. Contributed by Sorin Sbarnea in
[#558](https://github.com/pytest-dev/pytest-cov/issues/558) <https://github.com/pytest-dev/pytest-cov/pull/558>
_.- Optimized summary generation to not be performed if no reporting is active (for example, when
--cov-report=''
is used without--cov-fail-under
). Contributed by Jonathan Stewmon in[#589](https://github.com/pytest-dev/pytest-cov/issues/589) <https://github.com/pytest-dev/pytest-cov/pull/589>
_.- Added support for JSON reporting. Contributed by Matthew Gamble in
[#582](https://github.com/pytest-dev/pytest-cov/issues/582) <https://github.com/pytest-dev/pytest-cov/pull/582>
_.- Refactored code to use f-strings. Contributed by Mark Mayo in
[#572](https://github.com/pytest-dev/pytest-cov/issues/572) <https://github.com/pytest-dev/pytest-cov/pull/572>
_.- Fixed a skip in the test suite for some old xdist. Contributed by a bunch of people in
[#565](https://github.com/pytest-dev/pytest-cov/issues/565) <https://github.com/pytest-dev/pytest-cov/pull/565>
_.
2c9f217
Bump version: 4.0.0 → 4.1.04d245df
Update changelog and authors.7b095c8
Skip starting from xdist 3.0.2 (where boxed was removed).605d690
disabling boxed test if version xdist newer than 2.5.076fb2a6
introduced f-strings0d63ede
Update test config. Reapply some of the changes from PR567 to the right
file ...f3d8d83
Add support for JSON reporterdec02ab
Update test deps.88a7d34
chore: update AUTHORS and CHANGELOG74eb4cc
perf: only call summary when the report will be usedSourced from pytest-xdist's changelog.
pytest-xdist 3.3.1 (2023-05-19)
Bug Fixes
[#907](https://github.com/pytest-dev/pytest-xdist/issues/907) <https://github.com/pytest-dev/pytest-xdist/issues/907>
_: Avoid remote calls during startup asexecnet
by default does not ensure remote affinity with the main thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks, for exampleasyncio
,anyio
,PyQt/PySide
, etc.A more safe correction will require thread affinity in
execnet
(pytest-dev/execnet#96 <https://github.com/pytest-dev/execnet/issues/96>
__).pytest-xdist 3.3.0 (2023-05-12)
Features
[#555](https://github.com/pytest-dev/pytest-xdist/issues/555) <https://github.com/pytest-dev/pytest-xdist/issues/555>
_: Improved progress output when collecting nodes to be less verbose.pytest-xdist 3.2.1 (2023-03-12)
Bug Fixes
[#884](https://github.com/pytest-dev/pytest-xdist/issues/884) <https://github.com/pytest-dev/pytest-xdist/issues/884>
_: Fixed hang inworksteal
scheduler.
9791021
Release 3.3.14e7bd02
Avoid unnecessary rinfo calls after creating gateways (#909)52a6143
[pre-commit.ci] pre-commit autoupdate (#908)9efc64e
Merge pull request #906
from nicoddemus/ci-improvements6d39025
Use same package in all test runsd8fb60b
Fix tag creation in deploy workflow4d230b6
Merge pull request #905
from pytest-dev/release-3.3.0f5b4a5d
Configure 'test' workflow to cancel running jobs for the branch657ba9a
Only test on-push for master and a specific branch namefa08e09
Add check-package step also to 'test' workflowSourced from ruff's releases.
v0.1.5
Changes
Preview features
- [
flake8-bandit
] Implementmako-templates
(S702
) (#8533)- [
flake8-trio
] ImplementTRIO105
(#8490)- [
flake8-trio
] ImplementTRIO109
(#8534)- [
flake8-trio
] ImplementTRIO110
(#8537)- [
flake8-trio
] ImplementTRIO115
(#8486)- [
refurb
] Implementtype-none-comparison
(FURB169
) (#8487)- Flag all comparisons against builtin types in
E721
(#8491)- Make
SIM118
fix as safe when the expression is a known dictionary (#8525)Formatter
- Fix multiline lambda expression statement formatting (#8466)
CLI
- Add hidden
--extension
to override inference of source type from file extension (#8373)Configuration
- Account for selector specificity when merging
extend_unsafe_fixes
andoverride extend_safe_fixes
(#8444)- Add support for disabling cache with
RUFF_NO_CACHE
environment variable (#8538)Bug fixes
- [
E721
] Flag comparisons tomemoryview
(#8485)- Allow collapsed-ellipsis bodies in other statements (#8499)
- Avoid
D301
autofix foru
prefixed strings (#8495)- Only flag
flake8-trio
rules whentrio
import is present (#8550)- Reject more syntactically invalid Python programs (#8524)
- Avoid raising
TRIO115
violations fortrio.sleep(...)
calls with non-number values (#8532)- Fix
F841
false negative on assignment to multiple variables (#8489)Documentation
- Fix link to isort
known-first-party
(#8562)- Add notes on fix safety to a few rules (#8500)
- Add missing toml config tabs (#8512)
- Add instructions for configuration of Emacs (#8488)
- Improve detail link contrast in dark mode (#8548)
- Fix typo in example (#8506)
- Added tabs for configuration files in the documentation (#8480)
- Recommend
project.requires-python
overtarget-version
(#8513)- Add singleton escape hatch to
B008
documentation (#8501)- Fix tab configuration docs (#8502)
... (truncated)
Sourced from ruff's changelog.
0.1.5
Preview features
- [
flake8-bandit
] Implementmako-templates
(S702
) (#8533)- [
flake8-trio
] ImplementTRIO105
(#8490)- [
flake8-trio
] ImplementTRIO109
(#8534)- [
flake8-trio
] ImplementTRIO110
(#8537)- [
flake8-trio
] ImplementTRIO115
(#8486)- [
refurb
] Implementtype-none-comparison
(FURB169
) (#8487)- Flag all comparisons against builtin types in
E721
(#8491)- Make
SIM118
fix as safe when the expression is a known dictionary (#8525)Formatter
- Fix multiline lambda expression statement formatting (#8466)
CLI
- Add hidden
--extension
to override inference of source type from file extension (#8373)Configuration
- Account for selector specificity when merging
extend_unsafe_fixes
andoverride extend_safe_fixes
(#8444)- Add support for disabling cache with
RUFF_NO_CACHE
environment variable (#8538)Bug fixes
- [
E721
] Flag comparisons tomemoryview
(#8485)- Allow collapsed-ellipsis bodies in other statements (#8499)
- Avoid
D301
autofix foru
prefixed strings (#8495)- Only flag
flake8-trio
rules whentrio
import is present (#8550)- Reject more syntactically invalid Python programs (#8524)
- Avoid raising
TRIO115
violations fortrio.sleep(...)
calls with non-number values (#8532)- Fix
F841
false negative on assignment to multiple variables (#8489)Documentation
- Fix link to isort
known-first-party
(#8562)- Add notes on fix safety to a few rules (#8500)
- Add missing toml config tabs (#8512)
- Add instructions for configuration of Emacs (#8488)
- Improve detail link contrast in dark mode (#8548)
- Fix typo in example (#8506)
- Added tabs for configuration files in the documentation (#8480)
- Recommend
project.requires-python
overtarget-version
(#8513)- Add singleton escape hatch to
B008
documentation (#8501)- Fix tab configuration docs (#8502)
0.1.4
... (truncated)
3956f38
Prepare release 0.1.5 (#8570)fe9727a
Add rooster
release management configuration and
instructions (#8567)3ebaca5
Doc: Fix link to isort known-first-party
(#8562)7391f74
Add hidden --extension
to override inference of source type
from file exten...71e93a9
Only flag flake8-trio rule when trio is present (#8550)e2c7b1e
[TRIO] Add TRIO109 rule (#8534)621e98f
Improve detail link contrast in dark mode (#8548)0126f74
Add TRIO110 rule (#8537)fce9f63
[flake8-bandit
] Implement mako-templates
(S702
) (#8533)ce549e7
Update pre-commit documentation (#8545)