mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-02 18:47:10 -05:00 
			
		
		
		
	Fix pycodestyle complaints
This commit is contained in:
		
							parent
							
								
									2dc35cc856
								
							
						
					
					
						commit
						ef302abed7
					
				@ -44,7 +44,7 @@ class TextDocumentParser(DocumentParser):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        def create_bg():
 | 
					        def create_bg():
 | 
				
			||||||
            work_size = ",".join([str(n - 1) for n in psize])
 | 
					            work_size = ",".join([str(n - 1) for n in psize])
 | 
				
			||||||
            r = str(round(psize[0] / 10));
 | 
					            r = str(round(psize[0] / 10))
 | 
				
			||||||
            rounded = ",".join([r, r])
 | 
					            rounded = ",".join([r, r])
 | 
				
			||||||
            run_command(self.CONVERT, "-size ", picsize, ' xc:none -draw ',
 | 
					            run_command(self.CONVERT, "-size ", picsize, ' xc:none -draw ',
 | 
				
			||||||
                        '"fill ', bg_color, ' roundrectangle 0,0,',
 | 
					                        '"fill ', bg_color, ' roundrectangle 0,0,',
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ from .parsers import TextDocumentParser
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class ConsumerDeclaration:
 | 
					class ConsumerDeclaration:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    MATCHING_FILES = re.compile("^.*\.(te?xt|md|csv)$")
 | 
					    MATCHING_FILES = re.compile(r"^.*\.(te?xt|md|csv)$")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @classmethod
 | 
					    @classmethod
 | 
				
			||||||
    def handle(cls, sender, **kwargs):
 | 
					    def handle(cls, sender, **kwargs):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user