--- a/src/eric7/Plugins/PluginCodeStyleChecker.py Wed Nov 16 10:10:06 2022 +0100 +++ b/src/eric7/Plugins/PluginCodeStyleChecker.py Wed Nov 16 10:53:40 2022 +0100 @@ -375,7 +375,7 @@ ppath = project.getProjectPath() files = [ os.path.join(ppath, file) - for file in project.pdata["SOURCES"] + for file in project.getProjectData(dataKey="SOURCES") if file.endswith(tuple(Preferences.getPython("Python3Extensions"))) ]