16 lines
		
	
	
		
			295 B
		
	
	
	
		
			Makefile
		
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			295 B
		
	
	
	
		
			Makefile
		
	
	
	
SHELL := bash
 | 
						|
CPU_CORES := $(shell N=$$(nproc); echo $$(( $$N > 4 ? 4 : $$N )))
 | 
						|
 | 
						|
.PHONY: install lint
 | 
						|
 | 
						|
install:
 | 
						|
	poetry install --all-extras
 | 
						|
 | 
						|
lint:
 | 
						|
	poetry run pylint \
 | 
						|
		--jobs=$(CPU_CORES) \
 | 
						|
		--output-format=colorized \
 | 
						|
		--recursive=true \
 | 
						|
		--disable=C,R,W,I \
 | 
						|
		config funkwhale_api tests
 |