mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	gitlab-ci: prevent dualing linters: pyflakes vs mypy
* pyflakes says: "typing.Dict' imported but unused" * mypy says: "Name 'Dict' is not defined"
This commit is contained in:
		
							parent
							
								
									0c807275a2
								
							
						
					
					
						commit
						5346ea3c19
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -193,7 +193,8 @@ lint_mypy:
 | 
			
		|||
  script:
 | 
			
		||||
    - pip install mypy
 | 
			
		||||
    - pip install -e .[test]
 | 
			
		||||
    - mypy
 | 
			
		||||
    # exclude vendored file
 | 
			
		||||
    - mypy --exclude fdroidserver/apksigcopier.py
 | 
			
		||||
 | 
			
		||||
fedora_latest:
 | 
			
		||||
  image: fedora:latest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -96,7 +96,7 @@ class ZipError(APKSigCopierError):
 | 
			
		|||
class ReproducibleZipInfo(zipfile.ZipInfo):
 | 
			
		||||
    """Reproducible ZipInfo hack."""
 | 
			
		||||
 | 
			
		||||
    _override = {}  # type: Dict[str, Any]
 | 
			
		||||
    _override = {}
 | 
			
		||||
 | 
			
		||||
    def __init__(self, zinfo, **override):
 | 
			
		||||
        if override:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue