Open
Conversation
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).
Both python-mode and python-ts-mode are shipped by Emacs nowadays, with the latter being the more modern tree-sitter-based one. Even though they are similar, the newer one doesn't automatically take the older ones settings.
yuwata
reviewed
Feb 25, 2026
| lint.ignore = ["E501"] | ||
|
|
||
| [lint.per-file-ignores] | ||
| "tools/chromiumos/gen_autosuspend_rules.py" = ["Q000", "Q001"] |
Owner
There was a problem hiding this comment.
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.
e3ffd8d to
df09842
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.