chore(deps-dev): bump ruff from 0.15.22 to 0.16.0 - #34
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.22 to 0.16.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.15.22...0.16.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughWalkthroughThe pull request updates the Ruff development dependency pin in ChangesRuff dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Line 68: Regenerate both development lockfiles to align Ruff with the
pyproject.toml requirement of 0.16.0: update the Ruff pin in uv.lock and
requirements-dev.lock, and generate requirements-dev.lock without hashes as
required by scripts/bootstrap.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| "pytest", | ||
| "pytest-asyncio", | ||
| "ruff==0.15.22", | ||
| "ruff==0.16.0", |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
rg -n 'ruff==' pyproject.toml requirements-dev.lock
test "$(sed -n 's/^[[:space:]]*ruff==//p' requirements-dev.lock)" = "0.16.0"Repository: Xquik-dev/x-twitter-scraper-python
Length of output: 249
🏁 Script executed:
set -euo pipefail
printf '%s\n' '--- dependency declarations ---'
sed -n '55,85p' pyproject.toml
sed -n '65,95p' requirements-dev.lock
printf '%s\n' '--- lockfile references and install commands ---'
rg -n -i 'requirements-dev\.lock|pip install|ruff' .github Makefile* README.md pyproject.toml 2>/dev/null || true
printf '%s\n' '--- lockfile status ---'
git ls-files requirements-dev.lock pyproject.tomlRepository: Xquik-dev/x-twitter-scraper-python
Length of output: 1911
🏁 Script executed:
set -euo pipefail
printf '%s\n' '--- repository lock and workflow files ---'
git ls-files | rg '(^|/)(uv\.lock|requirements.*\.lock|.*workflow.*|Makefile|tox\.ini|noxfile.*|pyproject\.toml)$' || true
printf '%s\n' '--- lockfile headers and Ruff entries ---'
for f in uv.lock requirements-dev.lock; do
if test -f "$f"; then
echo "### $f"
sed -n '1,35p' "$f"
rg -n -C 5 '^name = "ruff"$|^ruff==|ruff-' "$f" || true
fi
done
printf '%s\n' '--- all tracked references to development lockfiles and Ruff pins ---'
rg -n -i 'uv\.lock|requirements-dev\.lock|ruff([=<>!~]|-[0-9])' --glob '!*.lock' --glob '!pyproject.toml' . || trueRepository: Xquik-dev/x-twitter-scraper-python
Length of output: 10321
🏁 Script executed:
set -euo pipefail
printf '%s\n' '--- development setup and CI commands ---'
sed -n '1,80p' scripts/bootstrap
sed -n '1,180p' .github/workflows/ci.yml
sed -n '1,80p' CONTRIBUTING.md
printf '%s\n' '--- Ruff package records in both lockfiles ---'
python3 - <<'PY'
from pathlib import Path
import re
for name in ("uv.lock", "requirements-dev.lock"):
text = Path(name).read_text()
versions = re.findall(r'(?m)^name = "ruff"\nversion = "([^"]+)"', text)
if not versions:
versions = re.findall(r'(?m)^ruff==([^ \n]+)', text)
print(f"{name}: {versions}")
PYRepository: Xquik-dev/x-twitter-scraper-python
Length of output: 5962
Regenerate both development lockfiles.
pyproject.toml requires Ruff 0.16.0, but uv.lock and requirements-dev.lock still pin 0.15.22. Update both lockfiles. CI uses uv.lock, and non-uv development installs use requirements-dev.lock. Generate requirements-dev.lock without hashes, as required by scripts/bootstrap.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pyproject.toml` at line 68, Regenerate both development lockfiles to align
Ruff with the pyproject.toml requirement of 0.16.0: update the Ruff pin in
uv.lock and requirements-dev.lock, and generate requirements-dev.lock without
hashes as required by scripts/bootstrap.
Bumps ruff from 0.15.22 to 0.16.0.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
a2635fdBump 0.16.0 (#27136)3433449[ty] Reuse full call diagnostics for implicit setter calls (#27115)2240070Reflectruff: ignoreand--add-ignorestabilization in documentation (#27...17ef711Stabilize--add-ignore(#27125)ef912bbAdd newly stabilized rules to defaults (#27055)b30f040Stabilize new default rules (#27035)bcd70c5Exclude Markdown files fromformat-devruns (#27052)87e51e2Fixformat --checkspans for syntax errors (#27045)afe2723[flake8-gettext] Stabilize qualified-name and built-in binding resolution (...a9702d8[flake8-bandit] Stabilize string literal binding resolution (S310) (#26944)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by cubic
Update
ruffto 0.16.0 to pick up the latest linting and formatter improvements. This version expands default rules and formats Python blocks in Markdown, which may surface new findings.ruff check .and fix or adjust config. Explicitly select rules or extend ignores to keep prior behavior.Written for commit 5719e3b. Summary will update on new commits.
Note
Bump ruff dev dependency from 0.15.22 to 0.16.0
Updates the
ruffversion pin in pyproject.toml to the latest release.Macroscope summarized 5719e3b.
Summary by CodeRabbit