36 lines
		
	
	
		
			752 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			752 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| repos:
 | |
| - repo: https://github.com/psf/black
 | |
|   rev: 24.1.1
 | |
|   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: mypy
 | |
|       name: mypy
 | |
|       entry: cd backend && mypy
 | |
|       language: 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
 |