File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ ALL_HS := $(filter-out $(S)src/rt/vg/valgrind.h \
120
120
tidy :
121
121
@$(call E, check: formatting)
122
122
$(Q ) find $(S ) src -name ' *.r[sc]' \
123
+ | grep ' ^$(S)src/test' -v \
123
124
| xargs -n 10 python $(S ) src/etc/tidy.py
124
125
$(Q ) find $(S ) src/etc -name ' *.py' \
125
126
| xargs -n 10 python $(S ) src/etc/tidy.py
Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ def report_err(s):
32
32
report_err ("trailing whitespace" )
33
33
line_len = len (line )- 2 if autocrlf else len (line )- 1
34
34
35
- # Along long lines if they are part of an expected error message
36
- # in a test, which is denoted with "//!":
37
- if line_len > cols and "//!" not in line :
35
+ if line_len > cols :
38
36
report_err ("line longer than %d chars" % cols )
39
37
except UnicodeDecodeError , e :
40
38
report_err ("UTF-8 decoding error " + str (e ))
You can’t perform that action at this time.
0 commit comments