mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	gitlab-ci: use black from Debian for a stable code format
This avoids surprise code format CI breakage when black pushes new rules: https://gitlab.com/fdroid-bot/fdroidserver/-/jobs/3703868702
This commit is contained in:
		
							parent
							
								
									e1d0ff175f
								
							
						
					
					
						commit
						a27cf3d42d
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -220,9 +220,10 @@ lint_format_safety_bandit_checks:
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
black:
 | 
			
		||||
  image: python:slim
 | 
			
		||||
  image: debian:bookworm-slim
 | 
			
		||||
  <<: *apt-template
 | 
			
		||||
  script:
 | 
			
		||||
    - pip install black
 | 
			
		||||
    - apt-get install black
 | 
			
		||||
    - black --check --diff --color
 | 
			
		||||
        examples/fdroid_clean_repos.py
 | 
			
		||||
        examples/fdroid_extract_repo_pubkey.py
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue