-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update development dependencies (non-major) #17
Commits on Nov 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b350926 - Browse repository at this point
Copy the full SHA b350926View commit details -
chore(deps): update development dependencies (non-major) (#2)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dev/pytest](https://docs.pytest.org/en/latest/) ([source](https://github.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==7.4.2` -> `==7.4.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/dev%2fpytest/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/dev%2fpytest/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/dev%2fpytest/7.4.2/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/dev%2fpytest/7.4.2/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint/black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | `==23.10.0` -> `==23.10.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fblack/23.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fblack/23.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fblack/23.10.0/23.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fblack/23.10.0/23.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint/ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.1.1` -> `==0.1.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.1.1/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.1.1/0.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [types/pyright](https://github.com/RobertCraigie/pyright-python) | `==1.1.332` -> `==1.1.334` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/types%2fpyright/1.1.334?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/types%2fpyright/1.1.334?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/types%2fpyright/1.1.332/1.1.334?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/types%2fpyright/1.1.332/1.1.334?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pytest (dev/pytest)</summary> ### [`v7.4.3`](https://github.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24) [Compare Source](https://github.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) ## Bug Fixes - [#​10447](https://github.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://github.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases. - [#​11439](https://github.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down. </details> <details> <summary>psf/black (lint/black)</summary> ### [`v23.10.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://github.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://github.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://github.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://github.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://github.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://github.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://github.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [psf/black#3968 </details> <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.1.4`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#014) [Compare Source](https://github.com/astral-sh/ruff/compare/v0.1.3...v0.1.4) ##### Preview features - \[`flake8-trio`] Implement `timeout-without-await` (`TRIO001`) ([#​8439](https://github.com/astral-sh/ruff/pull/8439)) - \[`numpy`] Implement NumPy 2.0 migration rule (`NPY200`) ([#​7702](https://github.com/astral-sh/ruff/pull/7702)) - \[`pylint`] Implement `bad-open-mode` (`W1501`) ([#​8294](https://github.com/astral-sh/ruff/pull/8294)) - \[`pylint`] Implement `import-outside-toplevel` (`C0415`) rule ([#​5180](https://github.com/astral-sh/ruff/pull/5180)) - \[`pylint`] Implement `useless-with-lock` (`W2101`) ([#​8321](https://github.com/astral-sh/ruff/pull/8321)) - \[`pyupgrade`] Implement `timeout-error-alias` (`UP041`) ([#​8476](https://github.com/astral-sh/ruff/pull/8476)) - \[`refurb`] Implement `isinstance-type-none` (`FURB168`) ([#​8308](https://github.com/astral-sh/ruff/pull/8308)) - Detect confusable Unicode-to-Unicode units in `RUF001`, `RUF002`, and `RUF003` ([#​4430](https://github.com/astral-sh/ruff/pull/4430)) - Add newline after module docstrings in preview style ([#​8283](https://github.com/astral-sh/ruff/pull/8283)) ##### Formatter - Add a note on line-too-long to the formatter docs ([#​8314](https://github.com/astral-sh/ruff/pull/8314)) - Preserve trailing statement semicolons when using `fmt: skip` ([#​8273](https://github.com/astral-sh/ruff/pull/8273)) - Preserve trailing semicolons when using `fmt: off` ([#​8275](https://github.com/astral-sh/ruff/pull/8275)) - Avoid duplicating linter-formatter compatibility warnings ([#​8292](https://github.com/astral-sh/ruff/pull/8292)) - Avoid inserting a newline after function docstrings ([#​8375](https://github.com/astral-sh/ruff/pull/8375)) - Insert newline between docstring and following own line comment ([#​8216](https://github.com/astral-sh/ruff/pull/8216)) - Split tuples in return positions by comma first ([#​8280](https://github.com/astral-sh/ruff/pull/8280)) - Avoid treating byte strings as docstrings ([#​8350](https://github.com/astral-sh/ruff/pull/8350)) - Add `--line-length` option to `format` command ([#​8363](https://github.com/astral-sh/ruff/pull/8363)) - Avoid parenthesizing unsplittable because of comments ([#​8431](https://github.com/astral-sh/ruff/pull/8431)) ##### CLI - Add `--output-format` to `ruff rule` and `ruff linter` ([#​8203](https://github.com/astral-sh/ruff/pull/8203)) ##### Bug fixes - Respect `--force-exclude` in `lint.exclude` and `format.exclude` ([#​8393](https://github.com/astral-sh/ruff/pull/8393)) - Respect `--extend-per-file-ignores` on the CLI ([#​8329](https://github.com/astral-sh/ruff/pull/8329)) - Extend `bad-dunder-method-name` to permit `__index__` ([#​8300](https://github.com/astral-sh/ruff/pull/8300)) - Fix panic with 8 in octal escape ([#​8356](https://github.com/astral-sh/ruff/pull/8356)) - Avoid raising `D300` when both triple quote styles are present ([#​8462](https://github.com/astral-sh/ruff/pull/8462)) - Consider unterminated f-strings in `FStringRanges` ([#​8154](https://github.com/astral-sh/ruff/pull/8154)) - Avoid including literal `shell=True` for truthy, non-`True` diagnostics ([#​8359](https://github.com/astral-sh/ruff/pull/8359)) - Avoid triggering single-element test for starred expressions ([#​8433](https://github.com/astral-sh/ruff/pull/8433)) - Detect and ignore Jupyter automagics ([#​8398](https://github.com/astral-sh/ruff/pull/8398)) - Fix invalid E231 error with f-strings ([#​8369](https://github.com/astral-sh/ruff/pull/8369)) - Avoid triggering `NamedTuple` rewrite with starred annotation ([#​8434](https://github.com/astral-sh/ruff/pull/8434)) - Avoid un-setting bracket flag in logical lines ([#​8380](https://github.com/astral-sh/ruff/pull/8380)) - Place 'r' prefix before 'f' for raw format strings ([#​8464](https://github.com/astral-sh/ruff/pull/8464)) - Remove trailing periods from NumPy 2.0 code actions ([#​8475](https://github.com/astral-sh/ruff/pull/8475)) - Fix bug where `PLE1307` was raised when formatting `%c` with characters ([#​8407](https://github.com/astral-sh/ruff/pull/8407)) - Remove unicode flag from comparable ([#​8440](https://github.com/astral-sh/ruff/pull/8440)) - Improve B015 message ([#​8295](https://github.com/astral-sh/ruff/pull/8295)) - Use `fixedOverflowWidgets` for playground popover ([#​8458](https://github.com/astral-sh/ruff/pull/8458)) - Mark `byte_bounds` as a non-backwards-compatible NumPy 2.0 change ([#​8474](https://github.com/astral-sh/ruff/pull/8474)) ##### Internals - Add a dedicated cache directory per Ruff version ([#​8333](https://github.com/astral-sh/ruff/pull/8333)) - Allow selective caching for `--fix` and `--diff` ([#​8316](https://github.com/astral-sh/ruff/pull/8316)) - Improve performance of comment parsing ([#​8193](https://github.com/astral-sh/ruff/pull/8193)) - Improve performance of string parsing ([#​8227](https://github.com/astral-sh/ruff/pull/8227)) - Use a dedicated sort key for isort import sorting ([#​7963](https://github.com/astral-sh/ruff/pull/7963)) ### [`v0.1.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#013) [Compare Source](https://github.com/astral-sh/ruff/compare/v0.1.2...v0.1.3) This release includes a variety of improvements to the Ruff formatter, removing several known and unintentional deviations from Black. ##### Formatter - Avoid space around pow for `None`, `True` and `False` ([#​8189](https://github.com/astral-sh/ruff/pull/8189)) - Avoid sorting all paths in the format command ([#​8181](https://github.com/astral-sh/ruff/pull/8181)) - Insert necessary blank line between class and leading comments ([#​8224](https://github.com/astral-sh/ruff/pull/8224)) - Avoid introducing new parentheses in annotated assignments ([#​8233](https://github.com/astral-sh/ruff/pull/8233)) - Refine the warnings about incompatible linter options ([#​8196](https://github.com/astral-sh/ruff/pull/8196)) - Add test and basic implementation for formatter preview mode ([#​8044](https://github.com/astral-sh/ruff/pull/8044)) - Refine warning about incompatible `isort` settings ([#​8192](https://github.com/astral-sh/ruff/pull/8192)) - Only omit optional parentheses for starting or ending with parentheses ([#​8238](https://github.com/astral-sh/ruff/pull/8238)) - Use source type to determine parser mode for formatting ([#​8205](https://github.com/astral-sh/ruff/pull/8205)) - Don't warn about magic trailing comma when `isort.force-single-line` is true ([#​8244](https://github.com/astral-sh/ruff/pull/8244)) - Use `SourceKind::diff` for formatter ([#​8240](https://github.com/astral-sh/ruff/pull/8240)) - Fix `fmt:off` with trailing child comment ([#​8234](https://github.com/astral-sh/ruff/pull/8234)) - Formatter parentheses support for `IpyEscapeCommand` ([#​8207](https://github.com/astral-sh/ruff/pull/8207)) ##### Linter - \[`pylint`] Add buffer methods to `bad-dunder-method-name` (`PLW3201`) exclusions ([#​8190](https://github.com/astral-sh/ruff/pull/8190)) - Match rule prefixes from `external` codes setting in `unused-noqa` ([#​8177](https://github.com/astral-sh/ruff/pull/8177)) - Use `line-length` setting for isort in lieu of `pycodestyle.max-line-length` ([#​8235](https://github.com/astral-sh/ruff/pull/8235)) - Update fix for `unnecessary-paren-on-raise-exception` to unsafe for unknown types ([#​8231](https://github.com/astral-sh/ruff/pull/8231)) - Correct quick fix message for `W605` ([#​8255](https://github.com/astral-sh/ruff/pull/8255)) ##### Documentation - Fix typo in max-doc-length documentation ([#​8201](https://github.com/astral-sh/ruff/pull/8201)) - Improve documentation around linter-formatter conflicts ([#​8257](https://github.com/astral-sh/ruff/pull/8257)) - Fix link to error suppression documentation in `unused-noqa` ([#​8172](https://github.com/astral-sh/ruff/pull/8172)) - Add `external` option to `unused-noqa` documentation ([#​8171](https://github.com/astral-sh/ruff/pull/8171)) - Add title attribute to icons ([#​8060](https://github.com/astral-sh/ruff/pull/8060)) - Clarify unsafe case in RSE102 ([#​8256](https://github.com/astral-sh/ruff/pull/8256)) - Fix skipping formatting examples ([#​8210](https://github.com/astral-sh/ruff/pull/8210)) - docs: fix name of `magic-trailing-comma` option in README ([#​8200](https://github.com/astral-sh/ruff/pull/8200)) - Add note about scope of rule changing in versioning policy ([#​8169](https://github.com/astral-sh/ruff/pull/8169)) - Document: Fix default lint rules ([#​8218](https://github.com/astral-sh/ruff/pull/8218)) - Fix a wrong setting in configuration.md ([#​8186](https://github.com/astral-sh/ruff/pull/8186)) - Fix misspelled TOML headers in the tutorial ([#​8209](https://github.com/astral-sh/ruff/pull/8209)) ### [`v0.1.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#012) [Compare Source](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.2) This release includes the Beta version of the Ruff formatter — an extremely fast, Black-compatible Python formatter. Try it today with `ruff format`! [Check out the blog post](https://astral.sh/blog/the-ruff-formatter) and [read the docs](https://docs.astral.sh/ruff/formatter/). ##### Preview features - \[`pylint`] Implement `non-ascii-module-import` (`C2403`) ([#​8056](https://github.com/astral-sh/ruff/pull/8056)) - \[`pylint`] implement `non-ascii-name` (`C2401`) ([#​8038](https://github.com/astral-sh/ruff/pull/8038)) - \[`pylint`] Implement unnecessary-lambda (W0108) ([#​7953](https://github.com/astral-sh/ruff/pull/7953)) - \[`refurb`] Implement `read-whole-file` (`FURB101`) ([#​7682](https://github.com/astral-sh/ruff/pull/7682)) - Add fix for `E223`, `E224`, and `E242` ([#​8143](https://github.com/astral-sh/ruff/pull/8143)) - Add fix for `E225`, `E226`, `E227`, and `E228` ([#​8136](https://github.com/astral-sh/ruff/pull/8136)) - Add fix for `E252` ([#​8142](https://github.com/astral-sh/ruff/pull/8142)) - Add fix for `E261` ([#​8114](https://github.com/astral-sh/ruff/pull/8114)) - Add fix for `E273` and `E274` ([#​8144](https://github.com/astral-sh/ruff/pull/8144)) - Add fix for `E275` ([#​8133](https://github.com/astral-sh/ruff/pull/8133)) - Update `SIM401` to catch ternary operations ([#​7415](https://github.com/astral-sh/ruff/pull/7415)) - Update `E721` to allow `is` and `is` not for direct type comparisons ([#​7905](https://github.com/astral-sh/ruff/pull/7905)) ##### Rule changes - Add `backports.strenum` to `deprecated-imports` ([#​8113](https://github.com/astral-sh/ruff/pull/8113)) - Update `SIM112` to ignore `https_proxy`, `http_proxy`, and `no_proxy` ([#​8140](https://github.com/astral-sh/ruff/pull/8140)) - Update fix for `literal-membership` (`PLR6201`) to be unsafe ([#​8097](https://github.com/astral-sh/ruff/pull/8097)) - Update fix for `mutable-argument-defaults` (`B006`) to be unsafe ([#​8108](https://github.com/astral-sh/ruff/pull/8108)) ##### Formatter - Change `line-ending` default to `auto` ([#​8057](https://github.com/astral-sh/ruff/pull/8057)) - Respect parenthesized generators in `has_own_parentheses` ([#​8100](https://github.com/astral-sh/ruff/pull/8100)) - Add caching to formatter ([#​8089](https://github.com/astral-sh/ruff/pull/8089)) - Remove `--line-length` option from `format` command ([#​8131](https://github.com/astral-sh/ruff/pull/8131)) - Add formatter to `line-length` documentation ([#​8150](https://github.com/astral-sh/ruff/pull/8150)) - Warn about incompatible formatter options ([#​8088](https://github.com/astral-sh/ruff/pull/8088)) - Fix range of unparenthesized tuple subject in match statement ([#​8101](https://github.com/astral-sh/ruff/pull/8101)) - Remove experimental formatter warning ([#​8148](https://github.com/astral-sh/ruff/pull/8148)) - Don't move type param opening parenthesis comment ([#​8163](https://github.com/astral-sh/ruff/pull/8163)) - Update versions in format benchmark script ([#​8110](https://github.com/astral-sh/ruff/pull/8110)) - Avoid loading files for cached format results ([#​8134](https://github.com/astral-sh/ruff/pull/8134)) ##### CLI - Show the `ruff format` command in help menus ([#​8167](https://github.com/astral-sh/ruff/pull/8167)) - Add `ruff version` command with long version display ([#​8034](https://github.com/astral-sh/ruff/pull/8034)) ##### Configuration - New `pycodestyle.max-line-length` option ([#​8039](https://github.com/astral-sh/ruff/pull/8039)) ##### Bug fixes - Detect `sys.version_info` slices in `outdated-version-block` ([#​8112](https://github.com/astral-sh/ruff/pull/8112)) - Avoid if-else simplification for `TYPE_CHECKING` blocks ([#​8072](https://github.com/astral-sh/ruff/pull/8072)) - Avoid false-positive print separator diagnostic with starred argument ([#​8079](https://github.com/astral-sh/ruff/pull/8079)) ##### Documentation - Fix message for `too-many-arguments` lint ([#​8092](https://github.com/astral-sh/ruff/pull/8092)) - Fix `extend-unsafe-fixes` and `extend-safe-fixes` example ([#​8139](https://github.com/astral-sh/ruff/pull/8139)) - Add links to `flake8-import-conventions` options ([#​8115](https://github.com/astral-sh/ruff/pull/8115)) - Rework the documentation to incorporate the Ruff formatter ([#​7732](https://github.com/astral-sh/ruff/pull/7732)) - Fix `Options` JSON schema description ([#​8081](https://github.com/astral-sh/ruff/pull/8081)) - Fix typo (`pytext` -> `pytest`) ([#​8117](https://github.com/astral-sh/ruff/pull/8117)) - Improve `magic-value-comparison` example in docs ([#​8111](https://github.com/astral-sh/ruff/pull/8111)) </details> <details> <summary>RobertCraigie/pyright-python (types/pyright)</summary> ### [`v1.1.334`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.333...v1.1.334) [Compare Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.333...v1.1.334) ### [`v1.1.333`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.332...v1.1.333) [Compare Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.332...v1.1.333) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craftcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a41dd9 - Browse repository at this point
Copy the full SHA 5a41dd9View commit details
Commits on Nov 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6f29584 - Browse repository at this point
Copy the full SHA 6f29584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 441e460 - Browse repository at this point
Copy the full SHA 441e460View commit details
Commits on Nov 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a7b68d2 - Browse repository at this point
Copy the full SHA a7b68d2View commit details
Commits on Nov 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c74ab60 - Browse repository at this point
Copy the full SHA c74ab60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 850dd40 - Browse repository at this point
Copy the full SHA 850dd40View commit details
Commits on Nov 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b3f37a4 - Browse repository at this point
Copy the full SHA b3f37a4View commit details
Commits on Nov 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 998b4bb - Browse repository at this point
Copy the full SHA 998b4bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a2a76 - Browse repository at this point
Copy the full SHA a2a2a76View commit details
Commits on Nov 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 963094e - Browse repository at this point
Copy the full SHA 963094eView commit details
Commits on Dec 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4824368 - Browse repository at this point
Copy the full SHA 4824368View commit details
Commits on Dec 15, 2023
-
chore(deps): update dependency docs/sphinx-lint to v0.9.1 (#9)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [docs/sphinx-lint](https://github.com/sphinx-contrib/sphinx-lint) ([changelog](https://github.com/sphinx-contrib/sphinx-lint/releases)) | `==0.8.2` -> `==0.9.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/docs%2fsphinx-lint/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/docs%2fsphinx-lint/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/docs%2fsphinx-lint/0.8.2/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/docs%2fsphinx-lint/0.8.2/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sphinx-contrib/sphinx-lint (docs/sphinx-lint)</summary> ### [`v0.9.1`](https://github.com/sphinx-contrib/sphinx-lint/releases/tag/v0.9.1) [Compare Source](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.9.0...v0.9.1) #### What's Changed - Add `tool.hatch.build.targets.wheel` to fix `pip install .` with Hatchling 1.19 by [@​hugovk](https://github.com/hugovk) in [sphinx-contrib/sphinx-lint#106 This fixes `ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: [...]` when trying to `pip install .`, including via pre-commit. - Add tox for easy testing of multiple Python versions by [@​hugovk](https://github.com/hugovk) in [sphinx-contrib/sphinx-lint#100 - Lint on GitHub Actions via pre-commit by [@​hugovk](https://github.com/hugovk) in [sphinx-contrib/sphinx-lint#104 **Full Changelog**: sphinx-contrib/sphinx-lint@v0.9.0...v0.9.1 ### [`v0.9.0`](https://github.com/sphinx-contrib/sphinx-lint/releases/tag/v0.9.0) [Compare Source](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.8.2...v0.9.0) #### What's Changed - Print error messages to stderr by [@​rffontenelle](https://github.com/rffontenelle) in [sphinx-contrib/sphinx-lint#102 #### New Contributors - [@​rffontenelle](https://github.com/rffontenelle) made their first contribution in [sphinx-contrib/sphinx-lint#102 **Full Changelog**: sphinx-contrib/sphinx-lint@v0.8.2...v0.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craftcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 597c43a - Browse repository at this point
Copy the full SHA 597c43aView commit details
Commits on Dec 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 31be89f - Browse repository at this point
Copy the full SHA 31be89fView commit details
Commits on Dec 19, 2023
-
chore(deps): update development dependencies (non-major) (#14)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dev/coverage](https://github.com/nedbat/coveragepy) | `==7.3.2` -> `==7.3.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/dev%2fcoverage/7.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/dev%2fcoverage/7.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/dev%2fcoverage/7.3.2/7.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/dev%2fcoverage/7.3.2/7.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint/black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | `==23.11.0` -> `==23.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fblack/23.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fblack/23.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fblack/23.11.0/23.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fblack/23.11.0/23.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint/ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.1.6` -> `==0.1.8` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lint%2fruff/0.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/lint%2fruff/0.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/lint%2fruff/0.1.6/0.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lint%2fruff/0.1.6/0.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [types/pyright](https://github.com/RobertCraigie/pyright-python) | `==1.1.338` -> `==1.1.341` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/types%2fpyright/1.1.341?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/types%2fpyright/1.1.341?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/types%2fpyright/1.1.338/1.1.341?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/types%2fpyright/1.1.338/1.1.341?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nedbat/coveragepy (dev/coverage)</summary> ### [`v7.3.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-733--2023-12-14) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.2...7.3.3) - Fix: function definitions with multi-line signatures can now be excluded by matching any of the lines, closing `issue 684`*. Thanks, `Jan Rusak, Maciej Kowalczyk and Joanna Ejzel <pull 1705_>`*. - Fix: XML reports could fail with a TypeError if files had numeric components that were duplicates except for leading zeroes, like `file1.py` and `file001.py`. Fixes `issue 1709`\_. - The `coverage annotate` command used to announce that it would be removed in a future version. Enough people got in touch to say that they use it, so it will stay. Don't expect it to keep up with other new features though. - Added new :ref:`debug options <cmd_run_debug>`: - `pytest` writes the pytest test name into the debug output. - `dataop2` writes the full data being added to CoverageData objects. .. \_issue 684:[nedbat/coveragepy#684 .. \_pull 1705[nedbat/coveragepy#1705 .. \_issue 170[nedbat/coveragepy#1709 .. \_changes\_7-3-2: </details> <details> <summary>psf/black (lint/black)</summary> ### [`v23.12.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://github.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://github.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://github.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://github.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://github.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://github.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://github.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://github.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://github.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://github.com/psf/black/issues/4066)) ([#​4103](https://github.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://github.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://github.com/psf/black/issues/4049)) ([#​4069](https://github.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://github.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://github.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://github.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://github.com/psf/black/issues/4055)) </details> <details> <summary>astral-sh/ruff (lint/ruff)</summary> ### [`v0.1.8`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#018) [Compare Source](https://github.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://github.com/astral-sh/ruff/pull/8822)) - Implement `prefer_splitting_right_hand_side_of_assignments` preview style ([#​8943](https://github.com/astral-sh/ruff/pull/8943)) - \[`pycodestyle`] Add fix for `unexpected-spaces-around-keyword-parameter-equals` ([#​9072](https://github.com/astral-sh/ruff/pull/9072)) - \[`pycodestyle`] Add fix for comment-related whitespace rules ([#​9075](https://github.com/astral-sh/ruff/pull/9075)) - \[`pycodestyle`] Allow `sys.path` modifications between imports ([#​9047](https://github.com/astral-sh/ruff/pull/9047)) - \[`refurb`] Implement `hashlib-digest-hex` (`FURB181`) ([#​9077](https://github.com/astral-sh/ruff/pull/9077)) ##### Rule changes - Allow `flake8-type-checking` rules to automatically quote runtime-evaluated references ([#​6001](https://github.com/astral-sh/ruff/pull/6001)) - Allow transparent cell magics in Jupyter Notebooks ([#​8911](https://github.com/astral-sh/ruff/pull/8911)) - \[`flake8-annotations`] Avoid `ANN2xx` fixes for abstract methods with empty bodies ([#​9034](https://github.com/astral-sh/ruff/pull/9034)) - \[`flake8-self`] Ignore underscore references in type annotations ([#​9036](https://github.com/astral-sh/ruff/pull/9036)) - \[`pep8-naming`] Allow class names when `apps.get_model` is a non-string ([#​9065](https://github.com/astral-sh/ruff/pull/9065)) - \[`pycodestyle`] Allow `matplotlib.use` calls to intersperse imports ([#​9094](https://github.com/astral-sh/ruff/pull/9094)) - \[`pyflakes`] Support fixing unused assignments in tuples by renaming variables (`F841`) ([#​9107](https://github.com/astral-sh/ruff/pull/9107)) - \[`pylint`] Add fix for `subprocess-run-without-check` (`PLW1510`) ([#​6708](https://github.com/astral-sh/ruff/pull/6708)) ##### Formatter - Add `docstring-code-format` knob to enable docstring snippet formatting ([#​8854](https://github.com/astral-sh/ruff/pull/8854)) - Use double quotes for all docstrings, including single-quoted docstrings ([#​9020](https://github.com/astral-sh/ruff/pull/9020)) - Implement "dynamic" line width mode for docstring code formatting ([#​9098](https://github.com/astral-sh/ruff/pull/9098)) - Support reformatting Markdown code blocks ([#​9030](https://github.com/astral-sh/ruff/pull/9030)) - add support for formatting reStructuredText code snippets ([#​9003](https://github.com/astral-sh/ruff/pull/9003)) - Avoid trailing comma for single-argument with positional separator ([#​9076](https://github.com/astral-sh/ruff/pull/9076)) - Fix handling of trailing target comment ([#​9051](https://github.com/astral-sh/ruff/pull/9051)) ##### CLI - Hide unsafe fix suggestions when explicitly disabled ([#​9095](https://github.com/astral-sh/ruff/pull/9095)) - Add SARIF support to `--output-format` ([#​9078](https://github.com/astral-sh/ruff/pull/9078)) ##### Bug fixes - Apply unnecessary index rule prior to enumerate rewrite ([#​9012](https://github.com/astral-sh/ruff/pull/9012)) - \[`flake8-err-msg`] Allow `EM` fixes even if `msg` variable is defined ([#​9059](https://github.com/astral-sh/ruff/pull/9059)) - \[`flake8-pie`] Prevent keyword arguments duplication ([#​8450](https://github.com/astral-sh/ruff/pull/8450)) - \[`flake8-pie`] Respect trailing comma in `unnecessary-dict-kwargs` (`PIE804`) ([#​9015](https://github.com/astral-sh/ruff/pull/9015)) - \[`flake8-raise`] Avoid removing parentheses on ctypes.WinError ([#​9027](https://github.com/astral-sh/ruff/pull/9027)) - \[`isort`] Avoid invalid combination of `force-sort-within-types` and `lines-between-types` ([#​9041](https://github.com/astral-sh/ruff/pull/9041)) - \[`isort`] Ensure that from-style imports are always ordered first in `__future__` ([#​9039](https://github.com/astral-sh/ruff/pull/9039)) - \[`pycodestyle`] Allow tab indentation before keyword ([#​9099](https://github.com/astral-sh/ruff/pull/9099)) - \[`pylint`] Ignore `@overrides` and `@overloads` for `too-many-positional` ([#​9000](https://github.com/astral-sh/ruff/pull/9000)) - \[`pyupgrade`] Enable `printf-string-formatting` fix with comments on right-hand side ([#​9037](https://github.com/astral-sh/ruff/pull/9037)) - \[`refurb`] Make `math-constant` (`FURB152`) rule more targeted ([#​9054](https://github.com/astral-sh/ruff/pull/9054)) - \[`refurb`] Support floating-point base in `redundant-log-base` (`FURB163`) ([#​9100](https://github.com/astral-sh/ruff/pull/9100)) - \[`ruff`] Detect `unused-asyncio-dangling-task` (`RUF006`) on unused assignments ([#​9060](https://github.com/astral-sh/ruff/pull/9060)) ### [`v0.1.7`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#017) [Compare Source](https://github.com/astral-sh/ruff/compare/v0.1.6...v0.1.7) ##### Preview features - Implement multiline dictionary and list hugging for preview style ([#​8293](https://github.com/astral-sh/ruff/pull/8293)) - Implement the `fix_power_op_line_length` preview style ([#​8947](https://github.com/astral-sh/ruff/pull/8947)) - Use Python version to determine typing rewrite safety ([#​8919](https://github.com/astral-sh/ruff/pull/8919)) - \[`flake8-annotations`] Enable auto-return-type involving `Optional` and `Union` annotations ([#​8885](https://github.com/astral-sh/ruff/pull/8885)) - \[`flake8-bandit`] Implement `django-raw-sql` (`S611`) ([#​8651](https://github.com/astral-sh/ruff/pull/8651)) - \[`flake8-bandit`] Implement `tarfile-unsafe-members` (`S202`) ([#​8829](https://github.com/astral-sh/ruff/pull/8829)) - \[`flake8-pyi`] Implement fix for `unnecessary-literal-union` (`PYI030`) ([#​7934](https://github.com/astral-sh/ruff/pull/7934)) - \[`flake8-simplify`] Extend `dict-get-with-none-default` (`SIM910`) to non-literals ([#​8762](https://github.com/astral-sh/ruff/pull/8762)) - \[`pylint`] - add `unnecessary-list-index-lookup` (`PLR1736`) + autofix ([#​7999](https://github.com/astral-sh/ruff/pull/7999)) - \[`pylint`] - implement R0202 and R0203 with autofixes ([#​8335](https://github.com/astral-sh/ruff/pull/8335)) - \[`pylint`] Implement `repeated-keyword` (`PLe1132`) ([#​8706](https://github.com/astral-sh/ruff/pull/8706)) - \[`pylint`] Implement `too-many-positional` (`PLR0917`) ([#​8995](https://github.com/astral-sh/ruff/pull/8995)) - \[`pylint`] Implement `unnecessary-dict-index-lookup` (`PLR1733`) ([#​8036](https://github.com/astral-sh/ruff/pull/8036)) - \[`refurb`] Implement `redundant-log-base` (`FURB163`) ([#​8842](https://github.com/astral-sh/ruff/pull/8842)) ##### Rule changes - \[`flake8-boolean-trap`] Allow booleans in `@override` methods ([#​8882](https://github.com/astral-sh/ruff/pull/8882)) - \[`flake8-bugbear`] Avoid `B015`,`B018` for last expression in a cell ([#​8815](https://github.com/astral-sh/ruff/pull/8815)) - \[`flake8-pie`] Allow ellipses for enum values in stub files ([#​8825](https://github.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://github.com/astral-sh/ruff/pull/8966)) - \[`flake8-pyi`] Check for kwarg and vararg `NoReturn` type annotations ([#​8948](https://github.com/astral-sh/ruff/pull/8948)) - \[`flake8-simplify`] Omit select context managers from `SIM117` ([#​8801](https://github.com/astral-sh/ruff/pull/8801)) - \[`pep8-naming`] Allow Django model loads in `non-lowercase-variable-in-function` (`N806`) ([#​8917](https://github.com/astral-sh/ruff/pull/8917)) - \[`pycodestyle`] Avoid `E703` for last expression in a cell ([#​8821](https://github.com/astral-sh/ruff/pull/8821)) - \[`pycodestyle`] Update `E402` to work at cell level for notebooks ([#​8872](https://github.com/astral-sh/ruff/pull/8872)) - \[`pydocstyle`] Avoid `D100` for Jupyter Notebooks ([#​8816](https://github.com/astral-sh/ruff/pull/8816)) - \[`pylint`] Implement fix for `unspecified-encoding` (`PLW1514`) ([#​8928](https://github.com/astral-sh/ruff/pull/8928)) ##### Formatter - Avoid unstable formatting in ellipsis-only body with trailing comment ([#​8984](https://github.com/astral-sh/ruff/pull/8984)) - Inline trailing comments for type alias similar to assignments ([#​8941](https://github.com/astral-sh/ruff/pull/8941)) - Insert trailing comma when function breaks with single argument ([#​8921](https://github.com/astral-sh/ruff/pull/8921)) ##### CLI - Update `ruff check` and `ruff format` to default to the current directory ([#​8791](https://github.com/astral-sh/ruff/pull/8791)) - Stop at the first resolved parent configuration ([#​8864](https://github.com/astral-sh/ruff/pull/8864)) ##### Configuration - \[`pylint`] Default `max-positional-args` to `max-args` ([#​8998](https://github.com/astral-sh/ruff/pull/8998)) - \[`pylint`] Add `allow-dunder-method-names` setting for `bad-dunder-method-name` (`PLW3201`) ([#​8812](https://github.com/astral-sh/ruff/pull/8812)) - \[`isort`] Add support for `from-first` setting ([#​8663](https://github.com/astral-sh/ruff/pull/8663)) - \[`isort`] Add support for `length-sort` settings ([#​8841](https://github.com/astral-sh/ruff/pull/8841)) ##### Bug fixes - Add support for `@functools.singledispatch` ([#​8934](https://github.com/astral-sh/ruff/pull/8934)) - Avoid off-by-one error in stripping noqa following multi-byte char ([#​8979](https://github.com/astral-sh/ruff/pull/8979)) - Avoid off-by-one error in with-item named expressions ([#​8915](https://github.com/astral-sh/ruff/pull/8915)) - Avoid syntax error via invalid ur string prefix ([#​8971](https://github.com/astral-sh/ruff/pull/8971)) - Avoid underflow in `get_model` matching ([#​8965](https://github.com/astral-sh/ruff/pull/8965)) - Avoid unnecessary index diagnostics when value is modified ([#​8970](https://github.com/astral-sh/ruff/pull/8970)) - Convert over-indentation rule to use number of characters ([#​8983](https://github.com/astral-sh/ruff/pull/8983)) - Detect implicit returns in auto-return-types ([#​8952](https://github.com/astral-sh/ruff/pull/8952)) - Fix start >= end error in over-indentation ([#​8982](https://github.com/astral-sh/ruff/pull/8982)) - Ignore `@overload` and `@override` methods for too-many-arguments checks ([#​8954](https://github.com/astral-sh/ruff/pull/8954)) - Lexer start of line is false only for `Mode::Expression` ([#​8880](https://github.com/astral-sh/ruff/pull/8880)) - Mark `pydantic_settings.BaseSettings` as having default copy semantics ([#​8793](https://github.com/astral-sh/ruff/pull/8793)) - Respect dictionary unpacking in `NamedTuple` assignments ([#​8810](https://github.com/astral-sh/ruff/pull/8810)) - Respect local subclasses in `flake8-type-checking` ([#​8768](https://github.com/astral-sh/ruff/pull/8768)) - Support type alias statements in simple statement positions ([#​8916](https://github.com/astral-sh/ruff/pull/8916)) - \[`flake8-annotations`] Avoid filtering out un-representable types in return annotation ([#​8881](https://github.com/astral-sh/ruff/pull/8881)) - \[`flake8-pie`] Retain extra ellipses in protocols and abstract methods ([#​8769](https://github.com/astral-sh/ruff/pull/8769)) - \[`flake8-pyi`] Respect local enum subclasses in `simple-defaults` (`PYI052`) ([#​8767](https://github.com/astral-sh/ruff/pull/8767)) - \[`flake8-trio`] Use correct range for `TRIO115` fix ([#​8933](https://github.com/astral-sh/ruff/pull/8933)) - \[`flake8-trio`] Use full arguments range for zero-sleep-call ([#​8936](https://github.com/astral-sh/ruff/pull/8936)) - \[`isort`] fix: mark `__main__` as first-party import ([#​8805](https://github.com/astral-sh/ruff/pull/8805)) - \[`pep8-naming`] Avoid `N806` errors for type alias statements ([#​8785](https://github.com/astral-sh/ruff/pull/8785)) - \[`perflint`] Avoid `PERF101` if there's an append in loop body ([#​8809](https://github.com/astral-sh/ruff/pull/8809)) - \[`pycodestyle`] Allow space-before-colon after end-of-slice ([#​8838](https://github.com/astral-sh/ruff/pull/8838)) - \[`pydocstyle`] Avoid non-character breaks in `over-indentation` (`D208`) ([#​8866](https://github.com/astral-sh/ruff/pull/8866)) - \[`pydocstyle`] Ignore underlines when determining docstring logical lines ([#​8929](https://github.com/astral-sh/ruff/pull/8929)) - \[`pylint`] Extend `self-assigning-variable` to multi-target assignments ([#​8839](https://github.com/astral-sh/ruff/pull/8839)) - \[`tryceratops`] Avoid repeated triggers in nested `tryceratops` diagnostics ([#​8772](https://github.com/astral-sh/ruff/pull/8772)) ##### Documentation - Add advice for fixing RUF008 when mutability is not desired ([#​8853](https://github.com/astral-sh/ruff/pull/8853)) - Added the command to run ruff using pkgx to the installation.md ([#​8955](https://github.com/astral-sh/ruff/pull/8955)) - Document fix safety for flake8-comprehensions and some pyupgrade rules ([#​8918](https://github.com/astral-sh/ruff/pull/8918)) - Fix doc formatting for zero-sleep-call ([#​8937](https://github.com/astral-sh/ruff/pull/8937)) - Remove duplicate imports from os-stat documentation ([#​8930](https://github.com/astral-sh/ruff/pull/8930)) - Replace generated reference to MkDocs ([#​8806](https://github.com/astral-sh/ruff/pull/8806)) - Update Arch Linux package URL in installation.md ([#​8802](https://github.com/astral-sh/ruff/pull/8802)) - \[`flake8-pyi`] Fix error in `t-suffixed-type-alias` (`PYI043`) example ([#​8963](https://github.com/astral-sh/ruff/pull/8963)) - \[`flake8-pyi`] Improve motivation for `custom-type-var-return-type` (`PYI019`) ([#​8766](https://github.com/astral-sh/ruff/pull/8766)) </details> <details> <summary>RobertCraigie/pyright-python (types/pyright)</summary> ### [`v1.1.341`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.340...v1.1.341) [Compare Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.340...v1.1.341) ### [`v1.1.340`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.339...v1.1.340) [Compare Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.339...v1.1.340) ### [`v1.1.339`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.338...v1.1.339) [Compare Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.338...v1.1.339) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craftcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 86aa239 - Browse repository at this point
Copy the full SHA 86aa239View commit details -
chore(deps): update actions/upload-artifact action to v4 (#16)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v3` -> `v4` | --- ### Release Notes <details> <summary>actions/upload-artifact (actions/upload-artifact)</summary> ### [`v4`](https://github.com/actions/upload-artifact/compare/v3...v4) [Compare Source](https://github.com/actions/upload-artifact/compare/v3...v4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craftcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for de23b9a - Browse repository at this point
Copy the full SHA de23b9aView commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec6bdf0 - Browse repository at this point
Copy the full SHA ec6bdf0View commit details