mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix pycodestyle complaints
This commit is contained in:
		@@ -44,7 +44,7 @@ class TextDocumentParser(DocumentParser):
 | 
			
		||||
 | 
			
		||||
        def create_bg():
 | 
			
		||||
            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])
 | 
			
		||||
            run_command(self.CONVERT, "-size ", picsize, ' xc:none -draw ',
 | 
			
		||||
                        '"fill ', bg_color, ' roundrectangle 0,0,',
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@ from .parsers import TextDocumentParser
 | 
			
		||||
 | 
			
		||||
class ConsumerDeclaration:
 | 
			
		||||
 | 
			
		||||
    MATCHING_FILES = re.compile("^.*\.(te?xt|md|csv)$")
 | 
			
		||||
    MATCHING_FILES = re.compile(r"^.*\.(te?xt|md|csv)$")
 | 
			
		||||
 | 
			
		||||
    @classmethod
 | 
			
		||||
    def handle(cls, sender, **kwargs):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user