paulscherrerinstitute / alphafold-on-fire

GNU General Public License v3.0
1 stars 3 forks source link

Bump ruff from 0.1.14 to 0.3.3 in /backend #540

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps ruff from 0.1.14 to 0.3.3.

Release notes

Sourced from ruff's releases.

v0.3.3

Changes

Preview features

  • [flake8-bandit]: Implement S610 rule (#10316)
  • [pycodestyle] Implement blank-line-at-end-of-file (W391) (#10243)
  • [pycodestyle] Implement redundant-backslash (E502) (#10292)
  • [pylint] - implement redeclared-assigned-name (W0128) (#9268)

Rule changes

  • [flake8_comprehensions] Handled special case for C400 which also matches C416 (#10419)
  • [flake8-bandit] Implement upstream updates for S311, S324 and S605 (#10313)
  • [pyflakes] Remove F401 fix for __init__ imports by default and allow opt-in to unsafe fix (#10365)
  • [pylint] Implement invalid-bool-return-type (E304) (#10377)
  • [pylint] Include builtin warnings in useless-exception-statement (PLW0133) (#10394)

CLI

  • Add message on success to ruff check (#8631)

Bug fixes

  • [PIE970] Allow trailing ellipsis in typing.TYPE_CHECKING (#10413)
  • Avoid TRIO115 if the argument is a variable (#10376)
  • [F811] Avoid removing shadowed imports that point to different symbols (#10387)
  • Fix F821 and F822 false positives in .pyi files (#10341)
  • Fix F821 false negatives in .py files when from __future__ import annotations is active (#10362)
  • Fix case where Indexer fails to identify continuation preceded by newline #10351 (#10354)
  • Sort hash maps in Settings display (#10370)
  • Track conditional deletions in the semantic model (#10415)
  • [C413] Wrap expressions in parentheses when negating (#10346)
  • [pycodestyle] Do not ignore lines before the first logical line in blank lines rules. (#10382)
  • [pycodestyle] Do not trigger E225 and E275 when the next token is a ')' (#10315)
  • [pylint] Avoid false-positive slot non-assignment for __dict__ (PLE0237) (#10348)
  • Gate f-string struct size test for Rustc < 1.76 (#10371)

Documentation

  • Use ruff.toml format in README (#10393)
  • [RUF008] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (#10395)
  • [pylint] Extend docs and test in invalid-str-return-type (E307) (#10400)
  • Remove . from check and format commands (#10217)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.3.3

Preview features

  • [flake8-bandit]: Implement S610 rule (#10316)
  • [pycodestyle] Implement blank-line-at-end-of-file (W391) (#10243)
  • [pycodestyle] Implement redundant-backslash (E502) (#10292)
  • [pylint] - implement redeclared-assigned-name (W0128) (#9268)

Rule changes

  • [flake8_comprehensions] Handled special case for C400 which also matches C416 (#10419)
  • [flake8-bandit] Implement upstream updates for S311, S324 and S605 (#10313)
  • [pyflakes] Remove F401 fix for __init__ imports by default and allow opt-in to unsafe fix (#10365)
  • [pylint] Implement invalid-bool-return-type (E304) (#10377)
  • [pylint] Include builtin warnings in useless-exception-statement (PLW0133) (#10394)

CLI

  • Add message on success to ruff check (#8631)

Bug fixes

  • [PIE970] Allow trailing ellipsis in typing.TYPE_CHECKING (#10413)
  • Avoid TRIO115 if the argument is a variable (#10376)
  • [F811] Avoid removing shadowed imports that point to different symbols (#10387)
  • Fix F821 and F822 false positives in .pyi files (#10341)
  • Fix F821 false negatives in .py files when from __future__ import annotations is active (#10362)
  • Fix case where Indexer fails to identify continuation preceded by newline #10351 (#10354)
  • Sort hash maps in Settings display (#10370)
  • Track conditional deletions in the semantic model (#10415)
  • [C413] Wrap expressions in parentheses when negating (#10346)
  • [pycodestyle] Do not ignore lines before the first logical line in blank lines rules. (#10382)
  • [pycodestyle] Do not trigger E225 and E275 when the next token is a ')' (#10315)
  • [pylint] Avoid false-positive slot non-assignment for __dict__ (PLE0237) (#10348)
  • Gate f-string struct size test for Rustc < 1.76 (#10371)

Documentation

  • Use ruff.toml format in README (#10393)
  • [RUF008] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (#10395)
  • [pylint] Extend docs and test in invalid-str-return-type (E307) (#10400)
  • Remove . from check and format commands (#10217)

0.3.2

Preview features

  • Improve single-with item formatting for Python 3.8 or older (#10276)

... (truncated)

Commits
  • 608df9a Bump version to 0.3.3 (#10425)
  • 740c08b [pylint] - implement redeclared-assigned-name (W0128) (#9268)
  • 7e652e8 [flake8_comprehensions] Handled special case for C400 which also matches ...
  • 9675e18 Allow trailing ellipsis in typing.TYPE_CHECKING (#10413)
  • 10ace88 Track conditional deletions in the semantic model (#10415)
  • a8e50a7 [RUF008] Make it clearer that a mutable default in a dataclass is only valid ...
  • e944c16 [pycodestyle] Do not ignore lines before the first logical line in blank li...
  • 5f40371 Use ExprFString for StringLike::FString variant (#10311)
  • f7802ad [pylint] Extend docs and test in invalid-str-return-type (E307) (#10400)
  • e832327 Require --preview for ruff server (#10368)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
github-actions[bot] commented 7 months ago

Overview

Image reference psisharedsharedchncr001.azurecr.io/alphafold:edge psisharedsharedchncr001.azurecr.io/alphafold:pr-540
- digest 35cc0232bf90 aaa5c8e23e05
- provenance https://github.com/paulscherrerinstitute/alphafold-on-fire/commit/de3ef7709d4a18edecd940fd654063e7e3e5b6a6 https://github.com/paulscherrerinstitute/alphafold-on-fire/commit/917ef72b12f8427642add2532a3191083bbab9b2
- vulnerabilities critical: 0 high: 6 medium: 4 low: 0 unspecified: 3 critical: 0 high: 5 medium: 1 low: 0 unspecified: 1
- platform linux/amd64 linux/amd64
- size 59 MB 67 MB (+8.4 MB)
- packages 110 110
Base Image python:3.10-alpine
also known as:
3.10-alpine3.19
3.10.13-alpine
3.10.13-alpine3.19
python:3.10-alpine
also known as:
3.10-alpine3.19
3.10.13-alpine
3.10.13-alpine3.19
- vulnerabilities critical: 0 high: 1 medium: 4 low: 0 unspecified: 2 critical: 0 high: 0 medium: 1 low: 0
Environment Variables (4 changes) > * `±` 4 changed > * _6 unchanged_ ```diff GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D LANG=C.UTF-8 PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6 +PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9 -PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py +PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_VERSION=3.10.13 -RELEASE_ID=de3ef7709d4a18edecd940fd654063e7e3e5b6a6 +RELEASE_ID=917ef72b12f8427642add2532a3191083bbab9b2 -VERSION=edge +VERSION=pr-540 ```
Labels (3 changes) > * `±` 3 changed > * _5 unchanged_ ```diff -org.opencontainers.image.created=2024-01-25T08:16:19.691Z +org.opencontainers.image.created=2024-03-18T14:46:36.658Z org.opencontainers.image.description= org.opencontainers.image.licenses=GPL-3.0 -org.opencontainers.image.revision=de3ef7709d4a18edecd940fd654063e7e3e5b6a6 +org.opencontainers.image.revision=917ef72b12f8427642add2532a3191083bbab9b2 org.opencontainers.image.source=https://github.com/paulscherrerinstitute/alphafold-on-fire org.opencontainers.image.title=alphafold-on-fire org.opencontainers.image.url=https://github.com/paulscherrerinstitute/alphafold-on-fire -org.opencontainers.image.version=edge +org.opencontainers.image.version=pr-540 ```
Packages and Vulnerabilities (10 package changes and 5 vulnerability changes) > * :infinity: 10 packages changed > * 100 packages unchanged > * :heavy_check_mark: 5 vulnerabilities removed
Changes for packages of type apk (8 changes)
Package Version
psisharedsharedchncr001.azurecr.io/alphafold:edge
Version
psisharedsharedchncr001.azurecr.io/alphafold:pr-540
:infinity: .python-rundeps 20231209.013648 20240316.052121
:infinity: expat 2.5.0-r2 2.6.2-r0
critical: 0 high: 1 medium: 1 low: 0 unspecified: 1
Removed vulnerabilities (3):
  • high : CVE--2023--52425
  • medium : CVE--2023--52426
  • unspecified : CVE--2024--28757
:infinity: libcrypto3 3.1.4-r2 3.1.4-r5
:infinity: libexpat 2.5.0-r2 2.6.2-r0
:infinity: libssl3 3.1.4-r2 3.1.4-r5
:infinity: openssl 3.1.4-r2 3.1.4-r5
critical: 0 high: 0 medium: 2 low: 0 unspecified: 1
Removed vulnerabilities (3):
  • medium : CVE--2023--6129
  • medium : CVE--2024--0727
  • unspecified : CVE--2023--6237
:infinity: tzdata 2023c-r1 2024a-r0
:infinity: zlib 1.3-r2 1.3.1-r0
Changes for packages of type pypi (2 changes)
Package Version
psisharedsharedchncr001.azurecr.io/alphafold:edge
Version
psisharedsharedchncr001.azurecr.io/alphafold:pr-540
:infinity: pip 23.3.2 24.0
:infinity: wheel 0.42.0 0.43.0
codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (de3ef77) to head (917ef72).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #540 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 7 7 Lines 105 105 ========================================= Hits 105 105 ``` | [Flag](https://app.codecov.io/gh/paulscherrerinstitute/alphafold-on-fire/pull/540/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=paulscherrerinstitute) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/paulscherrerinstitute/alphafold-on-fire/pull/540/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=paulscherrerinstitute) | `100.00% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=paulscherrerinstitute#carryforward-flags-in-the-pull-request-comment) to find out more.

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

dependabot[bot] commented 7 months ago

Superseded by #544.