-
Notifications
You must be signed in to change notification settings - Fork 48
Enable more ruff #1169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable more ruff #1169
Changes from all commits
72466ff
21f9824
079ec88
9568b67
c019a67
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,7 +87,7 @@ def printImportantRegisters() -> None: | |
| ] | ||
| elif isARM64(): | ||
| # ARM64 has GPRs from x0 to x30 | ||
| regs = ["x" + str(x) for x in range(0, 31)] | ||
| regs = ["x" + str(x) for x in range(31)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know this is all auto-fixes, but this should be an f-string (here and in RegisterHelper)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes there are a lot of potential f-string fixes. They can be addressed in another PR. |
||
| regs.extend(["sp", "pc", "cpsr", "fpcsr", "fpcr"]) | ||
| else: | ||
| regs = ["eax", "ebx", "ecx", "edx", "esi", "edi", "ebp", "esp", "eip"] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL .. this should all be pathlib, but that's another problem