mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01: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: forbid-submodules | ||||||
|       - id: mixed-line-ending |       - id: mixed-line-ending | ||||||
|         exclude: \.(cs|xml)$ |         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 |   - repo: https://github.com/pycqa/flake8 | ||||||
|     rev: 7.0.0 |     rev: 7.0.0 | ||||||
|     hooks: |     hooks: | ||||||
|  | |||||||
| @ -228,4 +228,3 @@ if __name__ == "__main__": | |||||||
|     printMsg("Setup BareMetal PXE server successfully") |     printMsg("Setup BareMetal PXE server successfully") | ||||||
|     printMsg("TFTP root directory is: %s\n"%tftpRootDir) |     printMsg("TFTP root directory is: %s\n"%tftpRootDir) | ||||||
|     sys.exit(0) |     sys.exit(0) | ||||||
|      |  | ||||||
|  | |||||||
| @ -264,4 +264,3 @@ for example: | |||||||
| if __name__ == "__main__": | if __name__ == "__main__": | ||||||
|    o = DBDeployer() |    o = DBDeployer() | ||||||
|    o.run() |    o.run() | ||||||
|          |  | ||||||
|  | |||||||
| @ -98,4 +98,3 @@ The included VagrantFile will give you: | |||||||
|  - IP: 192.168.22.10 |  - IP: 192.168.22.10 | ||||||
|  - Username: root |  - Username: root | ||||||
|  - Password: password |  - Password: password | ||||||
|      |  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user