File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1458,16 +1458,6 @@ def set_strict_flags() -> None:
14581458
14591459 options .process_incomplete_features (error_callback = parser .error , warning_callback = print )
14601460
1461- def _bad_error_code_flags (msg : str ) -> None :
1462- raise CompileError ([msg ])
1463-
1464- # Processing error codes after plugins have loaded since plugins may
1465- # register custom error codes that we don't know about until plugins
1466- # have loaded.
1467- options ._on_plugins_loaded = lambda : options .process_error_codes (
1468- error_callback = _bad_error_code_flags
1469- )
1470-
14711461 # Compute absolute path for custom typeshed (if present).
14721462 if options .custom_typeshed_dir is not None :
14731463 options .abs_custom_typeshed_dir = os .path .abspath (options .custom_typeshed_dir )
You can’t perform that action at this time.
0 commit comments