diff --git a/mypy/options.py b/mypy/options.py
--- a/mypy/options.py
+++ b/mypy/options.py
@@ -456,7 +456,7 @@ def select_options_affecting_cache(self) -> Mapping[str, object]:
         result: Dict[str, object] = {}
         for opt in OPTIONS_AFFECTING_CACHE:
             val = getattr(self, opt)
-            if isinstance(val, set):
-                val = sorted(val)
+            if opt in ("disabled_error_codes", "enabled_error_codes"):
+                val = sorted([code.code for code in val])
             result[opt] = val
         return result

diff --git a/test-data/unit/check-incremental.test b/test-data/unit/check-incremental.test
--- a/test-data/unit/check-incremental.test
+++ b/test-data/unit/check-incremental.test
@@ -6012,3 +6012,13 @@ foo(name='Jennifer', age="38")
 [out]
 [out2]
 tmp/m.py:2: error: Argument "age" to "foo" has incompatible type "str"; expected "int"
+
+[case testDisableEnableErrorCodesIncremental]
+# flags: --disable-error-code truthy-bool
+# flags2: --enable-error-code truthy-bool
+def foo() -> int: ...
+if foo:
+    ...
+[out]
+[out2]
+main:4: error: Function "Callable[[], int]" could always be true in boolean context

Regression on `master`: mypy unconditionally crashes when used with `--enable-error-code` for multiple error codes
**Crash Report**

On the `master` branch, mypy unconditionally crashes if used with the command-line options `--enable-error-code ignore-without-code`. I've bisected the regression to:
- #13502

**Traceback**

```
Traceback (most recent call last):
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\alexw\coding\mypy\venv\Scripts\mypy.exe\__main__.py", line 7, in <module>
  File "C:\Users\alexw\coding\mypy\mypy\__main__.py", line 15, in console_entry
    main()
  File "C:\Users\alexw\coding\mypy\mypy\main.py", line 95, in main
    res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
  File "C:\Users\alexw\coding\mypy\mypy\main.py", line 174, in run_build
    res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 186, in build
    result = _build(
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 269, in _build
    graph = dispatch(sources, manager, stdout)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 2873, in dispatch
    process_graph(graph, manager)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 3257, in process_graph
    process_stale_scc(graph, scc, manager)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 3378, in process_stale_scc
    graph[id].write_cache()
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 2447, in write_cache
    new_interface_hash, self.meta = write_cache(
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 1639, in write_cache
    meta_str = json_dumps(meta, manager.options.debug_cache)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 1510, in json_dumps
    return json.dumps(obj, sort_keys=True)
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type ErrorCode is not JSON serializable
```

**To Reproduce**

- `cd` into a local clone of mypy, activate a local environment with an editable install of mypy.
- Checkout the `master` branch.
- Run `mypy --enable-error-code ignore-without-code` on any repository. I've reproduced it using the selfcheck (`python -m mypy --config-file mypy_self_check.ini -p mypy --enable-error-code ignore-without-code`) and also on my local clone of `flake8-pyi`, which has the `ignore-without-code` error code enabled as part of its default mypy configuration.

`--enable-error-code` also crashes with other error codes (but with different tracebacks). E.g. for `--enable-error-code no-untyped-call`, I get:

