canonical / craft-archives

A library for handling archives/repositories in Craft applications
https://canonical-craft-archives.readthedocs-hosted.com
GNU Lesser General Public License v3.0
0 stars 7 forks source link

chore(deps): update patch updates #30

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
coverage ==7.2.0 -> ==7.2.1 age adoption passing confidence
pytest (source, changelog) ==7.2.1 -> ==7.2.2 age adoption passing confidence
ruff ==0.0.252 -> ==0.0.254 age adoption passing confidence

Release Notes

nedbat/coveragepy ### [`v7.2.1`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-721--2023-02-26) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.2.0...7.2.1) - Fix: the PyPI page had broken links to documentation pages, but no longer does, closing `issue 1566`\_. - Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing `issue 1564`\_. .. \_issue 1564:[https://github.com/nedbat/coveragepy/issues/1564](https://togithub.com/nedbat/coveragepy/issues/1564)4 .. \_issue 1566[https://github.com/nedbat/coveragepy/issues/1566](https://togithub.com/nedbat/coveragepy/issues/1566)66 .. \_changes\_7-2-0:
pytest-dev/pytest ### [`v7.2.2`](https://togithub.com/pytest-dev/pytest/releases/tag/7.2.2) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.2.1...7.2.2) # pytest 7.2.2 (2023-03-03) ## Bug Fixes - [#​10533](https://togithub.com/pytest-dev/pytest/issues/10533): Fixed `pytest.approx`{.interpreted-text role="func"} handling of dictionaries containing one or more values of \[0.0]{.title-ref}. - [#​10592](https://togithub.com/pytest-dev/pytest/issues/10592): Fixed crash if \[--cache-show]{.title-ref} and \[--help]{.title-ref} are passed at the same time. - [#​10597](https://togithub.com/pytest-dev/pytest/issues/10597): Fixed bug where a fixture method named `teardown` would be called as part of `nose` teardown stage. - [#​10626](https://togithub.com/pytest-dev/pytest/issues/10626): Fixed crash if `--fixtures` and `--help` are passed at the same time. - [#​10660](https://togithub.com/pytest-dev/pytest/issues/10660): Fixed :py`pytest.raises`{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrow `pytest.raises(...) if ... else nullcontext()` down to 'ContextManager' rather than 'object'. ## Improved Documentation - [#​10690](https://togithub.com/pytest-dev/pytest/issues/10690): Added \[CI]{.title-ref} and \[BUILD_NUMBER]{.title-ref} environment variables to the documentation. - [#​10721](https://togithub.com/pytest-dev/pytest/issues/10721): Fixed entry-points declaration in the documentation example using Hatch. - [#​10753](https://togithub.com/pytest-dev/pytest/issues/10753): Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.
charliermarsh/ruff ### [`v0.0.254`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.254) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.253...v0.0.254) #### What's Changed ##### Rules - \[`pyupgrade`] Replace tuples with type union in isinstance or issubclass calls by [@​martinlehoux](https://togithub.com/martinlehoux) in [https://github.com/charliermarsh/ruff/pull/3280](https://togithub.com/charliermarsh/ruff/pull/3280) - \[`flake8-pyi`] Add flake-pyi PYI033 "Do not use type comments in stubs" by [@​konstin](https://togithub.com/konstin) in [https://github.com/charliermarsh/ruff/pull/3302](https://togithub.com/charliermarsh/ruff/pull/3302) - \[`flake8-pyi`] PYI006 bad version info comparison by [@​konstin](https://togithub.com/konstin) in [https://github.com/charliermarsh/ruff/pull/3291](https://togithub.com/charliermarsh/ruff/pull/3291) - \[`pycodestyle`] feat(E251,E252): add rules by [@​carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3274](https://togithub.com/charliermarsh/ruff/pull/3274) - \[`pycodestyle`] feat(E211): add rule + autofix by [@​carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3313](https://togithub.com/charliermarsh/ruff/pull/3313) - \[`pycodestyle`] feat(e225,226,227,228): add rules by [@​carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3300](https://togithub.com/charliermarsh/ruff/pull/3300) - \[`pycodestyle`] feat(W191): add indentation_contains_tabs by [@​carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3249](https://togithub.com/charliermarsh/ruff/pull/3249) - Redirect `RUF004` to `B026` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3293](https://togithub.com/charliermarsh/ruff/pull/3293) ##### CLI - Add a `--ignore-noqa` CLI flag to force-ignore noqa directives by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3296](https://togithub.com/charliermarsh/ruff/pull/3296) ##### Settings - Implement `property-decorators` configuration option for pydocstyle by [@​staticssleever668](https://togithub.com/staticssleever668) in [https://github.com/charliermarsh/ruff/pull/3311](https://togithub.com/charliermarsh/ruff/pull/3311) - Always include `@classmethod` and `@staticmethod` in decorator lists by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3314](https://togithub.com/charliermarsh/ruff/pull/3314) - Detect quote style ignoring docstrings by [@​bz2](https://togithub.com/bz2) in [https://github.com/charliermarsh/ruff/pull/3306](https://togithub.com/charliermarsh/ruff/pull/3306) ##### Bug Fixes - Deduplicate SIM116 errors by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3260](https://togithub.com/charliermarsh/ruff/pull/3260) - Don't flag keyword-based logging format strings by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3261](https://togithub.com/charliermarsh/ruff/pull/3261) - Avoid raising TRY200 violations within new scopes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3275](https://togithub.com/charliermarsh/ruff/pull/3275) - Use expression span for yoda-conditions fixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3276](https://togithub.com/charliermarsh/ruff/pull/3276) - Avoid PEP 585 rewrites when builtins are shadowed by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3286](https://togithub.com/charliermarsh/ruff/pull/3286) - Ignore unused imports in ModuleNotFoundError blocks by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3288](https://togithub.com/charliermarsh/ruff/pull/3288) - Treat function type annotations within classes as runtime-required by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3312](https://togithub.com/charliermarsh/ruff/pull/3312) - Extend `RET503` autofixes to "end of statement", including comments by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3324](https://togithub.com/charliermarsh/ruff/pull/3324) - Handle empty NamedTuple and TypedDict conversions by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3251](https://togithub.com/charliermarsh/ruff/pull/3251) - Use `identifier_range` for a few more rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3254](https://togithub.com/charliermarsh/ruff/pull/3254) - Match non-lowercase with S105 again by [@​scop](https://togithub.com/scop) in [https://github.com/charliermarsh/ruff/pull/3258](https://togithub.com/charliermarsh/ruff/pull/3258) - Abort when unable to fix relative imports past module root by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3319](https://togithub.com/charliermarsh/ruff/pull/3319) - Use presence of convention-specific sections during docstring inference by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3325](https://togithub.com/charliermarsh/ruff/pull/3325) - Treat callables within type definitions as default-non-types by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3329](https://togithub.com/charliermarsh/ruff/pull/3329) - Explicitly put `Path(...)` in Pathlib violations by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/charliermarsh/ruff/pull/3333](https://togithub.com/charliermarsh/ruff/pull/3333) #### New Contributors - [@​rouge8](https://togithub.com/rouge8) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3277](https://togithub.com/charliermarsh/ruff/pull/3277) - [@​staticssleever668](https://togithub.com/staticssleever668) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3311](https://togithub.com/charliermarsh/ruff/pull/3311) - [@​bz2](https://togithub.com/bz2) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3306](https://togithub.com/charliermarsh/ruff/pull/3306) - [@​evanrittenhouse](https://togithub.com/evanrittenhouse) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3333](https://togithub.com/charliermarsh/ruff/pull/3333) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.253...v0.0.254 ### [`v0.0.253`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.253) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.252...v0.0.253) #### What's Changed ##### Rules - \[`pyupgrade`] Avoid rewriting any PEP 604 runtime annotations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3217](https://togithub.com/charliermarsh/ruff/pull/3217) - \[`pycodestyle`] Missing whitespace after keyword by [@​carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3225](https://togithub.com/charliermarsh/ruff/pull/3225) - \[`pycodestyle`] trailing-whitespace, blank-line-contains-whitespace (W291, W293) by [@​mknaw](https://togithub.com/mknaw) in [https://github.com/charliermarsh/ruff/pull/3122](https://togithub.com/charliermarsh/ruff/pull/3122) - \[`flake8-pyi`]: PYI009, PYI010, PYI021 by [@​sbdchd](https://togithub.com/sbdchd) in [https://github.com/charliermarsh/ruff/pull/3230](https://togithub.com/charliermarsh/ruff/pull/3230) - \[`flake8-pyi`]: PYI011, PYI014 by [@​sbdchd](https://togithub.com/sbdchd) in [https://github.com/charliermarsh/ruff/pull/3238](https://togithub.com/charliermarsh/ruff/pull/3238) - \[`flake8-django`] DJ003, DJ006, DJ007 by [@​lkh42t](https://togithub.com/lkh42t) in [https://github.com/charliermarsh/ruff/pull/3236](https://togithub.com/charliermarsh/ruff/pull/3236) - \[`pylint`] Implement pylint's `else-if-used` rule (`PLR5501`) by [@​chanman3388](https://togithub.com/chanman3388) in [https://github.com/charliermarsh/ruff/pull/3231](https://togithub.com/charliermarsh/ruff/pull/3231) - \[`pylint`] W0603: global-statement by [@​igozali](https://togithub.com/igozali) in [https://github.com/charliermarsh/ruff/pull/3227](https://togithub.com/charliermarsh/ruff/pull/3227) - \[`flake8-pie`] Unnecessary list comprehension, with autofix (PIE802) by [@​matthewlloyd](https://togithub.com/matthewlloyd) in [https://github.com/charliermarsh/ruff/pull/3149](https://togithub.com/charliermarsh/ruff/pull/3149) ##### Settings - Allow ruff.toml file to be dot-prefixed (as .ruff.toml) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3221](https://togithub.com/charliermarsh/ruff/pull/3221) - \[`pydocstyle`]: Implement `ignore-decorators` by [@​edgarrmondragon](https://togithub.com/edgarrmondragon) in [https://github.com/charliermarsh/ruff/pull/3229](https://togithub.com/charliermarsh/ruff/pull/3229) ##### Bug Fixes - Avoid suggesting 'is' for constant literals by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3146](https://togithub.com/charliermarsh/ruff/pull/3146) - Omit non-.py\[i] files from module naming rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3153](https://togithub.com/charliermarsh/ruff/pull/3153) - Bind star patterns in match statements by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3169](https://togithub.com/charliermarsh/ruff/pull/3169) - Update RustPython to support \*tuple annotations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3178](https://togithub.com/charliermarsh/ruff/pull/3178) - Use `writeln` with --show-settings by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3180](https://togithub.com/charliermarsh/ruff/pull/3180) - Avoid boolean-trap rules for ConfigParser get() methods by [@​monosans](https://togithub.com/monosans) in [https://github.com/charliermarsh/ruff/pull/3209](https://togithub.com/charliermarsh/ruff/pull/3209) - Avoid flagging logging-too-few-args with no arguments by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3220](https://togithub.com/charliermarsh/ruff/pull/3220) - Expand the range of the COM812 autofix to include the preceding token by [@​matthewlloyd](https://togithub.com/matthewlloyd) in [https://github.com/charliermarsh/ruff/pull/3241](https://togithub.com/charliermarsh/ruff/pull/3241) - Avoid flagging Pylint logging rules with starred arguments by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3244](https://togithub.com/charliermarsh/ruff/pull/3244) - Avoid flagging unfixable `TypedDict` and `NamedTuple` definitions by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3148](https://togithub.com/charliermarsh/ruff/pull/3148) - Fix ExceptionGroup F821 false positive by [@​JonathanPlasse](https://togithub.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/3167](https://togithub.com/charliermarsh/ruff/pull/3167) - Avoid autofixing some PT violations when comments are present by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3198](https://togithub.com/charliermarsh/ruff/pull/3198) - Exclude globsets for --show-settings by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3201](https://togithub.com/charliermarsh/ruff/pull/3201) - \[`flake8-tidy-imports`] fix autofix for relative imports by [@​sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/3197](https://togithub.com/charliermarsh/ruff/pull/3197) - Fix Markdown errors in docs by [@​JonathanPlasse](https://togithub.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/3187](https://togithub.com/charliermarsh/ruff/pull/3187) - Normalize treatment of aliased and unaliased imports by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3216](https://togithub.com/charliermarsh/ruff/pull/3216) - Avoid EXE001 and EXE002 errors from stdin input by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3218](https://togithub.com/charliermarsh/ruff/pull/3218) - \[bandit]: Do not treat "passed" as "password" for `S105`/`S106`/`S107` by [@​edgarrmondragon](https://togithub.com/edgarrmondragon) in [https://github.com/charliermarsh/ruff/pull/3222](https://togithub.com/charliermarsh/ruff/pull/3222) #### New Contributors - [@​mknaw](https://togithub.com/mknaw) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3122](https://togithub.com/charliermarsh/ruff/pull/3122) - [@​monosans](https://togithub.com/monosans) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3209](https://togithub.com/charliermarsh/ruff/pull/3209) - [@​lkh42t](https://togithub.com/lkh42t) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3236](https://togithub.com/charliermarsh/ruff/pull/3236) - [@​igozali](https://togithub.com/igozali) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3227](https://togithub.com/charliermarsh/ruff/pull/3227) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.252...v0.0.253

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.

🚦 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 if that's undesired.



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

codecov[bot] commented 1 year ago

Codecov Report

Merging #30 (8627943) into main (c2a6687) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   78.42%   78.42%           
=======================================
  Files          11       11           
  Lines         496      496           
  Branches      110      110           
=======================================
  Hits          389      389           
  Misses         76       76           
  Partials       31       31           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.