* feat: use existing pre-commit framework * feat(ci): add github action for password_check * feat: add some simple tests to password_check.py * fix: set `backend_password_secret` in default values.yaml to an allowed password
		
			
				
	
	
		
			29 lines
		
	
	
		
			615 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			615 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| repos:
 | |
| - repo: https://github.com/psf/black
 | |
|   rev: 22.12.0
 | |
|   hooks:
 | |
|     - id: black
 | |
|       args: ["backend/btrixcloud/"]
 | |
| - repo: local
 | |
|   hooks:
 | |
|     - id: pylint
 | |
|       name: pylint
 | |
|       entry: cd backend && pylint
 | |
|       language: system
 | |
|       types: [python]
 | |
|       args: ["btrixcloud/"]
 | |
| - repo: local
 | |
|   hooks:
 | |
|     - id: husky-run-pre-commit
 | |
|       name: husky
 | |
|       language: system
 | |
|       entry: frontend/.husky/pre-commit
 | |
|       pass_filenames: false
 | |
| - repo: local
 | |
|   hooks:
 | |
|     - id: password-check
 | |
|       name: password-check
 | |
|       language: system
 | |
|       types: [yaml]
 | |
|       entry: python3 scripts/check_passwords.py
 |