mirror of
				https://github.com/optim-enterprises-bv/patroni.git
				synced 2025-11-04 04:18:03 +00:00 
			
		
		
		
	Check py files in features with flake8 (#2737)
They are correctly formatted and there is no reason not to enforce it.
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							4b023bc9ad
						
					
				
				
					commit
					768d563fba
				
			
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							@@ -88,7 +88,7 @@ class Flake8(_Command):
 | 
			
		||||
                yield package_directory
 | 
			
		||||
 | 
			
		||||
    def targets(self):
 | 
			
		||||
        return [package for package in self.package_files()] + ['tests', 'setup.py']
 | 
			
		||||
        return [package for package in self.package_files()] + ['tests', 'features', 'setup.py']
 | 
			
		||||
 | 
			
		||||
    def run(self):
 | 
			
		||||
        from flake8.main.cli import main
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user