mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	Fix errors from merge and review
This commit is contained in:
		
							parent
							
								
									3d85b91dc4
								
							
						
					
					
						commit
						675d034ac7
					
				
					 3 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1056,7 +1056,7 @@ class vcs:
 | 
			
		|||
        """Get a list of all the known tags, sorted from newest to oldest."""
 | 
			
		||||
        raise VCSException('latesttags not supported for this vcs type')
 | 
			
		||||
 | 
			
		||||
    def getref(self):
 | 
			
		||||
    def getref(self, revname=None):
 | 
			
		||||
        """Get current commit reference (hash, revision, etc)."""
 | 
			
		||||
        raise VCSException('getref not supported for this vcs type')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -248,8 +248,8 @@ def get_lastbuild(builds):
 | 
			
		|||
    return lastbuild
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def check_update_check_data_url(app):
 | 
			
		||||
    """Updatecheckdata must have a valid HTTPS URL to protect checkupdates runs."""
 | 
			
		||||
def check_update_check_data_url(app):  # noqa: D403
 | 
			
		||||
    """UpdateCheckData must have a valid HTTPS URL to protect checkupdates runs."""
 | 
			
		||||
    if app.UpdateCheckData and app.UpdateCheckMode == 'HTTP':
 | 
			
		||||
        urlcode, codeex, urlver, verex = app.UpdateCheckData.split('|')
 | 
			
		||||
        for url in (urlcode, urlver):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,6 +40,10 @@ output_dir = locale
 | 
			
		|||
domain = fdroidserver
 | 
			
		||||
directory = locale
 | 
			
		||||
 | 
			
		||||
[pycodestyle]
 | 
			
		||||
ignore = E203,W503
 | 
			
		||||
max-line-length = 88
 | 
			
		||||
 | 
			
		||||
[flake8]
 | 
			
		||||
ignore = E203,W503
 | 
			
		||||
max-line-length = 88
 | 
			
		||||
| 
						 | 
				
			
			@ -51,5 +55,4 @@ max-line-length = 88
 | 
			
		|||
# * rest are the conventions which are ignored by numpy conventions according to http://www.pydocstyle.org/en/stable/error_codes.html 
 | 
			
		||||
[pydocstyle]
 | 
			
		||||
#convention = numpy # cannot be used in combination with ignore, so we list rules seperately.
 | 
			
		||||
ignore = D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D213,D402,D413,D415,D416,D417,E203,W503
 | 
			
		||||
max-line-length = 88
 | 
			
		||||
ignore = D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D213,D402,D413,D415,D416,D417
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue