Skip to content
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

core: bump ruff from 0.1.13 to 0.1.14 #8247

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps ruff from 0.1.13 to 0.1.14.

Release notes

Sourced from ruff's releases.

v0.1.14

Changes

Preview features

  • [flake8-bugbear] Add fix for duplicate-value (B033) (#9510)
  • [flake8-simplify] Implement enumerate-for-loop (SIM113) (#7777)
  • [pygrep_hooks] Add fix for deprecated-log-warn (PGH002) (#9519)
  • [pylint] Implement import-private-name (C2701) (#5920)
  • [refurb] Implement regex-flag-alias with fix (FURB167) (#9516)
  • [ruff] Add rule and fix to sort contents of __all__ (RUF022) (#9474)
  • [tryceratops] Add fix for error-instead-of-exception (TRY400) (#9520)

Rule changes

  • [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (#9566)
  • [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts (#9567)
  • [pylint] Exclude self and cls when counting method arguments (PLR0917) (#9563)

CLI

  • --show-settings displays active settings in a far more readable format (#9464)
  • Add --extension support to the formatter (#9483)

Configuration

  • Ignore preview status for fixable and unfixable selectors (#9538)
  • [pycodestyle] Use the configured tab size when expanding indents (#9506)

Bug fixes

  • Recursively visit deferred AST nodes (#9541)
  • Visit deferred lambdas before type definitions (#9540)
  • [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113) (#9515)
  • [pandas-vet] Limit inplace diagnostics to methods that accept inplace (#9495)
  • [pylint] Add the __prepare__ method to the list of recognized dunder method (#9529)
  • [pylint] Ignore unnecessary dunder calls within dunder definitions (#9496)
  • [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118) (#9556)
  • [ruff] Avoid treating named expressions as static keys (RUF011) (#9494)

Documentation

  • Add instructions on using noqa with isort rules (#9555)
  • Documentation update for URL giving 'page not found' (#9565)
  • Fix admonition in dark mode (#9502)
  • Update contributing docs to use cargo bench -p ruff_benchmark (#9535)
  • Update emacs integration section to include emacs-ruff-format (#9403)
  • [flake8-blind-except] Document exceptions to blind-except rule (#9580)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.1.14

Preview features

  • [flake8-bugbear] Add fix for duplicate-value (B033) (#9510)
  • [flake8-simplify] Implement enumerate-for-loop (SIM113) (#7777)
  • [pygrep_hooks] Add fix for deprecated-log-warn (PGH002) (#9519)
  • [pylint] Implement import-private-name (C2701) (#5920)
  • [refurb] Implement regex-flag-alias with fix (FURB167) (#9516)
  • [ruff] Add rule and fix to sort contents of __all__ (RUF022) (#9474)
  • [tryceratops] Add fix for error-instead-of-exception (TRY400) (#9520)

Rule changes

  • [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (#9566)
  • [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts (#9567)
  • [pylint] Exclude self and cls when counting method arguments (PLR0917) (#9563)

CLI

  • --show-settings displays active settings in a far more readable format (#9464)
  • Add --extension support to the formatter (#9483)

Configuration

  • Ignore preview status for fixable and unfixable selectors (#9538)
  • [pycodestyle] Use the configured tab size when expanding indents (#9506)

Bug fixes

  • Recursively visit deferred AST nodes (#9541)
  • Visit deferred lambdas before type definitions (#9540)
  • [flake8-simplify] Avoid some more enumerate-for-loop false positives (SIM113) (#9515)
  • [pandas-vet] Limit inplace diagnostics to methods that accept inplace (#9495)
  • [pylint] Add the __prepare__ method to the list of recognized dunder method (#9529)
  • [pylint] Ignore unnecessary dunder calls within dunder definitions (#9496)
  • [refurb] Avoid bailing when reimplemented-operator is called on function (FURB118) (#9556)
  • [ruff] Avoid treating named expressions as static keys (RUF011) (#9494)

Documentation

  • Add instructions on using noqa with isort rules (#9555)
  • Documentation update for URL giving 'page not found' (#9565)
  • Fix admonition in dark mode (#9502)
  • Update contributing docs to use cargo bench -p ruff_benchmark (#9535)
  • Update emacs integration section to include emacs-ruff-format (#9403)
  • [flake8-blind-except] Document exceptions to blind-except rule (#9580)
Commits
  • 866bea6 Bump version to v0.1.14 (#9581)
  • df617c3 [flake8-blind-except] Document exceptions to blind-except rule (#9580)
  • 47ad7b4 Approximate tokens len (#9546)
  • b3a6f0c [flake8-pyi] Fix PYI049 false negatives on call-based TypedDicts (#9567)
  • 7be7066 [pylint] Exclude self and cls when counting method arguments (#9563)
  • 848e473 [flake8-pyi] Fix PYI047 false negatives on PEP-695 type aliases (#9566)
  • 368e279 Documentation update for URL giving 'page not found' (#9565)
  • 29c130f Make ruff the default binary (#9558)
  • 8118d29 Rename ruff_cli crate to ruff (#9557)
  • 45d374d [refurb] Avoid bailing when reimplemented-operator is called on function ...
  • 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 <dependency name> 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)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.1.13...v0.1.14)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner January 22, 2024 04:08
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 22, 2024
Copy link

netlify bot commented Jan 22, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 7b91ef5
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65adea2a505f070008b0da05

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0467df1) 92.29% compared to head (7b91ef5) 92.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8247      +/-   ##
==========================================
+ Coverage   92.29%   92.31%   +0.01%     
==========================================
  Files         608      608              
  Lines       30262    30262              
==========================================
+ Hits        27929    27935       +6     
+ Misses       2333     2327       -6     
Flag Coverage Δ
e2e 50.59% <ø> (+0.01%) ⬆️
integration 26.39% <ø> (ø)
unit 89.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dependabot-pip-ruff-0.1.14-1705898224-7b91ef5
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dependabot-pip-ruff-0.1.14-1705898224-7b91ef5-arm64
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-dependabot-pip-ruff-0.1.14-1705898224-7b91ef5

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-dependabot-pip-ruff-0.1.14-1705898224-7b91ef5-arm64

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu merged commit 2a87039 into main Jan 22, 2024
70 checks passed
@BeryJu BeryJu deleted the dependabot/pip/ruff-0.1.14 branch January 22, 2024 10:45
kensternberg-authentik added a commit that referenced this pull request Jan 22, 2024
* main: (21 commits)
  stages/authenticator_validate: use friendly_name for stage selector when enrolling (#8255)
  web: bump vite from 5.0.10 to 5.0.12 in /web (#8241)
  web: bump the wdio group in /tests/wdio with 4 updates (#8253)
  web: bump rollup from 4.9.5 to 4.9.6 in /web (#8251)
  web: bump core-js from 3.35.0 to 3.35.1 in /web (#8250)
  web: bump the sentry group in /web with 1 update (#8249)
  core: bump ruff from 0.1.13 to 0.1.14 (#8247)
  website: bump react-tooltip from 5.25.2 to 5.26.0 in /website (#8248)
  Update applications.md
  website/docs: fix nginx ingress proxy example (#8245)
  website/blog: add Rebecca's byline, add links for Reddit screenshots (#8238)
  website/blog: Security hygiene Blog (#8225)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#8235)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#8232)
  web: bump the storybook group in /web with 7 updates (#8231)
  core: bump drf-spectacular from 0.27.0 to 0.27.1 (#8230)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#8233)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#8234)
  web/components: improve error handling in ak-search-select (#8228)
  rbac: fix invitations listing with restricted permissions (#8227)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant