mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
pre-commit: add hook to trim trailing whitespace (#8205)
This commit is contained in:
parent
40c5d35377
commit
28e8e2d009
@ -58,7 +58,9 @@ repos:
|
||||
- id: forbid-submodules
|
||||
- id: mixed-line-ending
|
||||
exclude: \.(cs|xml)$
|
||||
# - id: trailing-whitespace
|
||||
- id: trailing-whitespace
|
||||
files: \.(in|java|md|py|rb|sh|vue|yaml|yml)$
|
||||
args: [--markdown-linebreak-ext=md]
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 7.0.0
|
||||
hooks:
|
||||
|
||||
@ -228,4 +228,3 @@ if __name__ == "__main__":
|
||||
printMsg("Setup BareMetal PXE server successfully")
|
||||
printMsg("TFTP root directory is: %s\n"%tftpRootDir)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
@ -264,4 +264,3 @@ for example:
|
||||
if __name__ == "__main__":
|
||||
o = DBDeployer()
|
||||
o.run()
|
||||
|
||||
|
||||
@ -98,4 +98,3 @@ The included VagrantFile will give you:
|
||||
- IP: 192.168.22.10
|
||||
- Username: root
|
||||
- Password: password
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user