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.
		
		
		
		
			
				
					12 lines
				
				339 B
			
		
		
			
		
	
	
					12 lines
				
				339 B
			| 
								 
											6 years ago
										 
									 | 
							
								#!/usr/bin/env bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								python3 -m pylint --disable=R,C,W $(eval echo <(find cereal) <(find opendbc) $(cat release/files_common release/files_common | tr '\n' ' ') | tr ' ' '\n' | grep "\.py$")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exit_status=$?
							 | 
						||
| 
								 | 
							
								(( res = exit_status & 3 ))
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if [[ $res != 0  ]]; then
							 | 
						||
| 
								 | 
							
									echo "Pylint found errors in the code. Please fix and try again"
							 | 
						||
| 
								 | 
							
									exit 1
							 | 
						||
| 
								 | 
							
								fi
							 |