Make flake8 check spack script as well as .py files (#11513)
* Make flake8 check bin/spack
This commit is contained in:
		 Adam J. Stewart
					Adam J. Stewart
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							4d71117080
						
					
				
				
					commit
					e2065fad72
				
			| @@ -127,7 +127,7 @@ def changed_files(args): | |||||||
|  |  | ||||||
|         for f in files: |         for f in files: | ||||||
|             # Ignore non-Python files |             # Ignore non-Python files | ||||||
|             if not f.endswith('.py'): |             if not (f.endswith('.py') or f == 'bin/spack'): | ||||||
|                 continue |                 continue | ||||||
|  |  | ||||||
|             # Ignore files in the exclude locations |             # Ignore files in the exclude locations | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user