mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-03 07:39:20 +00:00 
			
		
		
		
	Add precommit hook for enforcing markdown format with mdformat
This commit is contained in:
		@@ -67,3 +67,13 @@ repos:
 | 
				
			|||||||
        language: system
 | 
					        language: system
 | 
				
			||||||
        types:
 | 
					        types:
 | 
				
			||||||
          - text
 | 
					          - text
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - id: mdformat
 | 
				
			||||||
 | 
					        name: mdformat
 | 
				
			||||||
 | 
					        entry: mdformat
 | 
				
			||||||
 | 
					        language: system
 | 
				
			||||||
 | 
					        args:
 | 
				
			||||||
 | 
					          - "--number"
 | 
				
			||||||
 | 
					          - "--wrap=90"
 | 
				
			||||||
 | 
					        types:
 | 
				
			||||||
 | 
					          - markdown
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								tox.ini
									
									
									
									
									
								
							@@ -22,13 +22,15 @@ platform = linux
 | 
				
			|||||||
ignore_errors = true
 | 
					ignore_errors = true
 | 
				
			||||||
require_locked_deps = true
 | 
					require_locked_deps = true
 | 
				
			||||||
locked_deps =
 | 
					locked_deps =
 | 
				
			||||||
    pre-commit
 | 
					 | 
				
			||||||
    pre-commit-hooks
 | 
					 | 
				
			||||||
    black
 | 
					    black
 | 
				
			||||||
    blacken-docs
 | 
					    blacken-docs
 | 
				
			||||||
    reorder-python-imports
 | 
					    mdformat
 | 
				
			||||||
    pylint
 | 
					    mdformat-gfm
 | 
				
			||||||
    mypy
 | 
					    mypy
 | 
				
			||||||
 | 
					    reorder-python-imports
 | 
				
			||||||
 | 
					    pre-commit
 | 
				
			||||||
 | 
					    pre-commit-hooks
 | 
				
			||||||
 | 
					    pylint
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
    pre-commit run --all-files
 | 
					    pre-commit run --all-files
 | 
				
			||||||
    pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tox_poetry_installer/
 | 
					    pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/tox_poetry_installer/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user