Skip to content

Commit

Permalink
REMOVEME: Ensure CI complains for bad formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gselzer committed Oct 15, 2024
1 parent 3a91fcc commit 94f9a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utilities/test_module_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def foo(
assert "value" not in args["a"]

assert "b" in args
assert args["b"]["annotation"] is str
assert args["b"]["annotation"] == str

Check failure on line 597 in tests/utilities/test_module_utils.py

View workflow job for this annotation

GitHub Actions / ensure-clean-code

Ruff (E721)

tests/utilities/test_module_utils.py:597:12: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
assert "options" not in args["b"]
assert "value" not in args["b"]

Expand Down

0 comments on commit 94f9a10

Please sign in to comment.