You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					9 lines
				
				200 B
			
		
		
			
		
	
	
					9 lines
				
				200 B
			| 
								 
											6 years ago
										 
									 | 
							
								#!/usr/bin/env sh
							 | 
						||
| 
								 | 
							
								if [ -z $(which flake8) ]; then
							 | 
						||
| 
								 | 
							
								  echo "Installing flake8"
							 | 
						||
| 
								 | 
							
								  sudo pip install flake8
							 | 
						||
| 
								 | 
							
								fi
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								echo "Setting up commit hook"
							 | 
						||
| 
								 | 
							
								cp -u --remove-destination pre-commit.sh .git/hooks/pre-commit
							 |