mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-01 00:28:11 +08:00 
			
		
		
		
	 a30e7ed2da
			
		
	
	a30e7ed2da
	
	
	
		
			
			* feat: metal formatting and pre-commit bump * add guards * update * more guards * more guards * smakk fix * Refactor instantiation of ternary types in ternary.metal * fix scan.metal
		
			
				
	
	
		
			17 lines
		
	
	
		
			432 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			432 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| repos:
 | |
| -   repo: https://github.com/pre-commit/mirrors-clang-format
 | |
|     rev: v18.1.4
 | |
|     hooks:
 | |
|     -   id: clang-format
 | |
| # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
 | |
| -   repo: https://github.com/psf/black-pre-commit-mirror
 | |
|     rev: 24.4.2
 | |
|     hooks:
 | |
|     -   id: black
 | |
| -   repo: https://github.com/pycqa/isort
 | |
|     rev: 5.13.2
 | |
|     hooks:
 | |
|     -   id: isort
 | |
|         args:
 | |
|             - --profile=black
 |