mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
pre-commit: add XML files to the trailing-whitespace check (#9131)
This commit is contained in:
parent
cea4801be1
commit
c923e673cf
@ -59,7 +59,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
exclude: \.(cs|xml)$
|
exclude: \.(cs|xml)$
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|yaml|yml)$
|
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|xml|yaml|yml)$
|
||||||
args: [--markdown-linebreak-ext=md]
|
args: [--markdown-linebreak-ext=md]
|
||||||
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
|
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
|
|||||||
@ -50,7 +50,3 @@ under the License.
|
|||||||
</configuration>
|
</configuration>
|
||||||
</load-configuration>
|
</load-configuration>
|
||||||
</rpc>
|
</rpc>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user