Skip to content

No E731#119

Open
behrmann wants to merge 67 commits intoyuwata:ruff-python-scriptsfrom
behrmann:noE731
Open

No E731#119
behrmann wants to merge 67 commits intoyuwata:ruff-python-scriptsfrom
behrmann:noE731

Conversation

@behrmann
Copy link
Copy Markdown

No description provided.

yuwata and others added 30 commits February 25, 2026 03:19
This also replaces open().read() with Path().read_text().

Co-authored-by: Jörg Behrmann <behrmann@physik.fu-berlin.de>
Also, this makes opened files closed when not necessary.
Also drops unnecessary noqa attribute for importing pefile.
… bug

- l3mdev in fib rules is supported since
torvalds/linux@96c63fa (v4.8).
- uid range in fib rules is supported since
torvalds/linux@622ec2c (v4.10).
- port range and ip proto in fib rules is supported since
torvalds/linux@bfff486 (v4.17).
- interface alternative name is supported since
torvalds/linux@36fbf1e (v5.5).
- SRIOV on netdevsim is supported since
torvalds/linux@7957922 (4.16).
- nexthop is supported since
torvalds/linux@65ee00a (v5.3).
- bridge MDB entries on bridge master is supported since
torvalds/linux@1bc844e (v5.4).
lint.ignore = ["E501"]

[lint.per-file-ignores]
"tools/chromiumos/gen_autosuspend_rules.py" = ["Q000", "Q001"]
Copy link
Copy Markdown
Owner

@yuwata yuwata Feb 25, 2026

Choose a reason for hiding this comment

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

gen_autosuspend_rules.py is imported from external project, and there is nothing we can do on it.
Neither formatter nor linter should run on the file I think.

@yuwata yuwata force-pushed the ruff-python-scripts branch 2 times, most recently from e3ffd8d to df09842 Compare February 25, 2026 17:29
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