mozilla / translations

The code, training pipeline, and models that power Firefox Translations
https://mozilla.github.io/translations/
Mozilla Public License 2.0
154 stars 33 forks source link

task lint-fix is still broken for me locally for formatting imports #614

Open gregtatum opened 5 months ago

gregtatum commented 5 months ago

I've been meaning to file this, but have just been working around it locally. It also fails for me in the docker image.

task: [poetry-install-*] poetry install --only lint --no-root
Installing dependencies from lock file

No dependencies to install or update
task: [lint-ruff] poetry run ruff --version
ruff 0.1.15
task: [lint-ruff] poetry run ruff check .
tracking/translations_parser/cli/taskcluster_group.py:9:1: I001 [*] Import block is un-sorted or un-formatted
tracking/translations_parser/publishers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
task: Failed to run task "lint-ruff