mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	enable black on fdroidserver/rewritemeta.py
This commit is contained in:
		
							parent
							
								
									eb81af57bb
								
							
						
					
					
						commit
						77f9ac9fa8
					
				
					 2 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -266,6 +266,7 @@ black:
 | 
			
		|||
        fdroidserver/mirror.py
 | 
			
		||||
        fdroidserver/net.py
 | 
			
		||||
        fdroidserver/readmeta.py
 | 
			
		||||
        fdroidserver/rewritemeta.py
 | 
			
		||||
        fdroidserver/signindex.py
 | 
			
		||||
        fdroidserver/tail.py
 | 
			
		||||
        fdroidserver/verify.py
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,9 +49,16 @@ def main():
 | 
			
		|||
 | 
			
		||||
    parser = ArgumentParser()
 | 
			
		||||
    common.setup_global_opts(parser)
 | 
			
		||||
    parser.add_argument("-l", "--list", action="store_true", default=False,
 | 
			
		||||
                        help=_("List files that would be reformatted (dry run)"))
 | 
			
		||||
    parser.add_argument("appid", nargs='*', help=_("application ID of file to operate on"))
 | 
			
		||||
    parser.add_argument(
 | 
			
		||||
        "-l",
 | 
			
		||||
        "--list",
 | 
			
		||||
        action="store_true",
 | 
			
		||||
        default=False,
 | 
			
		||||
        help=_("List files that would be reformatted (dry run)"),
 | 
			
		||||
    )
 | 
			
		||||
    parser.add_argument(
 | 
			
		||||
        "appid", nargs='*', help=_("application ID of file to operate on")
 | 
			
		||||
    )
 | 
			
		||||
    metadata.add_metadata_arguments(parser)
 | 
			
		||||
    options = parser.parse_args()
 | 
			
		||||
    metadata.warnings_action = options.W
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue