mirror of
				https://github.com/devine-dl/pywidevine.git
				synced 2025-11-04 03:44:50 +00:00 
			
		
		
		
	Use official config repos for ruff and mypy, fix poetry dependency resolution
This commit is contained in:
		
							parent
							
								
									8cd623a217
								
							
						
					
					
						commit
						d58db89baf
					
				@ -3,15 +3,25 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
exclude: '_pb2.pyi?$'
 | 
					exclude: '_pb2.pyi?$'
 | 
				
			||||||
repos:
 | 
					repos:
 | 
				
			||||||
  - repo: https://github.com/mtkennerly/pre-commit-hooks
 | 
					  - repo: https://github.com/astral-sh/ruff-pre-commit
 | 
				
			||||||
    rev: v0.4.0
 | 
					    rev: v0.14.2
 | 
				
			||||||
    hooks:
 | 
					    hooks:
 | 
				
			||||||
      - id: poetry-ruff-check
 | 
					      - id: ruff-check
 | 
				
			||||||
      - id: poetry-mypy
 | 
					        language: system
 | 
				
			||||||
 | 
					        types: [ python ]
 | 
				
			||||||
 | 
					  - repo: https://github.com/pre-commit/mirrors-mypy
 | 
				
			||||||
 | 
					    rev: v1.18.2
 | 
				
			||||||
 | 
					    hooks:
 | 
				
			||||||
 | 
					      - id: mypy
 | 
				
			||||||
 | 
					        language: system
 | 
				
			||||||
 | 
					        types: [ python ]
 | 
				
			||||||
 | 
					        args: []  # override defaults to empty
 | 
				
			||||||
  - repo: https://github.com/pycqa/isort
 | 
					  - repo: https://github.com/pycqa/isort
 | 
				
			||||||
    rev: 6.1.0
 | 
					    rev: 6.1.0
 | 
				
			||||||
    hooks:
 | 
					    hooks:
 | 
				
			||||||
      - id: isort
 | 
					      - id: isort
 | 
				
			||||||
 | 
					        language: system
 | 
				
			||||||
 | 
					        types: [ python ]
 | 
				
			||||||
  - repo: https://github.com/pre-commit/pre-commit-hooks
 | 
					  - repo: https://github.com/pre-commit/pre-commit-hooks
 | 
				
			||||||
    rev: v6.0.0
 | 
					    rev: v6.0.0
 | 
				
			||||||
    hooks:
 | 
					    hooks:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user