mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-04 10:38:10 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			545 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			545 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
repos:
 | 
						|
-   repo: https://github.com/pre-commit/mirrors-clang-format
 | 
						|
    rev: v19.1.7
 | 
						|
    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: 25.1.0
 | 
						|
    hooks:
 | 
						|
    -   id: black
 | 
						|
    
 | 
						|
-   repo: https://github.com/pycqa/isort
 | 
						|
    rev: 6.0.0
 | 
						|
    hooks:
 | 
						|
    -   id: isort
 | 
						|
        args:
 | 
						|
            - --profile=black
 | 
						|
- repo: https://github.com/cheshirekow/cmake-format-precommit
 | 
						|
  rev: v0.6.13
 | 
						|
  hooks:
 | 
						|
    - id: cmake-format
 |