Skip to content

Release v0.5.0#12068

Merged
AlexWaygood merged 17 commits intomainfrom
ruff-0.5-release
Jun 27, 2024
Merged

Release v0.5.0#12068
AlexWaygood merged 17 commits intomainfrom
ruff-0.5-release

Conversation

@MichaReiser
Copy link
Copy Markdown
Member

@MichaReiser MichaReiser commented Jun 27, 2024

Summary

Release of Ruff v0.5.0

@MichaReiser MichaReiser added the release Related to the release process label Jun 27, 2024
Comment thread CHANGELOG.md

## 0.5.0

### Preview features
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, looks like it didn't add the features from the rebase-merge

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 27, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

ℹ️ ecosystem check encountered linter errors. (no lint changes; 1 project error)

demisto/content (error)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
  - 'unfixable' -> 'lint.unfixable'
  - 'per-file-ignores' -> 'lint.per-file-ignores'
warning: `PGH001` has been remapped to `S307`.
warning: `PGH002` has been remapped to `G010`.
warning: `PLR1701` has been remapped to `SIM101`.
ruff failed
  Cause: Selection of deprecated rule `E999` is not allowed when preview is enabled.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

demisto/content (error)

ruff format --preview --exclude Packs/ThreatQ/Integrations/ThreatQ/ThreatQ.py

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
  - 'unfixable' -> 'lint.unfixable'
  - 'per-file-ignores' -> 'lint.per-file-ignores'
warning: `PGH001` has been remapped to `S307`.
warning: `PGH002` has been remapped to `G010`.
warning: `PLR1701` has been remapped to `SIM101`.
ruff failed
  Cause: Selection of deprecated rule `E999` is not allowed when preview is enabled.

Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
MichaReiser and others added 4 commits June 27, 2024 15:21
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@MichaReiser MichaReiser marked this pull request as ready for review June 27, 2024 13:35
Comment thread CHANGELOG.md Outdated
Comment thread BREAKING_CHANGES.md Outdated
Comment thread BREAKING_CHANGES.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md
MichaReiser and others added 5 commits June 27, 2024 16:10
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
@AlexWaygood AlexWaygood enabled auto-merge (squash) June 27, 2024 14:42
@AlexWaygood AlexWaygood merged commit a8b48fc into main Jun 27, 2024
@AlexWaygood AlexWaygood deleted the ruff-0.5-release branch June 27, 2024 14:46
ThomasFaivre added a commit to ThomasFaivre/ruff that referenced this pull request Jul 3, 2024
URL is wrong:
> $ curl -L -s -o /dev/null https://docs.astral.sh/ruff/rules/misplaced-bare-raise%60/ -w "%{http_code}\n"
> 404

Correct URL:
> $ curl -L -s -o /dev/null https://docs.astral.sh/ruff/rules/misplaced-bare-raise/ -w "%{http_code}\n"
> 200

Link: https://astral.sh/blog/ruff-v0.5.0
Fixes: a8b48fc ("Release v0.5.0 (astral-sh#12068)")
Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Related to the release process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants