Skip to content

chore: add ruff format --check #5774

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

Merged
merged 2 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix tests
  • Loading branch information
rexledesma committed May 11, 2025
commit 6fa12b0739343446357a21532152a9061313daca
2 changes: 1 addition & 1 deletion extra_tests/snippets/example_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def f(x, y, *args, power=1, **kwargs):
print(c2.co_consts)
assert 2 in c2.co_consts, c2.co_consts
assert "example_interactive.py" in c2.co_filename
assert c2.co_firstlineno == 5, str(c2.co_firstlineno)
assert c2.co_firstlineno == 6, str(c2.co_firstlineno)
# assert isinstance(c2.co_flags, int) # 'OPTIMIZED, NEWLOCALS, NOFREE'
# assert c2.co_freevars == (), str(c2.co_freevars)
assert c2.co_kwonlyargcount == 1, c2.co_kwonlyargcount
Expand Down
2 changes: 1 addition & 1 deletion extra_tests/snippets/stdlib_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
raise KeyError().with_traceback(ex.__traceback__)
except KeyError as ex2:
tb = traceback.extract_tb(ex2.__traceback__)
assert tb[1].line == "1/0"
assert tb[1].line == "1 / 0"


try:
Expand Down
Loading