* Rename archives to orgs and aid to oid on backend * Rename archive to org and aid to oid in frontend * Remove translation artifact * Rename team -> organization * Add database migrations and run once on startup * This commit also applies the new by_one_worker decorator to other asyncio tasks to prevent heavy tasks from being run in each worker. * Run black, pylint, and husky via pre-commit * Set db version and use in migrations * Update and prepare database in single task * Migrate k8s configmaps
		
			
				
	
	
		
			22 lines
		
	
	
		
			449 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			449 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
 |