Initial commit of PVC Bootstrap system
Adds the PVC Bootstrap system, which allows the automated deployment of one or more PVC clusters.
This commit is contained in:
		
							
								
								
									
										18
									
								
								lint
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								lint
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| if ! which flake8 &>/dev/null; then | ||||
|     echo "Flake8 is required to lint this project" | ||||
|     exit 1 | ||||
| fi | ||||
|  | ||||
| pushd $( git rev-parse --show-toplevel ) &>/dev/null | ||||
|  | ||||
| echo ">>> Linting..." | ||||
| flake8 | ||||
| ret=$? | ||||
| if [[ $ret -eq 0 ]]; then | ||||
|     echo "No linting issues found!" | ||||
| fi | ||||
|  | ||||
| popd &>/dev/null | ||||
| exit $ret | ||||
		Reference in New Issue
	
	Block a user