mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:27:07 -05:00 
			
		
		
		
	Move flake8 configuration to setup.cfg
It will be used when calling flake8 from any directory in the project
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -36,11 +36,7 @@ install: youtube-dl youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtu
 | 
				
			|||||||
	install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish
 | 
						install -m 644 youtube-dl.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dl.fish
 | 
				
			||||||
 | 
					
 | 
				
			||||||
codetest:
 | 
					codetest:
 | 
				
			||||||
	FLAKE8_OUT=$$(flake8 --ignore E501 . | grep -v youtube_dl/extractor/__init__.py); \
 | 
						flake8 .
 | 
				
			||||||
	if test -n "$$FLAKE8_OUT"; then \
 | 
					 | 
				
			||||||
		echo "$$FLAKE8_OUT"; \
 | 
					 | 
				
			||||||
		exit 1; \
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
test:
 | 
					test:
 | 
				
			||||||
	#nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test
 | 
						#nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user