server/tools: add lint script
Integrated both pylint and pycodestyle.
This commit is contained in:
		
							parent
							
								
									9aea55e3d1
								
							
						
					
					
						commit
						663aacdf82
					
				
							
								
								
									
										3
									
								
								server/lint
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								server/lint
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
pylint szurubooru
 | 
			
		||||
pycodestyle szurubooru --ignore=E128,E131,W503
 | 
			
		||||
@ -6,3 +6,4 @@ pytest>=2.9.1
 | 
			
		||||
pytest-cov>=2.2.1
 | 
			
		||||
freezegun>=0.3.6
 | 
			
		||||
coloredlogs==5.0
 | 
			
		||||
pycodestyle>=2.0.0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user