Sun, 30 Mar 2025 15:23:32 +0200
Adapted the check categories to the new style.
--- a/PluginDjango.epj Sat Dec 28 16:01:22 2024 +0100 +++ b/PluginDjango.epj Sun Mar 30 15:23:32 2025 +0200 @@ -1,7 +1,7 @@ { "header": { "comment": "eric project file for project PluginDjango", - "copyright": "Copyright (C) 2024 Detlev Offenbach, detlev@die-offenbachs.de" + "copyright": "Copyright (C) 2025 Detlev Offenbach, detlev@die-offenbachs.de" }, "project": { "AUTHOR": "Detlev Offenbach", @@ -69,7 +69,7 @@ "DocstringType": "eric_black", "EnabledCheckerCategories": "C, D, E, I, L, M, NO, N, Y, U, W", "ExcludeFiles": "*/Ui_*.py, */*_rc.py", - "ExcludeMessages": "C101,E265,E266,E305,E402,M251,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,W293,W503,Y401,Y402", + "ExcludeMessages": "C-101,E-265,E-266,E-305,E-402,M-251,M-301,M-302,M-303,M-304,M-305,M-306,M-307,M-308,M-311,M-312,M-313,M-314,M-315,M-321,M-701,M-702,M-811,M-834,M-852,N-802,N-803,N-807,N-808,N-821,W-293,W-503,Y-401,Y-402", "FixCodes": "", "FixIssues": false, "FutureChecker": "", @@ -99,7 +99,7 @@ "SortIgnoringStyle": false, "SortOrder": "natural" }, - "NoFixCodes": "E501", + "NoFixCodes": "E-501", "RepeatMessages": true, "SecurityChecker": { "CheckTypedException": false,
--- a/PluginProjectDjango.py Sat Dec 28 16:01:22 2024 +0100 +++ b/PluginProjectDjango.py Sun Mar 30 15:23:32 2025 +0200 @@ -63,7 +63,7 @@ return apis -def createDjangoPage(configDlg): # noqa: U100 +def createDjangoPage(configDlg): # noqa: U-100 """ Module function to create the Django configuration page. @@ -474,4 +474,4 @@ # -# eflag: noqa = M801, U200 +# eflag: noqa = M-801, U-200
--- a/ProjectDjango/DjangoMigrationsListDialog.py Sat Dec 28 16:01:22 2024 +0100 +++ b/ProjectDjango/DjangoMigrationsListDialog.py Sun Mar 30 15:23:32 2025 +0200 @@ -128,7 +128,7 @@ self.__resizeColumns() - def __procFinished(self, exitCode, exitStatus): # noqa: U100 + def __procFinished(self, exitCode, exitStatus): # noqa: U-100 """ Private slot connected to the finished signal.
--- a/ProjectDjango/DjangoSquashMigrationSelectionDialog.py Sat Dec 28 16:01:22 2024 +0100 +++ b/ProjectDjango/DjangoSquashMigrationSelectionDialog.py Sun Mar 30 15:23:32 2025 +0200 @@ -84,7 +84,7 @@ self.__updateOkButton() @pyqtSlot(str) - def on_endMigrationComboBox_currentTextChanged(self, migration): # noqa: U100 + def on_endMigrationComboBox_currentTextChanged(self, migration): # noqa: U-100 """ Private slot handling the selection of a migration.
--- a/ProjectDjango/Project.py Sat Dec 28 16:01:22 2024 +0100 +++ b/ProjectDjango/Project.py Sun Mar 30 15:23:32 2025 +0200 @@ -2875,7 +2875,7 @@ migrationFiles = glob.glob( os.path.join( self.__ericProject.getProjectPath(), - "**/[0-9][0-9][0-9][0-9]*.py" + "**/[0-9][0-9][0-9][0-9]*.py", ), recursive=True, ) @@ -3554,7 +3554,7 @@ if res: dia.exec() - def updateCatalogs(self, filenames): # noqa: U100 + def updateCatalogs(self, filenames): # noqa: U-100 """ Public method to update the message catalogs. @@ -3589,7 +3589,7 @@ if res: dia.exec() - def updateCatalogsWithObsolete(self, filenames): # noqa: U100 + def updateCatalogsWithObsolete(self, filenames): # noqa: U-100 """ Public method to update the message catalogs keeping obsolete messages. @@ -3677,7 +3677,7 @@ if fullName.endswith(".mo"): self.__ericProject.appendFile(fullName) - def compileCatalogs(self, filenames): # noqa: U100 + def compileCatalogs(self, filenames): # noqa: U-100 """ Public method to compile the message catalogs.