Closed Bug 1932827 Opened 1 year ago Closed 1 year ago

Update to ruff 0.8.0

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(3 external files)

Warning:

warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
  - 'per-file-ignores' -> 'lint.per-file-ignores'
Assignee: nobody → sledru
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'ignore' -> 'lint.ignore'
  - 'select' -> 'lint.select'
  - 'per-file-ignores' -> 'lint.per-file-ignores'

Fix:
Extracting value from dictionary without calling .items() PLC0206 (ruff)

Attachment #9439304 - Attachment description: Bug 1932827 - ruff: fix the PLC0206 warning r?#linter-reviewers → Bug 1932827 - ruff: Ignore the PLC0206 warning r?#linter-reviewers
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f1f62809fc6 ruff: fix the configuration warning r=linter-reviewers,ahal https://hg.mozilla.org/integration/autoland/rev/f02f9c26bbfa ruff: Ignore the PLC0206 warning r=linter-reviewers,taskgraph-reviewers,bhearsum,ahal,hneiva https://hg.mozilla.org/integration/autoland/rev/c937ca5c9067 ruff: update to version 0.8.0 r=linter-reviewers,ahal
Blocks: 1934248
Blocks: 1940754
Blocks: 1965564
No longer blocks: 1965564
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: