Boolean (@NotNull VirtualFile file, PushedFilePropertiesUpdater propertiesUpdater) { return ReadAction.compute(() -> { if (!file.isValid() || PyModuleService.getInstance().isFileIgnored(file)) { return false; } if (file.isDirectory()) { propertiesUpdater.findAndUpdateValue( file, PythonLanguageLevelPusher.this, myLanguageLevel ); } if (myShouldSuppressSizeLimit) { SingleRootFileViewProvider.doNotCheckFileSizeLimit(file); } return true; }); }