eigenein / protobuf

Python implementation of Protocol Buffers with dataclass-based schemaʼs
https://eigenein.github.io/protobuf/
MIT License
251 stars 22 forks source link

⬆️ Update all non-major dependencies #139

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
black (changelog) 23.9.1 -> 23.12.0 age adoption passing confidence
mkdocs-git-revision-date-localized-plugin 1.2.0 -> 1.2.2 age adoption passing confidence
mkdocs-material 9.4.5 -> 9.5.2 age adoption passing confidence
mkdocstrings (changelog) 0.23.0 -> 0.24.0 age adoption passing confidence
mypy (source, changelog) 1.6.0 -> 1.8.0 age adoption passing confidence
pillow (source, changelog) 10.0.1 -> 10.1.0 age adoption passing confidence
pytest (source, changelog) 7.4.2 -> 7.4.3 age adoption passing confidence
ruff (source, changelog) 0.0.292 -> 0.1.9 age adoption passing confidence

Release Notes

psf/black (black) ### [`v23.12.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://togithub.com/psf/black/compare/23.11.0...23.12.0) ##### Highlights It's almost 2024, which means it's time for a new edition of *Black*'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://togithub.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. ##### Stable style - Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. ([#​4084](https://togithub.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://togithub.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://togithub.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://togithub.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://togithub.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://togithub.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://togithub.com/psf/black/issues/4086)) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions ([#​4066](https://togithub.com/psf/black/issues/4066)) ([#​4103](https://togithub.com/psf/black/issues/4103)) ##### Configuration - `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://togithub.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://togithub.com/psf/black/issues/4049)) ([#​4069](https://togithub.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://togithub.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://togithub.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://togithub.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://togithub.com/psf/black/issues/4055)) ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://togithub.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://togithub.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://togithub.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://togithub.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://togithub.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://togithub.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://togithub.com/psf/black/issues/3940)) ### [`v23.10.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://togithub.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://togithub.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://togithub.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://togithub.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://togithub.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://togithub.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://togithub.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://togithub.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://togithub.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://togithub.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://togithub.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://togithub.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://togithub.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://togithub.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://togithub.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://togithub.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://togithub.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://togithub.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://togithub.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://togithub.com/psf/black/issues/3914))
timvink/mkdocs-git-revision-date-localized-plugin (mkdocs-git-revision-date-localized-plugin) ### [`v1.2.2`](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v1.2.2): revision-date-localized v1.2.2 [Compare Source](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.2.1...v1.2.2) #### What's Changed - Correctly check for truthiness of `generated_by` by [@​oprypin](https://togithub.com/oprypin) in [https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/124](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/124) - \[fix] get locale for mkdocs-static-i18n by [@​satisataka](https://togithub.com/satisataka) in [https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/125](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/125) #### New Contributors - [@​oprypin](https://togithub.com/oprypin) made their first contribution in [https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/124](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/124) - [@​satisataka](https://togithub.com/satisataka) made their first contribution in [https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/125](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/125) **Full Changelog**: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.2.1...v1.2.2 ### [`v1.2.1`](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v1.2.1): revision-date-localized v1.2.1 [Compare Source](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.2.0...v1.2.1) #### What's Changed - Remove usage of `datetime.utcfromtimestamp` to avoid deprecated warnings in python 3.12 by [@​timvink](https://togithub.com/timvink) in [https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/122](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/122) **Full Changelog**: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.2.0...v1.2.1
squidfunk/mkdocs-material (mkdocs-material) ### [`v9.5.2`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.2): mkdocs-material-9.5.2 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.1...9.5.2) - Fixed types for `slugify` settings in blog plugin config - Fixed [#​6469](https://togithub.com/squidfunk/mkdocs-material/issues/6469): Horizontal scrollbars on MathJax containers ### [`v9.5.1`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.1): mkdocs-material-9.5.1 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.0...9.5.1) - Updated Greek translations - Fixed [#​6464](https://togithub.com/squidfunk/mkdocs-material/issues/6464): Privacy plugin cannot be enabled - Fixed [#​6461](https://togithub.com/squidfunk/mkdocs-material/issues/6461): Sorting blog posts ignores time component in date ### [`v9.5.0`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.0): mkdocs-material-9.5.0 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.14...9.5.0) Merged Insiders features of 'Goat's Horn' funding goal - Added privacy plugin: automatic downloading of external assets - Added support for card grids and grid layouts - Added support for improved tooltips - Added support for content tabs anchor links (deep linking) - Added support for automatic dark/light mode - Added support for document contributors ### [`v9.4.14`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.14): mkdocs-material-9.4.14 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.13...9.4.14) - Added support for linking authors in blog posts ### [`v9.4.13`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.13): mkdocs-material-9.4.13 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.12...9.4.13) - Fixed [#​6365](https://togithub.com/squidfunk/mkdocs-material/issues/6365): Blog plugin pagination links to previous pages broken - Fixed [#​5758](https://togithub.com/squidfunk/mkdocs-material/issues/5758): Updated Mermaid.js to version 10.6.1 (latest) ### [`v9.4.12`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.12): mkdocs-material-9.4.12 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.11...9.4.12) - Improved blog plugin to generate Unicode-aware slugs by default - Fixed non-deterministic order of categories in blog plugin ### [`v9.4.11`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.11): mkdocs-material-9.4.11 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.10...9.4.11) - Fixed [#​6364](https://togithub.com/squidfunk/mkdocs-material/issues/6364): Search plugin crashing when enabling theme while serving - Fixed blog plugin crashing when disabling pagination ### [`v9.4.10`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.10): mkdocs-material-9.4.10 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.9...9.4.10) - Fixed [#​6356](https://togithub.com/squidfunk/mkdocs-material/issues/6356): Version selector can't be disabled via mike's configuration - Fixed [#​6281](https://togithub.com/squidfunk/mkdocs-material/issues/6281): Navigation not rendering due to Safari bug (9.4.2 regression) - Fixed [#​6261](https://togithub.com/squidfunk/mkdocs-material/issues/6261): Navigation expansion animates on first load (9.4.2 regression) ### [`v9.4.9`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.9): mkdocs-material-9.4.9 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.8...9.4.9) - Fixed [#​6344](https://togithub.com/squidfunk/mkdocs-material/issues/6344): Long entries cutoff in table of contents - Fixed [#​6336](https://togithub.com/squidfunk/mkdocs-material/issues/6336): Custom template for glob archive not working with pagination - Fixed [#​6328](https://togithub.com/squidfunk/mkdocs-material/issues/6328): Blog plugin crashes for locales with dashes, e.g. `pt-BR` - Fixed [#​6327](https://togithub.com/squidfunk/mkdocs-material/issues/6327): Copy-to-clipboard button doesn't trim trailing line feed - Fixed [#​6302](https://togithub.com/squidfunk/mkdocs-material/issues/6302): Version strings not matched when using mike, only aliases - Fixed instant navigation progress indicator for gzipped content in Chrome - Fixed rendering bug on details marker rotation in Firefox ### [`v9.4.8`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.8): mkdocs-material-9.4.8 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.7...9.4.8) - Fixed invalid local address replacement when using instant loading - Fixed [#​6275](https://togithub.com/squidfunk/mkdocs-material/issues/6275): Crash after navigation caused 404 when using instant loading ### [`v9.4.7`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.7): mkdocs-material-9.4.7 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) - Added Azerbaijani translations ### [`v9.4.6`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.6): mkdocs-material-9.4.6 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.5...9.4.6) - Updated Danish and Norwegian (Nynorsk) translations - Fixed [#​6169](https://togithub.com/squidfunk/mkdocs-material/issues/6169): Blog post metadata layout overflows on small screens
mkdocstrings/mkdocstrings (mkdocstrings) ### [`v0.24.0`](https://togithub.com/mkdocstrings/mkdocstrings/blob/HEAD/CHANGELOG.md#0240---2023-11-14) [Compare Source](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0) [Compare with 0.23.0](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0) ##### Features - Cache downloaded inventories as local file ([ce84dd5](https://togithub.com/mkdocstrings/mkdocstrings/commit/ce84dd57dc5cd3bf3f4be9623ddaa73e1c1868f0) by Oleh Prypin). [PR #​632](https://togithub.com/mkdocstrings/mkdocstrings/pull/632) ##### Bug Fixes - Make `custom_templates` relative to the config file ([370a61d](https://togithub.com/mkdocstrings/mkdocstrings/commit/370a61d12b33f3fb61f6bddb3939eb8ff6018620) by Waylan Limberg). [Issue #​477](https://togithub.com/mkdocstrings/mkdocstrings/issues/477), [PR #​627](https://togithub.com/mkdocstrings/mkdocstrings/pull/627) - Remove duplicated headings for docstrings nested in tabs/admonitions ([e2123a9](https://togithub.com/mkdocstrings/mkdocstrings/commit/e2123a935edea0abdc1b439e2c2b76e002c76e2b) by Perceval Wajsburt, [f4a94f7](https://togithub.com/mkdocstrings/mkdocstrings/commit/f4a94f7d8b8eb1ac01d65bb7237f0077e320ddac) by Oleh Prypin). [Issue #​609](https://togithub.com/mkdocstrings/mkdocstrings/issues/609), [PR #​610](https://togithub.com/mkdocstrings/mkdocstrings/pull/610), [PR #​613](https://togithub.com/mkdocstrings/mkdocstrings/pull/613) ##### Code Refactoring - Drop support for MkDocs < 1.4, modernize usages ([b61d4d1](https://togithub.com/mkdocstrings/mkdocstrings/commit/b61d4d15258c66b14266aa04b456f191f101b2c6) by Oleh Prypin). [PR #​629](https://togithub.com/mkdocstrings/mkdocstrings/pull/629)
python/mypy (mypy) ### [`v1.8.0`](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://togithub.com/python/mypy/compare/v1.6.0...v1.6.1)
python-pillow/Pillow (pillow) ### [`v10.1.0`](https://togithub.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1010-2023-10-15) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/10.0.1...10.1.0) - Added TrueType default font to allow for different sizes [#​7354](https://togithub.com/python-pillow/Pillow/issues/7354) \[radarhere] - Fixed invalid argument warning [#​7442](https://togithub.com/python-pillow/Pillow/issues/7442) \[radarhere] - Added ImageOps cover method [#​7412](https://togithub.com/python-pillow/Pillow/issues/7412) \[radarhere, hugovk] - Catch struct.error from truncated EXIF when reading JPEG DPI [#​7458](https://togithub.com/python-pillow/Pillow/issues/7458) \[radarhere] - Consider default image when selecting mode for PNG save_all [#​7437](https://togithub.com/python-pillow/Pillow/issues/7437) \[radarhere] - Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata [#​7303](https://togithub.com/python-pillow/Pillow/issues/7303) \[radarhere] - Added CMYK to RGB unpacker [#​7310](https://togithub.com/python-pillow/Pillow/issues/7310) \[radarhere] - Improved flexibility of XMP parsing [#​7274](https://togithub.com/python-pillow/Pillow/issues/7274) \[radarhere] - Support reading 8-bit YCbCr TIFF images [#​7415](https://togithub.com/python-pillow/Pillow/issues/7415) \[radarhere] - Allow saving I;16B images as PNG [#​7302](https://togithub.com/python-pillow/Pillow/issues/7302) \[radarhere] - Corrected drawing I;16 points and writing I;16 text [#​7257](https://togithub.com/python-pillow/Pillow/issues/7257) \[radarhere] - Set blue channel to 128 for BC5S [#​7413](https://togithub.com/python-pillow/Pillow/issues/7413) \[radarhere] - Increase flexibility when reading IPTC fields [#​7319](https://togithub.com/python-pillow/Pillow/issues/7319) \[radarhere] - Set C palette to be empty by default [#​7289](https://togithub.com/python-pillow/Pillow/issues/7289) \[radarhere] - Added gs_binary to control Ghostscript use on all platforms [#​7392](https://togithub.com/python-pillow/Pillow/issues/7392) \[radarhere] - Read bounding box information from the trailer of EPS files if specified [#​7382](https://togithub.com/python-pillow/Pillow/issues/7382) \[nopperl, radarhere] - Added reading 8-bit color DDS images [#​7426](https://togithub.com/python-pillow/Pillow/issues/7426) \[radarhere] - Added has_transparency_data [#​7420](https://togithub.com/python-pillow/Pillow/issues/7420) \[radarhere, hugovk] - Fixed bug when reading BC5S DDS images [#​7401](https://togithub.com/python-pillow/Pillow/issues/7401) \[radarhere] - Prevent TIFF orientation from being applied more than once [#​7383](https://togithub.com/python-pillow/Pillow/issues/7383) \[radarhere] - Use previous pixel alpha for QOI_OP_RGB [#​7357](https://togithub.com/python-pillow/Pillow/issues/7357) \[radarhere] - Added BC5U reading [#​7358](https://togithub.com/python-pillow/Pillow/issues/7358) \[radarhere] - Allow getpixel() to accept a list [#​7355](https://togithub.com/python-pillow/Pillow/issues/7355) \[radarhere, homm] - Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii [#​7336](https://togithub.com/python-pillow/Pillow/issues/7336) \[radarhere] - Expand JPEG buffer size when saving optimized or progressive [#​7345](https://togithub.com/python-pillow/Pillow/issues/7345) \[radarhere] - Added session type check for Linux in ImageGrab.grabclipboard() [#​7332](https://togithub.com/python-pillow/Pillow/issues/7332) \[TheNooB2706, radarhere, hugovk] - Allow "loop=None" when saving GIF images [#​7329](https://togithub.com/python-pillow/Pillow/issues/7329) \[radarhere] - Fixed transparency when saving P mode images to PDF [#​7323](https://togithub.com/python-pillow/Pillow/issues/7323) \[radarhere] - Added saving LA images as PDFs [#​7299](https://togithub.com/python-pillow/Pillow/issues/7299) \[radarhere] - Set SMaskInData to 1 for PDFs with alpha [#​7316](https://togithub.com/python-pillow/Pillow/issues/7316), [#​7317](https://togithub.com/python-pillow/Pillow/issues/7317) \[radarhere] - Changed Image mode property to be read-only by default [#​7307](https://togithub.com/python-pillow/Pillow/issues/7307) \[radarhere] - Silence exceptions in *repr_jpeg* and *repr_png* [#​7266](https://togithub.com/python-pillow/Pillow/issues/7266) \[mtreinish, radarhere] - Do not use transparency when saving GIF if it has been removed when normalizing mode [#​7284](https://togithub.com/python-pillow/Pillow/issues/7284) \[radarhere] - Fix missing symbols when libtiff depends on libjpeg [#​7270](https://togithub.com/python-pillow/Pillow/issues/7270) \[heitbaum]
pytest-dev/pytest (pytest) ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...7.4.3) ## Bug Fixes - [#​10447](https://togithub.com/pytest-dev/pytest/issues/10447): Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression. - [#​11239](https://togithub.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases. - [#​11439](https://togithub.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down.
astral-sh/ruff (ruff) ### [`v0.1.9`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#019) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.8...v0.1.9) ##### Breaking changes - Add site-packages to default exclusions ([#​9188](https://togithub.com/astral-sh/ruff/pull/9188)) ##### Preview features - Fix: Avoid parenthesizing subscript targets and values ([#​9209](https://togithub.com/astral-sh/ruff/pull/9209)) - \[`pylint`] Implement `too-many-locals` (`PLR0914`) ([#​9163](https://togithub.com/astral-sh/ruff/pull/9163)) - Implement `reimplemented_operator` (FURB118) ([#​9171](https://togithub.com/astral-sh/ruff/pull/9171)) - Add a rule to detect string members in runtime-evaluated unions ([#​9143](https://togithub.com/astral-sh/ruff/pull/9143)) - Implement `no_blank_line_before_class_docstring` preview style ([#​9154](https://togithub.com/astral-sh/ruff/pull/9154)) ##### Rule changes - `CONSTANT_CASE` variables are improperly flagged for yoda violation (`SIM300`) ([#​9164](https://togithub.com/astral-sh/ruff/pull/9164)) - \[`flake8-pyi`] Cover ParamSpecs and TypeVarTuples (`PYI018`) ([#​9198](https://togithub.com/astral-sh/ruff/pull/9198)) - \[`flake8-bugbear`] Add fix for `zip-without-explicit-strict` (`B905`) ([#​9176](https://togithub.com/astral-sh/ruff/pull/9176)) - Add fix to automatically remove `print` and `pprint` statements (`T201`, `T203`) ([#​9208](https://togithub.com/astral-sh/ruff/pull/9208)) - Prefer `Never` to `NoReturn` in auto-typing in Python >= 3.11 (`ANN201`) ([#​9213](https://togithub.com/astral-sh/ruff/pull/9213)) ##### Formatter - `can_omit_optional_parentheses`: Exit early for unparenthesized expressions ([#​9125](https://togithub.com/astral-sh/ruff/pull/9125)) - Fix `dynamic` mode with doctests so that it doesn't exceed configured line width ([#​9129](https://togithub.com/astral-sh/ruff/pull/9129)) - Fix `can_omit_optional_parentheses` for expressions with a right most fstring ([#​9124](https://togithub.com/astral-sh/ruff/pull/9124)) - Add `target_version` to formatter options ([#​9220](https://togithub.com/astral-sh/ruff/pull/9220)) ##### CLI - Update `ruff format --check` to display message for already formatted files ([#​9153](https://togithub.com/astral-sh/ruff/pull/9153)) ##### Bug fixes - Reverse order of arguments for `operator.contains` ([#​9192](https://togithub.com/astral-sh/ruff/pull/9192)) - Iterate over lambdas in deferred type annotations ([#​9175](https://togithub.com/astral-sh/ruff/pull/9175)) - Fix panic in `D208` with multibyte indent ([#​9147](https://togithub.com/astral-sh/ruff/pull/9147)) - Add support for `NoReturn` in auto-return-typing ([#​9206](https://togithub.com/astral-sh/ruff/pull/9206)) - Allow removal of `typing` from `exempt-modules` ([#​9214](https://togithub.com/astral-sh/ruff/pull/9214)) - Avoid `mutable-class-default` violations for Pydantic subclasses ([#​9187](https://togithub.com/astral-sh/ruff/pull/9187)) - Fix dropped union expressions for piped non-types in `PYI055` autofix ([#​9161](https://togithub.com/astral-sh/ruff/pull/9161)) - Enable annotation quoting for multi-line expressions ([#​9142](https://togithub.com/astral-sh/ruff/pull/9142)) - Deduplicate edits when quoting annotations ([#​9140](https://togithub.com/astral-sh/ruff/pull/9140)) - Prevent invalid utf8 indexing in cell magic detection ([#​9146](https://togithub.com/astral-sh/ruff/pull/9146)) - Avoid nested quotations in auto-quoting fix ([#​9168](https://togithub.com/astral-sh/ruff/pull/9168)) - Add base-class inheritance detection to flake8-django rules ([#​9151](https://togithub.com/astral-sh/ruff/pull/9151)) - Avoid `asyncio-dangling-task` violations on shadowed bindings ([#​9215](https://togithub.com/astral-sh/ruff/pull/9215)) ##### Documentation - Fix blog post URL in changelog ([#​9119](https://togithub.com/astral-sh/ruff/pull/9119)) - Add error suppression hint for multi-line strings ([#​9205](https://togithub.com/astral-sh/ruff/pull/9205)) - Fix typo in SemanticModel.parent_expression docstring ([#​9167](https://togithub.com/astral-sh/ruff/pull/9167)) - Document link between import sorting and formatter ([#​9117](https://togithub.com/astral-sh/ruff/pull/9117)) ### [`v0.1.8`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#018) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.7...v0.1.8) This release includes opt-in support for formatting Python snippets within docstrings via the `docstring-code-format` setting. [Check out the blog post](https://astral.sh/blog/ruff-v0.1.8) for more details! ##### Preview features - Add `"preserve"` quote-style to mimic Black's skip-string-normalization ([#​8822](https://togithub.com/astral-sh/ruff/pull/8822)) - Implement `prefer_splitting_right_hand_side_of_assignments` preview style ([#​8943](https://togithub.com/astral-sh/ruff/pull/8943)) - \[`pycodestyle`] Add fix for `unexpected-spaces-around-keyword-parameter-equals` ([#​9072](https://togithub.com/astral-sh/ruff/pull/9072)) - \[`pycodestyle`] Add fix for comment-related whitespace rules ([#​9075](https://togithub.com/astral-sh/ruff/pull/9075)) - \[`pycodestyle`] Allow `sys.path` modifications between imports ([#​9047](https://togithub.com/astral-sh/ruff/pull/9047)) - \[`refurb`] Implement `hashlib-digest-hex` (`FURB181`) ([#​9077](https://togithub.com/astral-sh/ruff/pull/9077)) ##### Rule changes - Allow `flake8-type-checking` rules to automatically quote runtime-evaluated references ([#​6001](https://togithub.com/astral-sh/ruff/pull/6001)) - Allow transparent cell magics in Jupyter Notebooks ([#​8911](https://togithub.com/astral-sh/ruff/pull/8911)) - \[`flake8-annotations`] Avoid `ANN2xx` fixes for abstract methods with empty bodies ([#​9034](https://togithub.com/astral-sh/ruff/pull/9034)) - \[`flake8-self`] Ignore underscore references in type annotations ([#​9036](https://togithub.com/astral-sh/ruff/pull/9036)) - \[`pep8-naming`] Allow class names when `apps.get_model` is a non-string ([#​9065](https://togithub.com/astral-sh/ruff/pull/9065)) - \[`pycodestyle`] Allow `matplotlib.use` calls to intersperse imports ([#​9094](https://togithub.com/astral-sh/ruff/pull/9094)) - \[`pyflakes`] Support fixing unused assignments in tuples by renaming variables (`F841`) ([#​9107](https://togithub.com/astral-sh/ruff/pull/9107)) - \[`pylint`] Add fix for `subprocess-run-without-check` (`PLW1510`) ([#​6708](https://togithub.com/astral-sh/ruff/pull/6708)) ##### Formatter - Add `docstring-code-format` knob to enable docstring snippet formatting ([#​8854](https://togithub.com/astral-sh/ruff/pull/8854)) - Use double quotes for all docstrings, including single-quoted docstrings ([#​9020](https://togithub.com/astral-sh/ruff/pull/9020)) - Implement "dynamic" line width mode for docstring code formatting ([#​9098](https://togithub.com/astral-sh/ruff/pull/9098)) - Support reformatting Markdown code blocks ([#​9030](https://togithub.com/astral-sh/ruff/pull/9030)) - add support for formatting reStructuredText code snippets ([#​9003](https://togithub.com/astral-sh/ruff/pull/9003)) - Avoid trailing comma for single-argument with positional separator ([#​9076](https://togithub.com/astral-sh/ruff/pull/9076)) - Fix handling of trailing target comment ([#​9051](https://togithub.com/astral-sh/ruff/pull/9051)) ##### CLI - Hide unsafe fix suggestions when explicitly disabled ([#​9095](https://togithub.com/astral-sh/ruff/pull/9095)) - Add SARIF support to `--output-format` ([#​9078](https://togithub.com/astral-sh/ruff/pull/9078)) ##### Bug fixes - Apply unnecessary index rule prior to enumerate rewrite ([#​9012](https://togithub.com/astral-sh/ruff/pull/9012)) - \[`flake8-err-msg`] Allow `EM` fixes even if `msg` variable is defined ([#​9059](https://togithub.com/astral-sh/ruff/pull/9059)) - \[`flake8-pie`] Prevent keyword arguments duplication ([#​8450](https://togithub.com/astral-sh/ruff/pull/8450)) - \[`flake8-pie`] Respect trailing comma in `unnecessary-dict-kwargs` (`PIE804`) ([#​9015](https://togithub.com/astral-sh/ruff/pull/9015)) - \[`flake8-raise`] Avoid removing parentheses on ctypes.WinError ([#​9027](https://togithub.com/astral-sh/ruff/pull/9027)) - \[`isort`] Avoid invalid combination of `force-sort-within-types` and `lines-between-types` ([#​9041](https://togithub.com/astral-sh/ruff/pull/9041)) - \[`isort`] Ensure that from-style imports are always ordered first in `__future__` ([#​9039](https://togithub.com/astral-sh/ruff/pull/9039)) - \[`pycodestyle`] Allow tab indentation before keyword ([#​9099](https://togithub.com/astral-sh/ruff/pull/9099)) - \[`pylint`] Ignore `@overrides` and `@overloads` for `too-many-positional` ([#​9000](https://togithub.com/astral-sh/ruff/pull/9000)) - \[`pyupgrade`] Enable `printf-string-formatting` fix with comments on right-hand side ([#​9037](https://togithub.com/astral-sh/ruff/pull/9037)) - \[`refurb`] Make `math-constant` (`FURB152`) rule more targeted ([#​9054](https://togithub.com/astral-sh/ruff/pull/9054)) - \[`refurb`] Support floating-point base in `redundant-log-base` (`FURB163`) ([#​9100](https://togithub.com/astral-sh/ruff/pull/9100)) - \[`ruff`] Detect `unused-asyncio-dangling-task` (`RUF006`) on unused assignments ([#​9060](https://togithub.com/astral-sh/ruff/pull/9060)) ### [`v0.1.7`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#017) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.6...v0.1.7) ##### Preview features - Implement multiline dictionary and list hugging for preview style ([#​8293](https://togithub.com/astral-sh/ruff/pull/8293)) - Implement the `fix_power_op_line_length` preview style ([#​8947](https://togithub.com/astral-sh/ruff/pull/8947)) - Use Python version to determine typing rewrite safety ([#​8919](https://togithub.com/astral-sh/ruff/pull/8919)) - \[`flake8-annotations`] Enable auto-return-type involving `Optional` and `Union` annotations ([#​8885](https://togithub.com/astral-sh/ruff/pull/8885)) - \[`flake8-bandit`] Implement `django-raw-sql` (`S611`) ([#​8651](https://togithub.com/astral-sh/ruff/pull/8651)) - \[`flake8-bandit`] Implement `tarfile-unsafe-members` (`S202`) ([#​8829](https://togithub.com/astral-sh/ruff/pull/8829)) - \[`flake8-pyi`] Implement fix for `unnecessary-literal-union` (`PYI030`) ([#​7934](https://togithub.com/astral-sh/ruff/pull/7934)) - \[`flake8-simplify`] Extend `dict-get-with-none-default` (`SIM910`) to non-literals ([#​8762](https://togithub.com/astral-sh/ruff/pull/8762)) - \[`pylint`] - add `unnecessary-list-index-lookup` (`PLR1736`) + autofix ([#​7999](https://togithub.com/astral-sh/ruff/pull/7999)) - \[`pylint`] - implement R0202 and R0203 with autofixes ([#​8335](https://togithub.com/astral-sh/ruff/pull/8335)) - \[`pylint`] Implement `repeated-keyword` (`PLe1132`) ([#​8706](https://togithub.com/astral-sh/ruff/pull/8706)) - \[`pylint`] Implement `too-many-positional` (`PLR0917`) ([#​8995](https://togithub.com/astral-sh/ruff/pull/8995)) - \[`pylint`] Implement `unnecessary-dict-index-lookup` (`PLR1733`) ([#​8036](https://togithub.com/astral-sh/ruff/pull/8036)) - \[`refurb`] Implement `redundant-log-base` (`FURB163`) ([#​8842](https://togithub.com/astral-sh/ruff/pull/8842)) ##### Rule changes - \[`flake8-boolean-trap`] Allow booleans in `@override` methods ([#​8882](https://togithub.com/astral-sh/ruff/pull/8882)) - \[`flake8-bugbear`] Avoid `B015`,`B018` for last expression in a cell ([#​8815](https://togithub.com/astral-sh/ruff/pull/8815)) - \[`flake8-pie`] Allow ellipses for enum values in stub files ([#​8825](https://togithub.com/astral-sh/ruff/pull/8825)) - \[`flake8-pyi`] Check PEP 695 type aliases for `snake-case-type-alias` and `t-suffixed-type-alias` ([#​8966](https://togithub.com/astral-sh/ruff/pull/8966)) - \[`flake8-pyi`] Check for kwarg and vararg `NoReturn` type annotations ([#​8948](https://togithub.com/astral-sh/ruff/pull/8948)) - \[`flake8-simplify`] Omit select context managers from `SIM117` ([#​8801](https://togithub.com/astral-sh/ruff/pull/8801)) - \[`pep8-naming`] Allow Django model loads in `non-lowercase-variable-in-function` (`N806`) ([#​8917](https://togithub.com/astral-sh/ruff/pull/8917)) - \[`pycodestyle`] Avoid `E703` for last expression in a cell ([#​8821](https://togithub.com/astral-sh/ruff/pull/8821)) - \[`pycodestyle`] Update `E402` to work at cell level for notebooks ([#​8872](https://togithub.com/astral-sh/ruff/pull/8872)) - \[`pydocstyle`] Avoid `D100` for Jupyter Notebooks ([#​8816](https://togithub.com/astral-sh/ruff/pull/8816)) - \[`pylint`] Implement fix for `unspecified-encoding` (`PLW1514`) ([#​8928](https://togithub.com/astral-sh/ruff/pull/8928)) ##### Formatter - Avoid unstable formatting in ellipsis-only body with trailing comment ([#​8984](https://togithub.com/astral-sh/ruff/pull/8984)) - Inline trailing comments for type alias similar to assignments ([#​8941](https://togithub.com/astral-sh/ruff/pull/8941)) - Insert trailing comma when function breaks with single argument ([#​8921](https://togithub.com/astral-sh/ruff/pull/8921)) ##### CLI - Update `ruff check` and `ruff format` to default to the current directory ([#​8791](https://togithub.com/astral-sh/ruff/pull/8791)) - Stop at the first resolved parent configuration ([#​8864](https://togithub.com/astral-sh/ruff/pull/8864)) ##### Configuration - \[`pylint`] Default `max-positional-args` to `max-args` ([#​8998](https://togithub.com/astral-sh/ruff/pull/8998)) - \[`pylint`] Add `allow-dunder-method-names` setting for `bad-dunder-method-name` (`PLW3201`) ([#​8812](https://togithub.com/astral-sh/ruff/pull/8812)) - \[`isort`] Add support for `from-first` setting ([#​8663](https://togithub.com/astral-sh/ruff/pull/8663)) - \[`isort`] Add support for `length-sort` settings ([#​8841](https://togithub.com/astral-sh/ruff/pull/8841)) ##### Bug fixes - Add support for `@functools.singledispatch` ([#​8934](https://togithub.com/astral-sh/ruff/pull/8934)) - Avoid off-by-one error in stripping noqa following multi-byte char ([#​8979](https://togithub.com/astral-sh/ruff/pull/8979)) - Avoid off-by-one error in with-item named expressions ([#​8915](https://togithub.com/astral-sh/ruff/pull/8915)) - Avoid syntax error via invalid ur string prefix ([#​8971](https://togithub.com/astral-sh/ruff/pull/8971)) - Avoid underflow in `get_model` matching ([#​8965](https://togithub.com/astral-sh/ruff/pull/8965)) - Avoid unnecessary index diagnostics when value is modified ([#​8970](https://togithub.com/astral-sh/ruff/pull/8970)) - Convert over-indentation rule to use number of characters ([#​8983](https://togithub.com/astral-sh/ruff/pull/8983)) - Detect implicit returns in auto-return-types ([#​8952](https://togithub.com/astral-sh/ruff/pull/8952)) - Fix start >= end error in over-indentation ([#​8982](https://togithub.com/astral-sh/ruff/pull/8982)) - Ignore `@overload` and `@override` methods for too-many-arguments checks ([#​8954](https://togithub.com/astral-sh/ruff/pull/8954)) - Lexer start of line is false only for `Mode::Expression` ([#​8880](https://togithub.com/astral-sh/ruff/pull/8880)) - Mark `pydantic_settings.BaseSettings` as having default copy semantics ([#​8793](https://togithub.com/astral-sh/ruff/pull/8793)) - Respect dictionary unpacking in `NamedTuple` assignments ([#​8810](https://togithub.com/astral-sh/ruff/pull/8810)) - Respect local subclasses in `flake8-type-checking` ([#​8768](https://togithub.com/astral-sh/ruff/pull/8768)) - Support type alias statements in simple statement positions ([#​8916](https://togithub.com/astral-sh/ruff/pull/8916)) - \[`flake8-annotations`] Avoid filtering out un-representable types in return annotation ([#​8881](https://togithub.com/astral-sh/ruff/pull/8881)) - \[`flake8-pie`] Retain extra ellipses in protocols and abstract methods ([#​8769](https://togithub.com/astral-sh/ruff/pull/8769)) - \[`flake8-pyi`] Respect local enum subclasses in `simple-defaults` (`PYI052`) ([#​8767](https://togithub.com/astral-sh/ruff/pull/8767)) - \[`flake8-trio`] Use correct range for `TRIO115` fix ([#​8933](https://togithub.com/astral-sh/ruff/pull/8933)) - \[`flake8-trio`] Use full arguments range for zero-sleep-call ([#​8936](https://togithub.com/astral-sh/ruff/pull/8936)) - \[`isort`] fix: mark `__main__` as first-party import ([#​8805](https://togithub.com/astral-sh/ruff/pull/8805)) - \[`pep8-naming`] Avoid `N806` errors for type alias statements ([#​8785](https://togithub.com/astral-sh/ruff/pull/8785)) - \[`perflint`] Avoid `PERF101` if there's an append in loop body ([#​8809](https://togithub.com/astral-sh/ruff/pull/8809)) - \[`pycodestyle`] Allow space-before-colon after end-of-slice ([#​8838](https://togithub.com/astral-sh/ruff/pull/8838)) - \[`pydocstyle`] Avoid non-character breaks in `over-indentation` (`D208`) ([#​8866](https://togithub.com/astral-sh/ruff/pull/8866)) - \[`pydocstyle`] Ignore underlines when determining docstring logical lines ([#​8929](https://togithub.com/astral-sh/ruff/pull/8929)) - \[`pylint`] Extend `self-assigning-variable` to multi-target assignments ([#​8839](https://togithub.com/astral-sh/ruff/pull/8839)) - \[`tryceratops`] Avoid repeated triggers in nested `tryceratops` diagnostics ([#​8772](https://togithub.com/astral-sh/ruff/pull/8772)) ##### Documentation - Add advice for fixing RUF008 when mutability is not desired ([#​8853](https://togithub.com/astral-sh/ruff/pull/8853)) - Added the command to run ruff using pkgx to the installation.md ([#​8955](https://togithub.com/astral-sh/ruff/pull/8955)) - Document fix safety for flake8-comprehensions and some pyupgrade rules ([#​8918](https://togithub.com/astral-sh/ruff/pull/8918)) - Fix doc formatting for zero-sleep-call ([#​8937](https://togithub.com/astral-sh/ruff/pull/8937)) - Remove duplicate imports from os-stat documentation ([#​8930](https://togithub.com/astral-sh/ruff/pull/8930)) - Replace generated reference to MkDocs ([#​8806](https://togithub.com/astral-sh/ruff/pull/8806)) - Update Arch Linux package URL in installation.md ([#​8802](https://togithub.com/astral-sh/ruff/pull/8802)) - \[`flake8-pyi`] Fix error in `t-suffixed-type-alias` (`PYI043`) example ([#​8963](https://togithub.com/astral-sh/ruff/pull/8963)) - \[`flake8-pyi`] Improve motivation for `custom-type-var-return-type` (`PYI019`) ([#​8766](https://togithub.com/astral-sh/ruff/pull/8766)) ### [`v0.1.6`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#016) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.5...v0.1.6) ##### Preview features - \[`flake8-boolean-trap`] Extend `boolean-type-hint-positional-argument` (`FBT001`) to include booleans in unions ([#​7501](https://togithub.com/astral-sh/ruff/pull/7501)) - \[`flake8-pie`] Extend `reimplemented-list-builtin` (`PIE807`) to `dict` reimplementations ([#​8608](https://togithub.com/astral-sh/ruff/pull/8608)) - \[`flake8-pie`] Extend `unnecessary-pass` (`PIE790`) to include ellipses (`...`) ([#​8641](https://togithub.com/astral-sh/ruff/pull/8641)) - \[`flake8-pie`] Implement fix for `unnecessary-spread` (`PIE800`) ([#​8668](https://togithub.com/astral-sh/ruff/pull/8668)) - \[`flake8-quotes`] Implement `unnecessary-escaped-quote` (`Q004`) ([#​8630](https://togithub.com/astral-sh/ruff/pull/8630)) - \[`pycodestyle`] Implement fix for `multiple-spaces-after-keyword` (`E271`) and `multiple-spaces-before-keyword` (`E272`) ([#​8622](https://togithub.com/astral-sh/ruff/pull/8622)) - \[`pycodestyle`] Implement fix for `multiple-spaces-after-operator` (`E222`) and `multiple-spaces-before-operator` (`E221`) ([#​8623](https://togithub.com/astral-sh/ruff/pull/8623)) - \[`pyflakes`] Extend `is-literal` (`F632`) to include comparisons against mutable initializers ([#​8607](https://togithub.com/astral-sh/ruff/pull/8607)) - \[`pylint`] Implement `redefined-argument-from-local` (`PLR1704`) ([#​8159](https://togithub.com/astral-sh/ruff/pull/8159)) - \[`pylint`] Implement fix for `unnecessary-lambda` (`PLW0108`) ([#​8621](https://togithub.com/astral-sh/ruff/pull/8621)) - \[`refurb`] Implement `if-expr-min-max` (`FURB136`) ([#​8664](https://togithub.com/astral-sh/ruff/pull/8664)) - \[`refurb`] Implement `math-constant` (`FURB152`) ([#​8727](https://togithub.com/astral-sh/ruff/pull/8727)) ##### Rule changes - \[`flake8-annotations`] Add autotyping-like return type inference for annotation rules ([#​8643](https://togithub.com/astral-sh/ruff/pull/8643)) - \[`flake8-future-annotations`] Implement fix for `future-required-type-annotation` (`FA102`) ([#​8711](https://togithub.com/astral-sh/ruff/pull/8711)) - \[`flake8-implicit-namespace-package`] Avoid missing namespace violations in scripts with shebangs ([#​8710](https://togithub.com/astral-sh/ruff/pull/8710)) - \[`pydocstyle`] Update `over-indentation` (`D208`) to preserve indentation offsets when fixing overindented lines ([#​8699](https://togithub.com/astral-sh/ruff/pull/8699)) - \[`pyupgrade`] Refine `timeout-error-alias` (`UP041`) to remove false positives ([#​8587](https://togithub.com/astral-sh/ruff/pull/8587)) ##### Formatter - Fix instability in `await` formatting with fluent style ([#​8676](https://togithub.com/astral-sh/ruff/pull/8676)) - Compare formatted and unformatted ASTs during formatter tests ([#​8624](https://togithub.com/astral-sh/ruff/pull/8624)) - Preserve trailing semicolon for Notebooks ([#​8590](https://togithub.com/astral-sh/ruff/pull/8590)) ##### CLI - Improve debug printing for resolving origin of config settings ([#​8729](https://togithub.com/astral-sh/ruff/pull/8729)) - Write unchanged, excluded files to stdout when read via stdin ([#​8596](https://togithub.com/astral-sh/ruff/pull/8596)) ##### Configuration - \[`isort`] Support disabling sections with `no-sections = true` ([#​8657](https://togithub.com/astral-sh/ruff/pull/8657)) - \[`pep8-naming`] Support local and dynamic class- and static-method decorators ([#​8592](https://togithub.com/astral-sh/ruff/pull/8592)) - \[`pydocstyle`] Allow overriding pydocstyle convention rules ([#​8586](https://togithub.com/astral-sh/ruff/pull/8586)) ##### Bug fixes - Avoid syntax error via importing `trio.lowlevel` ([#​8730](https://togithub.com/astral-sh/ruff/pull/8730)) - Omit unrolled augmented assignments in `PIE794` ([#​8634](https://togithub.com/astral-sh/ruff/pull/8634)) - Slice source code instead of generating it for `EM` fixes ([#​7746](https://togithub.com/astral-sh/ruff/pull/7746)) - Allow whitespace around colon in slices for `whitespace-before-punctuation` (`E203`) ([#​8654](https://togithub.com/astral-sh/ruff/pull/8654)) - Use function range for `no-self-use` ([#​8637](https://togithub.com/astral-sh/ruff/pull/8637)) - F-strings doesn't contain bytes literal for `PLW0129` ([#​8675](https://togithub.com/astral-sh/ruff/pull/8675)) - Improve detection of `TYPE_CHECKING` blocks imported from `typing_extensions` or `_typeshed` ([#​8429](https://togithub.com/astral-sh/ruff/pull/8429)) - Treat display as a builtin in IPython ([#​8707](https://togithub.com/astral-sh/ruff/pull/8707)) - Avoid `FURB113` autofix if comments are present ([#​8494](https://togithub.com/astral-sh/ruff/pull/8494)) - Consider the new f-string tokens for `flake8-commas` ([#​8582](https://togithub.com/astral-sh/ruff/pull/8582)) - Remove erroneous bad-dunder-name reference ([#​8742](https://togithub.com/astral-sh/ruff/pull/8742)) - Avoid recommending Self usages in metaclasses ([#​8639](https://togithub.com/astral-sh/ruff/pull/8639)) - Detect runtime-evaluated base classes defined in the current file ([#​8572](https://togithub.com/astral-sh/ruff/pull/8572)) - Avoid inserting trailing commas within f-strings ([#​8574](https://togithub.com/astral-sh/ruff/pull/8574)) - Remove incorrect deprecation label for stdout and stderr ([#​8743](https://togithub.com/astral-sh/ruff/pull/8743)) - Fix unnecessary parentheses in UP007 fix ([#​8610](https://togithub.com/astral-sh/ruff/pull/8610)) - Remove repeated and erroneous scoped settings headers in docs ([#​8670](https://togithub.com/astral-sh/ruff/pull/8670)) - Trim trailing empty strings when converting to f-strings ([#​8712](https://togithub.com/astral-sh/ruff/pull/8712)) - Fix ordering for `force-sort-within-sections` ([#​8665](https://togithub.com/astral-sh/ruff/pull/8665)) - Run unicode prefix rule over tokens ([#​8709](https://togithub.com/astral-sh/ruff/pull/8709)) - Update UP032 to unescape curly braces in literal parts of converted strings ([#​8697](https://togithub.com/astral-sh/ruff/pull/8697)) - List all ipython builtins ([#​8719](https://togithub.com/astral-sh/ruff/pull/8719)) ##### Documentation - Document conventions in the FAQ ([#​8638](https://togithub.com/astral-sh/ruff/pull/8638)) - Redirect from rule codes to rule pages in docs ([#​8636](https://togithub.com/astral-sh/ruff/pull/8636)) - Fix permalink to convention setting ([#​8575](https://togithub.com/astral-sh/ruff/pull/8575)) ### [`v0.1.5`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#015) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.4...v0.1.5) ##### Preview features - \[`flake8-bandit`] Implement `mako-templates` (`S702`) ([#​8533](https://togithub.com/astral-sh/ruff/pull/8533)) - \[`flake8-trio`] Implement `TRIO105` ([#​8490](https://togithub.com/astral-sh/ruff/pull/8490)) - \[`flake8-trio`] Implement `TRIO109` ([#​8534](https://togithub.com/astral-sh/ruff/pull/8534)) - \[`flake8-trio`] Implement `TRIO110` ([#​8537](https://togithub.com/astral-sh/ruff/pull/8537)) - \[`flake8-trio`] Implement `TRIO115` ([#​8486](https://togithub.com/astral-sh/ruff/pull/8486)) - \[`refurb`] Implement `type-none-comparison` (`FURB169`) ([#​8487](https://togithub.com/astral-sh/ruff/pull/8487)) - Flag all comparisons against builtin types in `E721` ([#​8491](https://togithub.com/astral-sh/ruff/pull/8491)) - Make `SIM118` fix as safe when the expression is a known dictionary ([#​8525](https://togithub.com/astral-sh/ruff/pull/8525)) ##### Formatter - Fix multiline lambda expression statement formatting ([#​8466](https://togithub.com/astral-sh/ruff/pull/8466)) ##### CLI - Add hidden `--extension` to override inference of source type from file extension ([#​8373](https://togithub.com/astral-sh/ruff

Configuration

📅 Schedule: Branch creation - "after 11am on friday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e910bfb) 97.95% compared to head (fd29b31) 97.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #139 +/- ## ======================================= Coverage 97.95% 97.95% ======================================= Files 30 30 Lines 784 784 ======================================= Hits 768 768 Misses 16 16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.