Enable some off-by-default checks
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I4a66dadb6cf9873d49eef48386b6b0e4fbcd3f99
This commit is contained in:
		
							
								
								
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -46,5 +46,8 @@ commands = oslo_debug_helper -t moganclient/tests {posargs} | |||||||
|  |  | ||||||
| show-source = True | show-source = True | ||||||
| ignore = E123,E125 | ignore = E123,E125 | ||||||
|  | # H106: Don’t put vim configuration in source files | ||||||
|  | # H203: Use assertIs(Not)None to check for None | ||||||
|  | enable-extensions=H106,H203 | ||||||
| builtins = _ | builtins = _ | ||||||
| exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build | exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 wangzhenyu
					wangzhenyu