* Remove config from list endpoints - Remove config field from workflow and crawl list endpoints - Add seedCount to CrawlConfigOut on backend and Workflow on frontend - Refactor CrawlConfig and CrawlConfigOut to extend CrawlConfigCore + CrawlConfigAdditional - Refactor workflow list in frontend to use firstSeed and seedCount - Frontend uses ListWorkflow type which is Omit<Workflow, "config">
		
			
				
	
	
		
			36 lines
		
	
	
		
			753 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			753 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: 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
 |