Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dev = [
"respx",
"pytest",
"pytest-asyncio",
"ruff==0.15.22",
"ruff==0.16.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ 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.toml

Repository: 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' . || true

Repository: 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}")
PY

Repository: 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.

"time-machine",
"dirty-equals>=0.6.0",
"importlib-metadata>=6.7.0",
Expand Down
Loading