This commit is contained in:
		
							parent
							
								
									da6339d74d
								
							
						
					
					
						commit
						135cfccd41
					
				
					 4 changed files with 18 additions and 12 deletions
				
			
		
							
								
								
									
										10
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -12,5 +12,11 @@ setup: ## Create Python virtualenv and install dependencies
 | 
			
		|||
	@if [ ! -d .venv ]; then python3 -m venv .venv; fi
 | 
			
		||||
	@if [ -d .venv ]; then . .venv/bin/activate && pip3 install -r requirements.txt; fi
 | 
			
		||||
 | 
			
		||||
check: ## Run linter, formatter and typechecks
 | 
			
		||||
	ruff check && ruff format && mypy config/master.cfg
 | 
			
		||||
check: ## Check linting, formatting and types
 | 
			
		||||
	ruff check
 | 
			
		||||
	ruff format --check
 | 
			
		||||
	mypy config/master.cfg
 | 
			
		||||
 | 
			
		||||
format: ## Autofix linting and formatting issues
 | 
			
		||||
	ruff check --fix
 | 
			
		||||
	ruff format
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue