[all-commits] [llvm/llvm-project] 06a9b0: [Utils] Fix indentation error in utils/wciia.py
bzEq via All-commits
all-commits at lists.llvm.org
Sun May 16 07:39:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06a9b0c6f445585393cdac3d488b7e9b28c7c5d5
https://github.com/llvm/llvm-project/commit/06a9b0c6f445585393cdac3d488b7e9b28c7c5d5
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2021-05-16 (Sun, 16 May 2021)
Changed paths:
M llvm/utils/wciia.py
Log Message:
-----------
[Utils] Fix indentation error in utils/wciia.py
Running this script gives
```
"llvm-project/llvm/./utils/wciia.py", line 56
if word == "N:":
TabError: inconsistent use of tabs and spaces in indentation
```
Under emacs' whitespace-mode, it shows
```
for·line·in·code_owners_file:$
····for·word·in·line.split():$
» if·word·==·"N:":$
» » name·=·line[2:].strip()$
» » if·code_owner:$
» » » process_code_owner(code_owner)$
» » » code_owner·=·{}$
```
I use `yapf` to format this script directly and it's running correctly.
More information about the All-commits
mailing list