mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-11-04 01:47:27 +03:00 
			
		
		
		
	Exclude telethon_examples/ from flake8
This commit is contained in:
		
							parent
							
								
									c3188ff0fa
								
							
						
					
					
						commit
						bdff61653a
					
				
							
								
								
									
										4
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tox.ini
									
									
									
									
									
								
							| 
						 | 
					@ -19,6 +19,6 @@ deps =
 | 
				
			||||||
    flake8
 | 
					    flake8
 | 
				
			||||||
commands =
 | 
					commands =
 | 
				
			||||||
    # stop the build if there are Python syntax errors or undefined names
 | 
					    # stop the build if there are Python syntax errors or undefined names
 | 
				
			||||||
    flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
 | 
					    flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics
 | 
				
			||||||
    # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
 | 
					    # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
 | 
				
			||||||
    flake8 . --count --exit-zero --exclude telethon/tl/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
 | 
					    flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user