ruff/crates/ruff_linter/resources/test/fixtures/pylint/bidirectional_unicode.py
2023-09-20 08:38:27 +02:00

28 lines
495 B
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# E2502
print("שלום‬")
# E2502
example = "x" * 100 # "x" is assigned
# E2502
if access_level != "none": # Check if admin ' and access_level != 'user
print("You are an admin.")
# E2502
def subtract_funds(account: str, amount: int):
"""Subtract funds from bank account then """
return
bank[account] -= amount
return
# OK
print("\u202B\u202E\u05e9\u05DC\u05D5\u05DD\u202C")
# OK
print("\N{RIGHT-TO-LEFT MARK}")
# OK
print("Hello World")