Skip to content

fix(trainer): restore valid ruff target-version - #265

Open
blue (Blueyyds) wants to merge 1 commit into
Lightricks:mainfrom
wgdl666:fix/ruff-target-version
Open

blue (Blueyyds) wants to merge 1 commit into
Lightricks:mainfrom
wgdl666:fix/ruff-target-version

Conversation

@Blueyyds

Copy link
Copy Markdown

[tool.ruff] target-version was set to "1.1.7" — a ruff release number rather than a Python version — so every ruff invocation scoped to this package aborted with a TOML parse error instead of linting. That silently disabled lint and format checks for all of ltx-trainer.

Set it to py311, matching the root pyproject.toml.

[tool.ruff] target-version was set to "1.1.7" — a ruff release number
rather than a Python version — so every ruff invocation scoped to this
package aborted with a TOML parse error instead of linting. That silently
disabled lint and format checks for all of ltx-trainer.

Set it to py311, matching the root pyproject.toml.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant