mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			INI
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
	
		
			552 B
		
	
	
	
		
			INI
		
	
	
	
	
	
|   | # Config file for running mypy on tomllib. | ||
|  | # Run mypy by invoking `mypy --config-file Lib/tomllib/mypy.ini` | ||
|  | # on the command-line from the repo root | ||
|  | 
 | ||
|  | [mypy] | ||
|  | files = Lib/tomllib | ||
|  | mypy_path = $MYPY_CONFIG_FILE_DIR/../../Misc/mypy | ||
|  | explicit_package_bases = True | ||
|  | python_version = 3.12 | ||
|  | pretty = True | ||
|  | 
 | ||
|  | # Enable most stricter settings | ||
|  | enable_error_code = ignore-without-code | ||
|  | strict = True | ||
|  | strict_bytes = True | ||
|  | local_partial_types = True | ||
|  | warn_unreachable = True | ||
|  | # TODO(@sobolevn): remove this setting and refactor any found problems | ||
|  | disallow_any_generics = False  |