Add precommit
This commit is contained in:
		
							
								
								
									
										16
									
								
								.pre-commit-config.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.pre-commit-config.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					repos:
 | 
				
			||||||
 | 
					  - repo: https://github.com/pre-commit/pre-commit-hooks
 | 
				
			||||||
 | 
					    rev: v4.1.0
 | 
				
			||||||
 | 
					    hooks:
 | 
				
			||||||
 | 
					      - id: end-of-file-fixer
 | 
				
			||||||
 | 
					        types:
 | 
				
			||||||
 | 
					          - text
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - id: trailing-whitespace
 | 
				
			||||||
 | 
					        types:
 | 
				
			||||||
 | 
					          - text
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - id: check-merge-conflict
 | 
				
			||||||
 | 
					        types:
 | 
				
			||||||
 | 
					          - text
 | 
				
			||||||
		Reference in New Issue
	
	Block a user