```
mypy pyi.py --enable-error-code no-untyped-call
Traceback (most recent call last):
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\alexw\coding\mypy\venv\Scripts\mypy.exe\__main__.py", line 7, in <module>
  File "C:\Users\alexw\coding\mypy\mypy\__main__.py", line 15, in console_entry
    main()
  File "C:\Users\alexw\coding\mypy\mypy\main.py", line 95, in main
    res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
  File "C:\Users\alexw\coding\mypy\mypy\main.py", line 174, in run_build
    res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 186, in build
    result = _build(
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 269, in _build
    graph = dispatch(sources, manager, stdout)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 2875, in dispatch
    process_graph(graph, manager)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 3259, in process_graph
    process_stale_scc(graph, scc, manager)
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 3380, in process_stale_scc
    graph[id].write_cache()
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 2449, in write_cache
    new_interface_hash, self.meta = write_cache(
  File "C:\Users\alexw\coding\mypy\mypy\build.py", line 1631, in write_cache
    "options": options.select_options_affecting_cache(),
  File "C:\Users\alexw\coding\mypy\mypy\options.py", line 460, in select_options_affecting_cache
    val = sorted(val)
TypeError: '<' not supported between instances of 'ErrorCode' and 'ErrorCode'
```
Yeah, I was too lazy to add an incremental test. Need to convert those codes to strings when serializing 
mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSameFileSize mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalEmpty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedClassDefinition mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBasics mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascadeWithType1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalUnsilencingModule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSimpleBranchingModules mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedBrokenCascadeWithType2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithIgnores mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithSilentImportsAndIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSimpleImportSequence mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalChangeOnly mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBadChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalRemoteErrorFixed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalImportGone mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangedError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedSubmoduleImportFromWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReplacingImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBadChangeWithSave mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedSubmoduleWithAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCallable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentBackreference mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSameNameChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalOkChangeWithSave mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSubmoduleParentBackreferenceComplex mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalStoresAliasTypeVars mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPartialInterfaceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithBlatantError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalImportIsNewlySilenced mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexDictExpression mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReferenceNewFileWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalFunctionDefinitionChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilencedModuleNoLongerCausesError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFixedBugCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexConstantExpressionNoAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalReferenceExistingFileWithImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInternalScramble mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithTypeIgnoreOnDirectImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIncidentalChangeWithBugCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithComplexConstantExpressionWithAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalMethodInterfaceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithTypeIgnoreOnImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIncidentalChangeWithBugFixCausesPropagation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithInnerImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithPartialTypeIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBaseClassChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsWithInnerImportsAndNewFile mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSmall mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNestedClasses mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCascadingChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithBasicProtocols mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalAnyIsDifferentFromIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSwitchFromNominalToStructural mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSilentImportsAndImportsInClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithDecorators mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLongBrokenCascade mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalSwitchFromStructuralToNominal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingClassAttributes mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsVariable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingFields mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsVariablePyProjectTOML mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalChangingFieldsWithAssignment mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPerFileFlags mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCheckingChangingFields mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorksWithNestedNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalClassVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesBasic mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPartialSubmoduleUpdate mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamedTupleInMethod3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalClassVarGone mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesErrorInThirdPass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedClassRef mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCachingClassVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testThreePassesThirdPassFixesError mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLoadsParentAfterChild mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBaseClassAttributeConflict mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeTypedDict mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsSilent mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFollowImportsSkip mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardNamedTupleToUnionWithOtherNamedTUple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclassInImportCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCacheDeletedAfterErrorsFound4 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefToBrokenDoubleNewTypeIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashOnDeletedWithCacheOnCmdline mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefOverloadIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeMetaclassInImportCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeAbstractPropertyIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNoCrashForwardRefOverloadIncrementalClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeAbstractPropertyDisallowUntypedIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteFile mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewTypeFromForwardNamedTupleIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashAccess mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteFileWithinCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypeAliasesForwardAnyIncremental1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalTypedDictInMethod3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashReadCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypeAliasesForwardAnyIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewTypeFromForwardTypedDictIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testClassNamesResolutionCrashReveal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardTypeAliasInBase1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNamedTupleForwardAsUpperBoundSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithSilentImports mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNewTypeInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testForwardTypeAliasInBase2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDisallowAnyExprIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInnerClassAttrInMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalStrictOptional mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInnerClassAttrInMethodReveal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSerializeRecursiveAliases3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCached mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericMethodRestoreMetaLevel mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental4 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInheritanceAddAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalThreeFiles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSelfRefNTIncremental5 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCachedConverter mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalMetaclassUpdate mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCrashWithPartialGlobalAndCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalLotsOfInheritance mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalCrashOnTypeWithFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInheritanceProperty mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterInSubmodule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassingCachedType mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testReprocessModuleEvenIfInterfaceHashDoesNotChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTreeShadowingViaParentPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithIgnoresTwice mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalArguments mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testErrorsAffectDependentsOnly mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIgnoredImport2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRegularUsesFgCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterManyStyles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeletionOfSubmoduleTriggersImportFrom2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeleteIndirectDependency mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalDunder mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFgCacheNeedsFgCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalConverterInFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportReExportInCycle mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalPackageNameOverload mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportUnusedIgnore1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalFineGrainedCacheError1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassModified mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testImportUnusedIgnore2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalThreeRuns mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDeletedDepLineNumber mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWorkingFineGrainedCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAttrsIncrementalSubclassModifiedErrorFirst mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackagePartialGetAttr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassingCached mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesThreeFiles mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnore mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassingCachedType mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesThreeRuns mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testParentPatchingMess mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsIgnorePackagePartial mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesArguments mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalBustedFineGrainedCache3 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalVarAssign mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrInitIncremental2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalVarOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesDunder mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCachedBadProtocolNote mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFinalAddFinalMethodOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrIncrementalSerializeVarFlag mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassModified mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIndirectDepsAlwaysPatched mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVar mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubs mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testModuleGetattrInitIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalDataclassesSubclassModifiedErrorFirst mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnPresent mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarAliasExisting mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarClassAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnPresentPackage mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedMissingStubsPackagePartial mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnAdded mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarExisting mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipNotInvalidatedOnAddedStubOnFollowForStubs mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByBadVarLocal mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasGeneric mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testFollowImportSkipInvalidatedOnAddedStub mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedSkippedStubsPackageFrom mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRecursiveAliasImported mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasImported mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testBadEnumLoading mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasImportedReversed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testOverrideByIdemAliasReversed mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRemovedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testConditionalExceptionAliasOverride mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testChangedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedSubStarImport mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testPluginConfigData mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalMethodNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalBrokenNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testChangedPluginsInvalidateCache2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testLiteralIncrementalTurningIntoLiteral mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNodeCreatedFromGetattr mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalBrokenNamedTupleNested mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testAddedPluginsInvalidateCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testCannotDetermineTypeFromOtherModule mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNewAnalyzerIncrementalNestedEnum mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChangeTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testRedefinitionClass mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalUnderlyingObjChang mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalIsInstanceChange mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalNoChangeSameName mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalUnreachaableToIntersection mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIsInstanceAdHocIntersectionIncrementalIntersectionToUnreachable mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testStubFixupIssues mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalIndirectSkipWarnUnused mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedNamedTuple mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamespacePackage1 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNestedTypeAlias mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testExplicitReexportImportCycleWildcard mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalNamespacePackage2 mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testMethodAliasIncremental mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testSlotsSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testEnumAreStillFinalAfterCache mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalInvalidNamedTupleInUnannotatedFunction mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalWithDifferentKindsOfNestedTypesWithinMethod mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTupleTypeUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testIncrementalAddClassMethodPlugin mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testNamedTupleUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericNamedTupleSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTypedDictUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testTypeAliasUpdateNonRecursiveToRecursiveCoarse mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testGenericTypedDictSerialization mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testUnpackKwargsSerialize
mypy/test/testcheck.py::TypeCheckSuite::check-incremental.test::testDisableEnableErrorCodesIncremental