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

Release v0.5.0 #12068

Merged
merged 17 commits into from
Jun 27, 2024
Merged

Release v0.5.0 #12068

merged 17 commits into from
Jun 27, 2024

Conversation

MichaReiser
Copy link
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
@@ -1,5 +1,52 @@
# Changelog

## 0.5.0

### Preview features
Copy link
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

Copy link
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
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!

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@MichaReiser MichaReiser marked this pull request as ready for review June 27, 2024 13:35
CHANGELOG.md Outdated Show resolved Hide resolved
BREAKING_CHANGES.md Outdated Show resolved Hide resolved
BREAKING_CHANGES.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@AlexWaygood AlexWaygood enabled auto-merge (squash) June 27, 2024 14:42
@AlexWaygood AlexWaygood merged commit a8b48fc into main Jun 27, 2024
35 checks passed
@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 <[email protected]>
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