void (@NotNull Project project) { final Map<Module, Sdk> moduleSdks = getPythonModuleSdks(project); myModuleSdks.putAll(moduleSdks); resetProjectLanguageLevel(project); updateSdkLanguageLevels(project, moduleSdks); guessLanguageLevelWithCaching(project, moduleSdks::values); }