Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
a746d11b
Commit
a746d11b
authored
Aug 21, 2022
by
AnimeGitB
Browse files
Don't lint src/generated
parent
3fca9500
Changes
1
Show whitespace changes
Inline
Side-by-side
format_whitespace.py
View file @
a746d11b
...
@@ -53,7 +53,7 @@ def format_file(filename: str) -> bool:
...
@@ -53,7 +53,7 @@ def format_file(filename: str) -> bool:
def
main
():
def
main
():
filelist
=
[
f
for
f
in
get_changed_filelist
()
if
f
.
endswith
(
'.java'
)]
filelist
=
[
f
for
f
in
get_changed_filelist
()
if
f
.
endswith
(
'.java'
)
and
not
f
.
startswith
(
'src/generated'
)
]
replaced
=
0
replaced
=
0
not_found
=
0
not_found
=
0
if
not
filelist
:
if
not
filelist
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment