Skip to content

fix CI: pin black 26.5.1 + format#41

Merged
shahar-brd merged 2 commits into
brightdata:devfrom
karaposu:fix/black-format
Jun 17, 2026
Merged

fix CI: pin black 26.5.1 + format#41
shahar-brd merged 2 commits into
brightdata:devfrom
karaposu:fix/black-format

Conversation

@karaposu

Copy link
Copy Markdown
Contributor

Changes

  • pre-commit black 24.1.126.5.1 (+ language_version: python3, since 26.x needs ≥3.10)
  • reformat scraper_studio/client.py to 26.x style

Verified locally

  • black --check src/ tests/ clean · ruff check clean · pytest 248 passed
  • publish.yml doesn't run black (build/twine only), so it's unaffected — bumped to 3.10 only for consistency

karaposu added 2 commits June 17, 2026 17:20
Pin [dev] black to ==26.5.1 (was floating >=25.0.0, which resolved to 26.x on 3.10+ but only 25.x on 3.9 -> version skew across the CI matrix). Bump requires-python to >=3.10, drop 3.9 from the test matrix, bump black/ruff target-version to py310, mypy python_version to 3.10, and the publish build Python to 3.10.
@shahar-brd shahar-brd merged commit 1e4ba9f into brightdata:dev Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants