Module implementing a dialog to show the results of the code style check.
None |
CodeStyleCheckerDialog | Class implementing a dialog to show the results of the code style check. |
None |
Class implementing a dialog to show the results of the code style check.
argsRole |
availableFutures |
checkCategories |
codeRole |
cryptoBitSelectionsDsaRsa |
cryptoBitSelectionsEc |
filenameRole |
fixableRole |
hasResults |
ignoredRole |
lineRole |
messageRole |
noFiles |
noResults |
positionRole |
None |
CodeStyleCheckerDialog | Constructor |
__assembleExcludeMessages | Private method to assemble the list of excluded checks. |
__batchFinished | Private slot handling the completion of a batch job. |
__cleanupData | Private method to clean the loaded/entered data of redundant entries. |
__clearErrors | Private method to clear all warning markers of open editors to be checked. |
__createErrorItem | Private slot to create a new error item in the result list. |
__createFileErrorItem | Private method to create an error entry for a given file. |
__createResultItem | Private method to create an entry in the result list. |
__finish | Private slot called when the code style check finished or the user pressed the cancel button. |
__getBuiltinsIgnoreList | Private method to get a dictionary containing the builtins assignments to be ignored. |
__getCategories | Private method to get the enabled or disabled checker categories. |
__getEol | Private method to get the applicable eol string. |
__getSelectedFixableItems | Private method to extract all selected items for fixable issues. |
__getSelectedFutureImports | Private method to get the expected future imports. |
__initBuiltinsIgnoreList | Private method to populate the list of shadowed builtins to be ignored. |
__initCategoriesList | Private method to set the enabled status of the checker categories. |
__initFuturesList | Private method to set the selected status of the future imports. |
__itemFixable | Private method to check, if an item has a fixable issue. |
__modifyFixedResultItem | Private method to modify a result list entry to show its positive fixed state. |
__modifyOptions | Private method to modify the options based on eflag: entries. |
__prepareProgress | Private method to prepare the progress tab for the next run. |
__processError | Private slot to process an error indication from the service. |
__processResult | Private slot called after perfoming a style check on one file. |
__resetStatistics | Private slot to reset the statistics data. |
__resort | Private method to resort the tree. |
__selectCodes | Private method to select message codes via a selection dialog. |
__updateFixerStatistics | Private method to update the collected fixer related statistics. |
__updateProgress | Private method to update the progress tab. |
__updateStatistics | Private method to update the collected statistics. |
check | Public method to start a style check for one file. |
checkBatch | Public method to start a style check batch job. |
on_addBuiltinButton_clicked | Private slot to add a built-in assignment to be ignored. |
on_builtinsAssignmentList_itemSelectionChanged | Private slot to react upon changes of the selected builtin assignments. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_cancelButton_clicked | Private slot to handle the "Cancel" button press. |
on_deleteBuiltinButton_clicked | Private slot to delete the selected items from the list. |
on_excludeMessagesSelectButton_clicked | Private slot to select the message codes to be excluded via a selection dialog. |
on_fixButton_clicked | Private slot to fix selected issues. |
on_fixIssuesSelectButton_clicked | Private slot to select the issue codes to be fixed via a selection dialog. |
on_includeMessagesSelectButton_clicked | Private slot to select the message codes to be included via a selection dialog. |
on_loadDefaultButton_clicked | Private slot to load the default configuration values. |
on_noFixIssuesSelectButton_clicked | Private slot to select the issue codes not to be fixed via a selection dialog. |
on_resetDefaultButton_clicked | Private slot to reset the configuration values to their default values. |
on_restartButton_clicked | Private slot to restart a code style check run. |
on_resultList_itemActivated | Private slot to handle the activation of an item. |
on_resultList_itemSelectionChanged | Private slot to change the dialog state depending on the selection. |
on_showButton_clicked | Private slot to handle the "Show" button press. |
on_startButton_clicked | Private slot to start a code style check run. |
on_statisticsButton_clicked | Private slot to show the statistics dialog. |
on_storeDefaultButton_clicked | Private slot to store the current configuration values as default values. |
prepare | Public method to prepare the dialog with a list of filenames. |
start | Public slot to start the code style check. |
None |
Constructor
Private method to assemble the list of excluded checks.
Private slot handling the completion of a batch job.
Private method to clean the loaded/entered data of redundant entries.
Private method to clear all warning markers of open editors to be checked.
Private slot to create a new error item in the result list.
Private method to create an error entry for a given file.
Private method to create an entry in the result list.
Private slot called when the code style check finished or the user pressed the cancel button.
Private method to get a dictionary containing the builtins assignments to be ignored.
Private method to get the enabled or disabled checker categories.
Private method to get the applicable eol string.
Private method to extract all selected items for fixable issues.
Private method to get the expected future imports.
Private method to populate the list of shadowed builtins to be ignored.
Private method to set the enabled status of the checker categories.
Private method to set the selected status of the future imports.
Private method to check, if an item has a fixable issue.
Private method to modify a result list entry to show its positive fixed state.
Private method to modify the options based on eflag: entries.
This method looks for comment lines like '# eflag: noqa = M601' at the end of the source in order to extend the list of excluded messages for one file only.
Private method to prepare the progress tab for the next run.
Private slot to process an error indication from the service.
Private slot called after perfoming a style check on one file.
Private slot to reset the statistics data.
Private method to resort the tree.
Private method to select message codes via a selection dialog.
Private method to update the collected fixer related statistics.
Private method to update the progress tab.
Private method to update the collected statistics.
Public method to start a style check for one file.
The results are reported to the __processResult slot.
Public method to start a style check batch job.
The results are reported to the __processResult slot.
Private slot to add a built-in assignment to be ignored.
Private slot to react upon changes of the selected builtin assignments.
Private slot called by a button of the button box clicked.
Private slot to handle the "Cancel" button press.
Private slot to delete the selected items from the list.
Private slot to select the message codes to be excluded via a selection dialog.
Private slot to fix selected issues.
Build a dictionary of issues to fix. Update the initialized __options. Then call check with the dict as keyparam to fix selected issues.
Private slot to select the issue codes to be fixed via a selection dialog.
Private slot to select the message codes to be included via a selection dialog.
Private slot to load the default configuration values.
Private slot to select the issue codes not to be fixed via a selection dialog.
Private slot to reset the configuration values to their default values.
Private slot to restart a code style check run.
Private slot to handle the activation of an item.
Private slot to change the dialog state depending on the selection.
Private slot to handle the "Show" button press.
Private slot to start a code style check run.
Private slot to show the statistics dialog.
Private slot to store the current configuration values as default values.
Public method to prepare the dialog with a list of filenames.
Public slot to start the code style check.