Rule described here: https://www.flake8rules.com/rules/E101.html I tried to follow contributing guidelines closely, I've never worked with Rust before. Stumbled across Ruff a few days ago and would like to use it in our project, but we use a bunch of flake8 rules that are not yet implemented in ruff, so I decided to give it a go.
20 lines
317 B
Python
20 lines
317 B
Python
def func_all_spaces():
|
|
# No error
|
|
print("spaces")
|
|
|
|
def func_tabs():
|
|
# No error
|
|
print("tabs")
|
|
|
|
def func_mixed_start_with_tab():
|
|
# E101
|
|
print("mixed starts with tab")
|
|
|
|
def func_mixed_start_with_space():
|
|
# E101
|
|
print("mixed starts with space")
|
|
|
|
def xyz():
|
|
# E101
|
|
print("xyz");
|