armarx_setup.app.click
Line Column Type Object Message Symbol Message Id
Source 73 11 warning Catching too general exception Exception broad-except W0703
Source 75 8 convention Constant name "return_code" doesn't conform to UPPER_CASE naming style invalid-name C0103
armarx_setup.app.fast_config
Line Column Type Object Message Symbol Message Id
Source 26 0 warning No exception type(s) specified bare-except W0702
armarx_setup.app.lint_modules
Line Column Type Object Message Symbol Message Id
Source 11 0 convention main Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.ci
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.ci.commands
Line Column Type Object Message Symbol Message Id
Source 28 0 convention Line too long (102/100) line-too-long C0301
Source 13 0 convention ci Function name "ci" doesn't conform to snake_case naming style invalid-name C0103
Source 47 4 warning ci_workspace_create The except handler raises immediately try-except-raise W0706
Source 5 0 warning Unused complete imported from armarx_setup.cli unused-import W0611
armarx_setup.cli.ci.integration
Line Column Type Object Message Symbol Message Id
Source 21 4 convention ci_workspace_create Import outside toplevel (armarx_setup.cli.workspace.integration.create_workspace) import-outside-toplevel C0415
Source 26 8 convention ci_workspace_create.workspace_default_config_factory Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 28 18 refactor ci_workspace_create.workspace_default_config_factory Consider using {} instead of dict() use-dict-literal R1735
Source 73 8 warning ci_workspace_list_apt_packages Redefining built-in 'all' redefined-builtin W0622
Source 86 4 warning no_workspace_active Redefining name 'no_workspace_active' from outer scope (line 85) redefined-outer-name W0621
Source 85 0 convention no_workspace_active Missing function or method docstring missing-function-docstring C0116
Source 86 4 convention no_workspace_active Import outside toplevel (armarx_setup.cli.workspace.integration.no_workspace_active) import-outside-toplevel C0415
Source 8 0 warning Unused common imported from armarx_setup.cli unused-import W0611
armarx_setup.cli.common
Line Column Type Object Message Symbol Message Id
Source 24 0 convention RichConsole Missing class docstring missing-class-docstring C0115
Source 33 4 convention RichConsole.print_raw Missing function or method docstring missing-function-docstring C0116
Source 39 4 convention RichConsole.print_error_raw Missing function or method docstring missing-function-docstring C0116
Source 69 4 warning decorated_execute Redefining name 'console' from outer scope (line 13) redefined-outer-name W0621
Source 68 4 warning decorated_execute Redefining name 'axii_config' from outer scope (line 15) redefined-outer-name W0621
Source 58 0 convention decorated_execute Missing function or method docstring missing-function-docstring C0116
Source 58 0 refactor decorated_execute Too many local variables (20/15) too-many-locals R0914
Source 66 4 convention decorated_execute Import outside toplevel (rich.rule.Rule) import-outside-toplevel C0415
Source 68 4 warning decorated_execute Reimport 'config' (imported line 15) reimported W0404
Source 68 4 convention decorated_execute Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 244 0 convention format_help Missing function or method docstring missing-function-docstring C0116
Source 250 0 convention AxiiClickGroup Missing class docstring missing-class-docstring C0115
Source 259 35 convention AxiiClickGroup.get_command.edit_distance_is_deletions_only.lcs Argument name "n" doesn't conform to snake_case naming style invalid-name C0103
Source 260 16 convention AxiiClickGroup.get_command.edit_distance_is_deletions_only.lcs Variable name "L" doesn't conform to snake_case naming style invalid-name C0103
Source 275 12 convention AxiiClickGroup.get_command.edit_distance_is_deletions_only Variable name "n" doesn't conform to snake_case naming style invalid-name C0103
Source 283 8 convention AxiiClickGroup.get_command Variable name "rv" doesn't conform to snake_case naming style invalid-name C0103
Source 302 0 convention AxiiClickCommand Missing class docstring missing-class-docstring C0115
Source 332 0 convention print_logo Missing function or method docstring missing-function-docstring C0116
Source 334 4 warning print_logo Using the global statement global-statement W0603
Source 339 4 convention print_logo Import outside toplevel (armarx_setup.core.git.repo_status) import-outside-toplevel C0415
Source 382 14 warning bootstrap Redefining name 'ensure_installation' from outer scope (line 311) redefined-outer-name W0621
Source 382 48 warning bootstrap Redefining name 'print_logo' from outer scope (line 332) redefined-outer-name W0621
Source 382 0 convention bootstrap Missing function or method docstring missing-function-docstring C0116
Source 389 0 convention open_file_in_editor Missing function or method docstring missing-function-docstring C0116
Source 403 54 convention open_file_in_editor Variable name "tf" doesn't conform to snake_case naming style invalid-name C0103
Source 473 0 convention make_decorator Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.complete
Line Column Type Object Message Symbol Message Id
Source 37 0 convention Line too long (108/100) line-too-long C0301
Source 7 0 convention filter_completion Missing function or method docstring missing-function-docstring C0116
Source 11 0 convention list_modules Missing function or method docstring missing-function-docstring C0116
Source 11 17 warning list_modules Unused argument 'ctx' unused-argument W0613
Source 11 22 warning list_modules Unused argument 'param' unused-argument W0613
Source 17 0 convention list_features Missing function or method docstring missing-function-docstring C0116
Source 18 4 convention list_features Import outside toplevel (armarx_setup.core.error) import-outside-toplevel C0415
Source 17 40 warning list_features Unused argument 'param' unused-argument W0613
Source 33 0 convention list_active_features_of_module Missing function or method docstring missing-function-docstring C0116
Source 33 57 warning list_active_features_of_module Unused argument 'param' unused-argument W0613
Source 42 0 convention list_modules_in_workspace Missing function or method docstring missing-function-docstring C0116
Source 48 4 warning list_modules_in_workspace No exception type(s) specified bare-except W0702
Source 42 30 warning list_modules_in_workspace Unused argument 'ctx' unused-argument W0613
Source 42 35 warning list_modules_in_workspace Unused argument 'param' unused-argument W0613
Source 52 0 convention list_all_modules_in_workspace Missing function or method docstring missing-function-docstring C0116
Source 60 4 warning list_all_modules_in_workspace No exception type(s) specified bare-except W0702
Source 52 34 warning list_all_modules_in_workspace Unused argument 'ctx' unused-argument W0613
Source 52 39 warning list_all_modules_in_workspace Unused argument 'param' unused-argument W0613
Source 64 0 convention list_workspaces Missing function or method docstring missing-function-docstring C0116
Source 64 20 warning list_workspaces Unused argument 'ctx' unused-argument W0613
Source 64 25 warning list_workspaces Unused argument 'param' unused-argument W0613
armarx_setup.cli.config
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.config.commands
Line Column Type Object Message Symbol Message Id
Source 16 0 convention Line too long (117/100) line-too-long C0301
Source 18 0 convention Line too long (117/100) line-too-long C0301
armarx_setup.cli.config.integration
Line Column Type Object Message Symbol Message Id
Source 39 0 convention Line too long (106/100) line-too-long C0301
Source 44 0 convention Line too long (121/100) line-too-long C0301
Source 58 0 convention Line too long (102/100) line-too-long C0301
Source 13 24 warning list_config_options Unused argument 'ctx' unused-argument W0613
Source 13 29 warning list_config_options Unused argument 'param' unused-argument W0613
Source 19 35 warning list_config_option_values Unused argument 'param' unused-argument W0613
Source 27 0 convention config Missing function or method docstring missing-function-docstring C0116
Source 31 8 convention config Import outside toplevel (armarx_setup.core.error.NoWorkspaceActive) import-outside-toplevel C0415
Source 63 0 convention no_such_config_variable Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.database
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.database.commands
Line Column Type Object Message Symbol Message Id
Source 12 0 warning database Unused argument 'kwargs' unused-argument W0613
armarx_setup.cli.database.integration
Line Column Type Object Message Symbol Message Id
Source 7 0 convention list_databases Missing function or method docstring missing-function-docstring C0116
Source 8 4 convention list_databases Import outside toplevel (armarx_setup.core.module.module) import-outside-toplevel C0415
Source 7 0 warning list_databases Unused argument 'kwargs' unused-argument W0613
armarx_setup.cli.edit
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.edit.commands
Line Column Type Object Message Symbol Message Id
Source 27 4 convention edit_module_definition Import outside toplevel (armarx_setup.cli.module.integration) import-outside-toplevel C0415
Source 44 4 convention edit_workspace_config Import outside toplevel (armarx_setup.cli.workspace.integration) import-outside-toplevel C0415
armarx_setup.cli.edit.integration
Line Column Type Object Message Symbol Message Id
Source 18 4 convention edit_module_config Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 19 4 convention edit_module_config Import outside toplevel (armarx_setup.core.module.module.Module) import-outside-toplevel C0415
Source 32 8 convention edit_module_config Import outside toplevel (armarx_setup.cli.workspace.integration.get_workspace_by_name_or_active) import-outside-toplevel C0415
Source 71 4 convention edit_global_config Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 69 0 warning edit_global_config Unused argument 'kwargs' unused-argument W0613
armarx_setup.cli.module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.module.commands
Line Column Type Object Message Symbol Message Id
Source 13 0 warning module Unused argument 'kwargs' unused-argument W0613
Source 72 0 warning module_open Unused argument 'kwargs' unused-argument W0613
Source 92 0 error module_open_homepage function already defined line 78 function-redefined E0102
Source 106 0 error module_open_homepage function already defined line 78 function-redefined E0102
armarx_setup.cli.module.integration
Line Column Type Object Message Symbol Message Id
Source 14 0 convention default_module_config Missing function or method docstring missing-function-docstring C0116
Source 46 0 convention list_modules Missing function or method docstring missing-function-docstring C0116
Source 47 4 convention list_modules Import outside toplevel (armarx_setup.core.module.introspection) import-outside-toplevel C0415
Source 61 0 convention create_module Missing function or method docstring missing-function-docstring C0116
Source 62 4 convention create_module Import outside toplevel (armarx_setup.core.module.module.Module) import-outside-toplevel C0415
Source 94 9 warning create_module Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 98 0 convention show_module Missing function or method docstring missing-function-docstring C0116
Source 102 4 convention show_module Import outside toplevel (rich.rule.Rule) import-outside-toplevel C0415
Source 104 4 convention show_module Import outside toplevel (armarx_setup.core.module.context.Context) import-outside-toplevel C0415
Source 105 4 convention show_module Import outside toplevel (armarx_setup.core.util.json.remove.remove_items_if) import-outside-toplevel C0415
Source 111 8 convention show_module Import outside toplevel (json) import-outside-toplevel C0415
Source 112 8 convention show_module Import outside toplevel (dataclasses) import-outside-toplevel C0415
Source 133 0 convention print_module_readme Missing function or method docstring missing-function-docstring C0116
Source 134 4 convention print_module_readme Import outside toplevel (rich.markdown.Markdown, rich.markdown.Rule) import-outside-toplevel C0415
Source 137 4 convention print_module_readme Import outside toplevel (armarx_setup.core.util.commands.run) import-outside-toplevel C0415
Source 150 13 warning print_module_readme.look_up_readme_in_workspace Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 184 4 warning print_module_readme Else clause on loop without a break statement, remove the else and de-indent all the code inside it useless-else-on-loop W0120
Source 176 8 warning print_module_readme No exception type(s) specified bare-except W0702
Source 189 20 warning get_general_url Redefining name 'module' from outer scope (line 11) redefined-outer-name W0621
Source 189 0 convention get_general_url Missing function or method docstring missing-function-docstring C0116
Source 196 31 warning get_update_git_code_hoster Redefining name 'module' from outer scope (line 11) redefined-outer-name W0621
Source 196 0 convention get_update_git_code_hoster Missing function or method docstring missing-function-docstring C0116
Source 213 4 warning open_homepage Redefining name 'module' from outer scope (line 11) redefined-outer-name W0621
Source 207 0 convention open_homepage Missing function or method docstring missing-function-docstring C0116
Source 208 4 convention open_homepage Import outside toplevel (webbrowser) import-outside-toplevel C0415
Source 211 4 convention open_homepage Import outside toplevel (armarx_setup.core.module.update.git.GitCodeHoster) import-outside-toplevel C0415
Source 229 0 convention open_issues Missing function or method docstring missing-function-docstring C0116
Source 233 8 convention open_issues Import outside toplevel (webbrowser) import-outside-toplevel C0415
Source 241 0 convention open_merge_requests Missing function or method docstring missing-function-docstring C0116
Source 245 8 convention open_merge_requests Import outside toplevel (webbrowser) import-outside-toplevel C0415
Source 253 0 convention module_already_exists Missing function or method docstring missing-function-docstring C0116
Source 258 0 convention module_info_not_found Missing function or method docstring missing-function-docstring C0116
Source 286 0 convention no_such_module Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.self
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.self.integration
Line Column Type Object Message Symbol Message Id
Source 136 0 convention Line too long (106/100) line-too-long C0301
Source 14 0 convention install Missing function or method docstring missing-function-docstring C0116
Source 29 0 convention install_for_shell Missing function or method docstring missing-function-docstring C0116
Source 54 0 convention update Missing function or method docstring missing-function-docstring C0116
Source 55 4 convention update Import outside toplevel (armarx_setup.self) import-outside-toplevel C0415
Source 60 0 convention change_release Missing function or method docstring missing-function-docstring C0116
Source 61 4 convention change_release Import outside toplevel (armarx_setup.self) import-outside-toplevel C0415
Source 62 4 convention change_release Import outside toplevel (armarx_setup.cli.common.print_logo) import-outside-toplevel C0415
Source 72 0 convention report Missing function or method docstring missing-function-docstring C0116
Source 72 0 refactor report Too many local variables (20/15) too-many-locals R0914
Source 73 4 convention report Import outside toplevel (armarx_setup.PACKAGE_ROOT, armarx_setup.__version__) import-outside-toplevel C0415
Source 74 4 convention report Import outside toplevel (armarx_setup.core.util.commands.execute) import-outside-toplevel C0415
Source 75 4 convention report Import outside toplevel (armarx_setup.core.git.repo_status) import-outside-toplevel C0415
Source 88 8 convention report.find_venv Import outside toplevel (armarx_setup.PACKAGE_ROOT) import-outside-toplevel C0415
Source 125 4 convention report Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 72 0 refactor report Too many statements (51/50) too-many-statements R0915
Source 148 0 convention ReleaseWizard Missing class docstring missing-class-docstring C0115
Source 148 0 refactor ReleaseWizard Too many instance attributes (15/7) too-many-instance-attributes R0902
Source 151 8 convention ReleaseWizard.__init__ Import outside toplevel (armarx_setup.core.module.axii_module.axii_remote_repo) import-outside-toplevel C0415
Source 152 8 convention ReleaseWizard.__init__ Import outside toplevel (armarx_setup.__version__, armarx_setup.RELEASE_CHANNEL_STABLE, armarx_setup.RELEASE_CHANNEL_UNSTABLE, armarx_setup.PACKAGE_ROOT) import-outside-toplevel C0415
Source 179 4 convention ReleaseWizard.run Missing function or method docstring missing-function-docstring C0116
Source 197 8 convention ReleaseWizard._ensure_clean_default_repo Import outside toplevel (armarx_setup.core.git.repo_status) import-outside-toplevel C0415
Source 207 8 convention ReleaseWizard._connect_to_gitlab Import outside toplevel (gitlab) import-outside-toplevel C0415
Source 228 8 convention ReleaseWizard._fetch_maintainers Import outside toplevel (gitlab) import-outside-toplevel C0415
Source 247 8 convention ReleaseWizard._local_version_bump Import outside toplevel (importlib.reload) import-outside-toplevel C0415
Source 307 4 refactor ReleaseWizard._local_changelog_update Too many local variables (34/15) too-many-locals R0914
Source 311 8 warning ReleaseWizard._local_changelog_update Unused variable 'docs_label' unused-variable W0612
Source 315 8 warning ReleaseWizard._local_changelog_update Unused variable 'other_label' unused-variable W0612
Source 307 4 refactor ReleaseWizard._local_changelog_update Too many branches (17/12) too-many-branches R0912
Source 307 4 refactor ReleaseWizard._local_changelog_update Too many statements (79/50) too-many-statements R0915
Source 465 8 warning ReleaseWizard._commit_changelog_and_version_bump No exception type(s) specified bare-except W0702
Source 470 8 warning ReleaseWizard._commit_changelog_and_version_bump No exception type(s) specified bare-except W0702
Source 557 8 convention ReleaseWizard._open_mail Import outside toplevel (urllib.parse.quote) import-outside-toplevel C0415
Source 570 8 convention ReleaseWizard._copy_to_clipboard Import outside toplevel (subprocess) import-outside-toplevel C0415
Source 577 8 warning ReleaseWizard._copy_to_clipboard No exception type(s) specified bare-except W0702
Source 587 8 convention ReleaseWizard._execute Import outside toplevel (armarx_setup.core.util.commands.run) import-outside-toplevel C0415
Source 614 4 refactor ReleaseWizard._wait_for_pipeline_to_succeed Too many local variables (16/15) too-many-locals R0914
Source 615 8 convention ReleaseWizard._wait_for_pipeline_to_succeed Import outside toplevel (time) import-outside-toplevel C0415
Source 616 8 convention ReleaseWizard._wait_for_pipeline_to_succeed Import outside toplevel (datetime) import-outside-toplevel C0415
Source 618 8 convention ReleaseWizard._wait_for_pipeline_to_succeed Import outside toplevel (gitlab) import-outside-toplevel C0415
Source 148 0 refactor ReleaseWizard Too few public methods (1/2) too-few-public-methods R0903
Source 666 0 convention release Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.workspace
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.cli.workspace.commands
Line Column Type Object Message Symbol Message Id
Source 34 0 warning workspace Unused argument 'kwargs' unused-argument W0613
Source 141 0 convention module_specifying_options Missing function or method docstring missing-function-docstring C0116
Source 160 0 convention ignore_errors_option Missing function or method docstring missing-function-docstring C0116
armarx_setup.cli.workspace.integration
Line Column Type Object Message Symbol Message Id
Source 17 4 warning get_workspace_by_name_or_active Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 16 0 convention get_workspace_by_name_or_active Missing function or method docstring missing-function-docstring C0116
Source 19 4 refactor get_workspace_by_name_or_active Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 26 4 warning add Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 25 0 convention add Missing function or method docstring missing-function-docstring C0116
Source 33 4 warning remove Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 32 0 convention remove Missing function or method docstring missing-function-docstring C0116
Source 40 4 warning add_features Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 39 0 convention add_features Missing function or method docstring missing-function-docstring C0116
Source 47 4 warning remove_features Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 46 0 convention remove_features Missing function or method docstring missing-function-docstring C0116
Source 66 8 warning create_workspace Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 53 0 convention create_workspace Missing function or method docstring missing-function-docstring C0116
Source 67 8 convention create_workspace Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 100 4 warning create_workspace_dialog Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 98 0 convention create_workspace_dialog Missing function or method docstring missing-function-docstring C0116
Source 99 4 convention create_workspace_dialog Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 100 4 convention create_workspace_dialog Import outside toplevel (armarx_setup.core.workspace.workspace.Workspace) import-outside-toplevel C0415
Source 137 0 convention list_workspaces Missing function or method docstring missing-function-docstring C0116
Source 137 0 warning list_workspaces Unused argument 'kwargs' unused-argument W0613
Source 143 39 convention activate_workspace Argument name "cd" doesn't conform to snake_case naming style invalid-name C0103
Source 143 0 convention activate_workspace Missing function or method docstring missing-function-docstring C0116
Source 163 4 warning deactivate_workspace Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 162 0 convention deactivate_workspace Missing function or method docstring missing-function-docstring C0116
Source 162 0 warning deactivate_workspace Unused argument 'kwargs' unused-argument W0613
Source 181 4 warning which Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 180 0 convention which Missing function or method docstring missing-function-docstring C0116
Source 180 0 warning which Unused argument 'kwargs' unused-argument W0613
Source 187 4 warning auto_remove Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 186 0 convention auto_remove Missing function or method docstring missing-function-docstring C0116
Source 207 0 convention env Missing function or method docstring missing-function-docstring C0116
Source 212 0 convention system Missing function or method docstring missing-function-docstring C0116
Source 217 0 convention update Missing function or method docstring missing-function-docstring C0116
Source 222 0 convention prepare Missing function or method docstring missing-function-docstring C0116
Source 227 0 convention build Missing function or method docstring missing-function-docstring C0116
Source 232 0 convention install Missing function or method docstring missing-function-docstring C0116
Source 237 0 convention conclude Missing function or method docstring missing-function-docstring C0116
Source 242 0 convention upgrade Missing function or method docstring missing-function-docstring C0116
Source 242 0 refactor upgrade Too many local variables (25/15) too-many-locals R0914
Source 243 4 convention upgrade Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 245 4 convention upgrade Import outside toplevel (armarx_setup.core.module.common.StepResult, armarx_setup.core.module.common.StepResultStatus) import-outside-toplevel C0415
Source 246 4 convention upgrade Import outside toplevel (armarx_setup.core.util.cli.print_full_width_heading) import-outside-toplevel C0415
Source 247 4 convention upgrade Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 349 4 warning verify Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 334 0 convention verify Missing function or method docstring missing-function-docstring C0116
Source 334 0 refactor verify Too many local variables (26/15) too-many-locals R0914
Source 348 4 convention verify Import outside toplevel (rich.rule.Rule) import-outside-toplevel C0415
Source 350 4 convention verify Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 435 8 convention verify Import outside toplevel (armarx_setup.core.git) import-outside-toplevel C0415
Source 334 0 warning verify Unused argument 'kwargs' unused-argument W0613
Source 334 0 refactor verify Too many statements (87/50) too-many-statements R0915
Source 461 4 warning clean Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 460 0 convention clean Missing function or method docstring missing-function-docstring C0116
Source 469 0 convention test Missing function or method docstring missing-function-docstring C0116
Source 476 4 warning git_status Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 474 0 convention git_status Missing function or method docstring missing-function-docstring C0116
Source 475 4 convention git_status Import outside toplevel (armarx_setup.core.git) import-outside-toplevel C0415
Source 484 4 warning git_reconfigure Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 482 0 convention git_reconfigure Missing function or method docstring missing-function-docstring C0116
Source 482 0 refactor git_reconfigure Too many local variables (26/15) too-many-locals R0914
Source 483 4 convention git_reconfigure Import outside toplevel (armarx_setup.core.git) import-outside-toplevel C0415
Source 485 4 convention git_reconfigure Import outside toplevel (armarx_setup.core.util.prefix_color_map) import-outside-toplevel C0415
Source 486 4 convention git_reconfigure Import outside toplevel (rich.progress.Progress) import-outside-toplevel C0415
Source 482 0 refactor git_reconfigure Too many branches (15/12) too-many-branches R0912
Source 554 0 convention info Missing function or method docstring missing-function-docstring C0116
Source 559 0 convention purge Missing function or method docstring missing-function-docstring C0116
Source 567 8 convention purge Import outside toplevel (shutil) import-outside-toplevel C0415
Source 571 15 warning purge Catching too general exception Exception broad-except W0703
Source 585 4 warning exec_ Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 584 0 convention exec_ Missing function or method docstring missing-function-docstring C0116
Source 592 4 warning list_modules Redefining name 'console' from outer scope (line 10) redefined-outer-name W0621
Source 593 4 warning list_modules Redefining name 'Workspace' from outer scope (line 662) redefined-outer-name W0621
Source 591 0 convention list_modules Missing function or method docstring missing-function-docstring C0116
Source 592 4 warning list_modules Reimport 'console' (imported line 10) reimported W0404
Source 592 4 convention list_modules Import outside toplevel (armarx_setup.console) import-outside-toplevel C0415
Source 608 12 convention list_modules Import outside toplevel (armarx_setup.core.module.introspection) import-outside-toplevel C0415
Source 616 0 convention no_workspace_active Missing function or method docstring missing-function-docstring C0116
Source 616 24 warning no_workspace_active Unused argument 'e' unused-argument W0613
Source 645 0 convention workspace_already_exists Missing function or method docstring missing-function-docstring C0116
Source 645 29 warning workspace_already_exists Unused argument 'e' unused-argument W0613
Source 651 0 convention no_such_workspace Missing function or method docstring missing-function-docstring C0116
Source 661 4 warning Unused Module imported from armarx_setup.core.module unused-import W0611
Source 662 4 warning Unused Workspace imported from armarx_setup.core.workspace unused-import W0611
armarx_setup.core.config
Line Column Type Object Message Symbol Message Id
Source 403 0 convention Line too long (110/100) line-too-long C0301
Source 409 0 convention Line too long (101/100) line-too-long C0301
Source 512 0 convention Line too long (101/100) line-too-long C0301
Source 533 0 convention Line too long (116/100) line-too-long C0301
Source 696 0 convention Line too long (115/100) line-too-long C0301
Source 161 4 convention Config.has_variable Missing function or method docstring missing-function-docstring C0116
Source 186 0 convention Subconfig Missing class docstring missing-class-docstring C0115
Source 190 0 convention SubconfigVariable Missing class docstring missing-class-docstring C0115
Source 497 0 refactor AxiiConfig Too many instance attributes (21/7) too-many-instance-attributes R0902
Source 530 31 error AxiiConfig.__init__ unsupported operand type(s) for | unsupported-binary-operation E1131
Source 533 37 error AxiiConfig.__init__ unsupported operand type(s) for | unsupported-binary-operation E1131
Source 535 27 error AxiiConfig.__init__ unsupported operand type(s) for | unsupported-binary-operation E1131
Source 541 4 convention AxiiConfig.is_workspace_active Missing function or method docstring missing-function-docstring C0116
Source 544 4 convention AxiiConfig.get_active_workspace_name Missing function or method docstring missing-function-docstring C0116
Source 547 4 convention AxiiConfig.get_known_workspaces Missing function or method docstring missing-function-docstring C0116
Source 552 4 convention AxiiConfig.is_axii_locally_installed Missing function or method docstring missing-function-docstring C0116
Source 553 8 convention AxiiConfig.is_axii_locally_installed Import outside toplevel (sys) import-outside-toplevel C0415
Source 569 12 convention AxiiConfig.get_os_codename.parse_file_to_object Import outside toplevel (re) import-outside-toplevel C0415
Source 591 8 warning AxiiConfig.get_os_codename No exception type(s) specified bare-except W0702
Source 561 4 refactor AxiiConfig.get_os_codename Method could be a function no-self-use R0201
Source 595 4 convention AxiiConfig.load_known_workspaces Missing function or method docstring missing-function-docstring C0116
Source 599 8 warning AxiiConfig.load_known_workspaces No exception type(s) specified bare-except W0702
Source 602 4 convention AxiiConfig.store_known_workspaces Missing function or method docstring missing-function-docstring C0116
Source 606 8 warning AxiiConfig.store_known_workspaces No exception type(s) specified bare-except W0702
Source 625 4 convention AxiiConfig.store_config Missing function or method docstring missing-function-docstring C0116
Source 629 4 convention AxiiConfig.store_local_config Missing function or method docstring missing-function-docstring C0116
Source 640 4 convention AxiiConfig.create_global_config_backup Missing function or method docstring missing-function-docstring C0116
Source 643 4 convention AxiiConfig.restore_global_config_backup Missing function or method docstring missing-function-docstring C0116
Source 678 4 convention AxiiConfig.add_known_workspace Missing function or method docstring missing-function-docstring C0116
Source 682 4 convention AxiiConfig.remove_known_workspace Missing function or method docstring missing-function-docstring C0116
Source 686 4 refactor AxiiConfig._resolve_config Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 697 8 refactor AxiiConfig._resolve_config_hierarchy Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 696 4 refactor AxiiConfig._resolve_config_hierarchy Method could be a function no-self-use R0201
armarx_setup.core.error
Line Column Type Object Message Symbol Message Id
Source 169 0 convention Line too long (116/100) line-too-long C0301
Source 170 0 convention Line too long (113/100) line-too-long C0301
Source 25 5 warning TODO: Log errors. fixme W0511
Source 8 0 convention handle_exception Missing function or method docstring missing-function-docstring C0116
Source 9 4 convention handle_exception Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 28 0 convention print_exception_message Missing function or method docstring missing-function-docstring C0116
Source 29 4 convention print_exception_message Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 271 4 refactor CommandFailed.__init__ Too many arguments (7/6) too-many-arguments R0913
armarx_setup.core.git
Line Column Type Object Message Symbol Message Id
Source 14 0 convention Symbols Missing class docstring missing-class-docstring C0115
Source 22 4 convention Symbols.get_key_items Missing function or method docstring missing-function-docstring C0116
Source 14 0 refactor Symbols Too few public methods (1/2) too-few-public-methods R0903
Source 32 0 convention status Missing function or method docstring missing-function-docstring C0116
Source 32 0 refactor status Too many local variables (24/15) too-many-locals R0914
Source 39 4 convention status Import outside toplevel (rich.console.Group) import-outside-toplevel C0415
Source 40 4 convention status Import outside toplevel (rich.progress.Progress) import-outside-toplevel C0415
Source 41 4 convention status Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 42 4 convention status Import outside toplevel (rich.tree.Tree) import-outside-toplevel C0415
Source 43 4 convention status Import outside toplevel (armarx_setup.core.util.prefix_color_map) import-outside-toplevel C0415
Source 75 8 warning status.func No exception type(s) specified bare-except W0702
Source 86 20 convention status.func.add_tree Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 45 4 refactor status.func Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 112 8 convention status Import outside toplevel (concurrent.futures) import-outside-toplevel C0415
Source 131 16 warning status No exception type(s) specified bare-except W0702
Source 32 0 refactor status Too many statements (60/50) too-many-statements R0915
Source 139 0 convention RepoStatus Missing class docstring missing-class-docstring C0115
Source 173 4 convention RepoStatus.clean Missing function or method docstring missing-function-docstring C0116
Source 177 0 convention correct_workspace_configuration_issues Missing function or method docstring missing-function-docstring C0116
Source 183 4 convention correct_workspace_configuration_issues.ModuleConfigurationReport Missing class docstring missing-class-docstring C0115
Source 184 35 warning correct_workspace_configuration_issues.ModuleConfigurationReport.__init__ Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 183 4 refactor correct_workspace_configuration_issues.ModuleConfigurationReport Too few public methods (0/2) too-few-public-methods R0903
Source 193 12 warning correct_workspace_configuration_issues.func Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 201 15 warning correct_workspace_configuration_issues.func Catching too general exception Exception broad-except W0703
Source 191 4 refactor correct_workspace_configuration_issues.func Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 205 4 convention correct_workspace_configuration_issues Import outside toplevel (concurrent.futures) import-outside-toplevel C0415
Source 213 12 convention correct_workspace_configuration_issues Import outside toplevel (armarx_setup.core.module.axii_module) import-outside-toplevel C0415
Source 220 19 warning correct_workspace_configuration_issues Catching too general exception Exception broad-except W0703
Source 224 0 convention ConfigurationIssue Missing class docstring missing-class-docstring C0115
Source 248 4 convention ConfigurationIssue.to_string_problem Missing function or method docstring missing-function-docstring C0116
Source 256 4 convention ConfigurationIssue.to_string_correct Missing function or method docstring missing-function-docstring C0116
Source 267 8 warning correct_origin_url_configuration_issue Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 265 0 convention correct_origin_url_configuration_issue Missing function or method docstring missing-function-docstring C0116
Source 265 0 refactor correct_origin_url_configuration_issue Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 313 8 warning correct_default_checkout_configuration_issue Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 311 0 convention correct_default_checkout_configuration_issue Missing function or method docstring missing-function-docstring C0116
Source 311 0 refactor correct_default_checkout_configuration_issue Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 333 57 warning correct_module_configuration_issue Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 333 0 convention correct_module_configuration_issue Missing function or method docstring missing-function-docstring C0116
Source 333 0 refactor correct_module_configuration_issue Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 350 58 warning correct_module_configuration_issues Redefining name 'repo_status' from outer scope (line 394) redefined-outer-name W0621
Source 350 0 convention correct_module_configuration_issues Missing function or method docstring missing-function-docstring C0116
Source 363 0 convention repo_statuses_of_workspace Missing function or method docstring missing-function-docstring C0116
Source 378 4 warning repo_status_of_module_or_directory Redefining name 'Module' from outer scope (line 544) redefined-outer-name W0621
Source 374 0 convention repo_status_of_module_or_directory Missing function or method docstring missing-function-docstring C0116
Source 383 8 refactor repo_status_of_module_or_directory Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 394 0 convention repo_status Missing function or method docstring missing-function-docstring C0116
Source 394 0 refactor repo_status Too many local variables (29/15) too-many-locals R0914
Source 423 19 warning repo_status Catching too general exception Exception broad-except W0703
Source 441 16 warning repo_status No exception type(s) specified bare-except W0702
Source 446 16 warning repo_status No exception type(s) specified bare-except W0702
Source 454 16 convention repo_status Import outside toplevel (armarx_setup.core.util.environ_context) import-outside-toplevel C0415
Source 455 16 convention repo_status Import outside toplevel (armarx_setup.core.module.update.git.git_non_interaction_env_vars) import-outside-toplevel C0415
Source 460 20 warning repo_status No exception type(s) specified bare-except W0702
Source 485 20 refactor repo_status.is_on_default Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 501 16 refactor repo_status.is_on_default Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 512 15 error repo_status Instance of 'Exception' has no 'InvalidGitRepositoryError' member no-member E1101
Source 512 15 error repo_status Instance of 'GitError' has no 'InvalidGitRepositoryError' member no-member E1101
Source 423 12 warning repo_status Unused variable 'e' unused-variable W0612
Source 394 0 refactor repo_status Too many branches (19/12) too-many-branches R0912
Source 394 0 refactor repo_status Too many statements (87/50) too-many-statements R0915
Source 543 4 warning Unused Workspace imported from armarx_setup.core.workspace unused-import W0611
Source 544 4 warning Unused Module imported from armarx_setup.core.module unused-import W0611
armarx_setup.core.logo
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 1 0 convention make_logo Missing function or method docstring missing-function-docstring C0116
Source 4 4 convention make_logo Variable name "w" doesn't conform to snake_case naming style invalid-name C0103
Source 5 4 convention make_logo Variable name "l" doesn't conform to snake_case naming style invalid-name C0103
Source 6 4 convention make_logo Variable name "b" doesn't conform to snake_case naming style invalid-name C0103
Source 8 8 convention make_logo Variable name "l" doesn't conform to snake_case naming style invalid-name C0103
Source 9 8 convention make_logo Variable name "b" doesn't conform to snake_case naming style invalid-name C0103
Source 10 4 convention make_logo Variable name "tw" doesn't conform to snake_case naming style invalid-name C0103
Source 11 4 convention make_logo Variable name "tl" doesn't conform to snake_case naming style invalid-name C0103
Source 12 4 convention make_logo Variable name "tb" doesn't conform to snake_case naming style invalid-name C0103
Source 13 4 convention make_logo Variable name "ow" doesn't conform to snake_case naming style invalid-name C0103
Source 14 4 convention make_logo Variable name "ol" doesn't conform to snake_case naming style invalid-name C0103
Source 15 4 convention make_logo Variable name "ob" doesn't conform to snake_case naming style invalid-name C0103
Source 2 4 warning make_logo Unused variable 'slants' unused-variable W0612
Source 42 0 convention make_logo_in_panel Missing function or method docstring missing-function-docstring C0116
Source 46 4 convention make_logo_in_panel Import outside toplevel (rich.align.Align) import-outside-toplevel C0415
Source 47 4 convention make_logo_in_panel Import outside toplevel (rich.panel.Panel) import-outside-toplevel C0415
Source 48 4 convention make_logo_in_panel Import outside toplevel (rich.box) import-outside-toplevel C0415
armarx_setup.core.module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.core.module.axii_module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 15 4 convention AxiiMockModule.Ctx Missing class docstring missing-class-docstring C0115
Source 15 4 refactor AxiiMockModule.Ctx Too few public methods (0/2) too-few-public-methods R0903
Source 19 4 convention AxiiMockModule.General Missing class docstring missing-class-docstring C0115
Source 19 4 refactor AxiiMockModule.General Too few public methods (0/2) too-few-public-methods R0903
Source 24 4 convention AxiiMockModule.Git Missing class docstring missing-class-docstring C0115
Source 24 4 refactor AxiiMockModule.Git Too few public methods (0/2) too-few-public-methods R0903
Source 32 4 convention AxiiMockModule.Update Missing class docstring missing-class-docstring C0115
Source 32 4 refactor AxiiMockModule.Update Too few public methods (0/2) too-few-public-methods R0903
armarx_setup.core.module.build
Line Column Type Object Message Symbol Message Id
Source 67 0 convention Line too long (108/100) line-too-long C0301
Source 71 0 convention Line too long (114/100) line-too-long C0301
Source 73 0 convention Line too long (116/100) line-too-long C0301
Source 79 0 convention Line too long (104/100) line-too-long C0301
Source 87 0 convention Line too long (108/100) line-too-long C0301
Source 95 0 convention Line too long (119/100) line-too-long C0301
Source 96 0 convention Line too long (116/100) line-too-long C0301
Source 97 0 convention Line too long (101/100) line-too-long C0301
Source 13 0 convention clear_directory Missing function or method docstring missing-function-docstring C0116
Source 14 4 convention clear_directory Import outside toplevel (glob, shutil) import-outside-toplevel C0415
Source 14 4 convention clear_directory Multiple imports on one line (glob, shutil) multiple-imports C0410
Source 37 0 convention CMake Missing class docstring missing-class-docstring C0115
Source 94 12 refactor CMake.__call__ Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 116 4 convention CMake.clean Missing function or method docstring missing-function-docstring C0116
Source 123 0 convention Run Missing class docstring missing-class-docstring C0115
Source 125 4 convention Run.clean Missing function or method docstring missing-function-docstring C0116
Source 138 0 convention Build Missing class docstring missing-class-docstring C0115
Source 143 8 convention Build.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
Source 154 4 convention Build.clean Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.module.common
Line Column Type Object Message Symbol Message Id
Source 16 0 convention execute_command Missing function or method docstring missing-function-docstring C0116
Source 25 8 convention execute_command Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 57 0 convention resolve_path Missing function or method docstring missing-function-docstring C0116
Source 70 0 convention StepResultStatus Missing class docstring missing-class-docstring C0115
Source 78 0 convention StepResult Missing class docstring missing-class-docstring C0115
Source 88 4 convention StepResult.from_sub_steps_results Missing function or method docstring missing-function-docstring C0116
Source 118 0 convention SubStepAdapter Missing class docstring missing-class-docstring C0115
Source 139 4 convention SubStepAdapter.list_factory Missing function or method docstring missing-function-docstring C0116
Source 147 0 convention Run Missing class docstring missing-class-docstring C0115
Source 153 8 convention Run.__post_init__ Import outside toplevel (shlex) import-outside-toplevel C0415
Source 164 4 convention Run.run Missing function or method docstring missing-function-docstring C0116
Source 164 4 warning Run.run Keyword argument before variable positional arguments list in the definition of run function keyword-arg-before-vararg W1113
Source 165 8 convention Run.run Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 164 0 warning Run.run Unused argument 'args' unused-argument W0613
Source 164 0 warning Run.run Unused argument 'kwargs' unused-argument W0613
Source 185 0 convention Source Missing class docstring missing-class-docstring C0115
Source 196 8 convention Source.generate_env Variable name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 198 12 convention Source.generate_env Variable name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 205 4 warning Unused EnvFile imported from armarx_setup.core.workspace.env unused-import W0611
armarx_setup.core.module.conclude
Line Column Type Object Message Symbol Message Id
Source 12 0 convention Conclude Missing class docstring missing-class-docstring C0115
armarx_setup.core.module.context
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 convention Context Missing class docstring missing-class-docstring C0115
Source 10 4 refactor Context.__init__ Too many arguments (7/6) too-many-arguments R0913
Source 19 8 convention Context.__init__ Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 30 4 convention Context.name Missing function or method docstring missing-function-docstring C0116
Source 34 4 convention Context.name_colored Missing function or method docstring missing-function-docstring C0116
Source 38 4 convention Context.build_dir Missing function or method docstring missing-function-docstring C0116
Source 46 4 convention Context.module_info_path Missing function or method docstring missing-function-docstring C0116
Source 47 8 convention Context.module_info_path Import outside toplevel (armarx_setup.core.module.module.Module) import-outside-toplevel C0415
Source 51 4 convention Context.env Missing function or method docstring missing-function-docstring C0116
Source 73 0 convention Hook Missing class docstring missing-class-docstring C0115
Source 76 4 convention Hook.generate_requirements Missing function or method docstring missing-function-docstring C0116
Source 80 4 convention Hook.generate_env Missing function or method docstring missing-function-docstring C0116
Source 85 4 warning Hook.__call__ Keyword argument before variable positional arguments list in the definition of __call__ function keyword-arg-before-vararg W1113
Source 86 8 convention Hook.__call__ Import outside toplevel (armarx_setup.core.module.common.StepResult, armarx_setup.core.module.common.StepResultStatus) import-outside-toplevel C0415
Source 98 4 convention Hook.is_step_empty Missing function or method docstring missing-function-docstring C0116
Source 101 4 refactor Hook._get_sub_hooks Method could be a function no-self-use R0201
Source 3 0 warning Unused Dict imported from typing unused-import W0611
Source 106 4 warning Unused EnvFile imported from armarx_setup.core.workspace.env unused-import W0611
armarx_setup.core.module.general
Line Column Type Object Message Symbol Message Id
Source 12 0 convention Database Missing class docstring missing-class-docstring C0115
Source 17 0 convention Deprecated Missing class docstring missing-class-docstring C0115
Source 25 0 convention General Missing class docstring missing-class-docstring C0115
Source 43 12 convention General.__post_init__ Import outside toplevel (email.utils.parseaddr) import-outside-toplevel C0415
armarx_setup.core.module.install
Line Column Type Object Message Symbol Message Id
Source 15 0 convention CMake Missing class docstring missing-class-docstring C0115
Source 22 8 convention CMake.__call__ Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 40 0 convention Env Missing class docstring missing-class-docstring C0115
Source 46 8 convention Env.__init__ Consider iterating with .items() consider-using-dict-items C0206
Source 47 12 convention Env.__init__ Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 55 15 convention Env.generate_env Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 59 20 convention Env.generate_env Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 68 0 convention Executables Missing class docstring missing-class-docstring C0115
Source 93 0 convention Install Missing class docstring missing-class-docstring C0115
Source 101 8 convention Install.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
Source 10 0 warning Unused commands imported from armarx_setup.core.util unused-import W0611
Source 121 4 warning Unused EnvFile imported from armarx_setup.core.workspace.env unused-import W0611
armarx_setup.core.module.introspection
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 46 0 convention get_module_tree_list Missing function or method docstring missing-function-docstring C0116
Source 5 0 warning Unused Module imported from armarx_setup.core.module unused-import W0611
armarx_setup.core.module.module
Line Column Type Object Message Symbol Message Id
Source 138 0 convention Line too long (119/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 35 0 convention Dependency Missing class docstring missing-class-docstring C0115
Source 41 0 convention Module Missing class docstring missing-class-docstring C0115
Source 41 0 refactor Module Too many instance attributes (11/7) too-many-instance-attributes R0902
Source 104 4 convention Module.load_info Missing function or method docstring missing-function-docstring C0116
Source 131 12 refactor Module._load_module_data Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 153 4 convention Module.get_info_path Missing function or method docstring missing-function-docstring C0116
Source 168 4 convention Module.emulate_system_packages_apt_module Missing function or method docstring missing-function-docstring C0116
Source 178 4 convention Module.emulate_system_packages_flatpak_module Missing function or method docstring missing-function-docstring C0116
Source 193 4 convention Module.get_all_module_names Missing function or method docstring missing-function-docstring C0116
Source 196 8 convention Module.get_all_module_names Import outside toplevel (glob) import-outside-toplevel C0415
Source 214 4 convention Module.get_database_module Missing function or method docstring missing-function-docstring C0116
Source 234 4 convention Module.get_similar_module_names Missing function or method docstring missing-function-docstring C0116
Source 241 12 convention Module.get_similar_module_names Import outside toplevel (thefuzz.fuzz) import-outside-toplevel C0415
Source 252 4 convention Module.get_phases Missing function or method docstring missing-function-docstring C0116
Source 255 4 convention Module.is_system_module Missing function or method docstring missing-function-docstring C0116
Source 260 4 convention Module.say_num_packages_are_installed Missing function or method docstring missing-function-docstring C0116
Source 264 4 convention Module.clean Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.module.prepare
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.core.module.prepare.cmake
Line Column Type Object Message Symbol Message Id
Source 67 0 convention Line too long (119/100) line-too-long C0301
Source 68 0 convention Line too long (107/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 13 0 convention CMake Missing class docstring missing-class-docstring C0115
Source 93 4 convention CMake.get_cmake_package_dir_var Missing function or method docstring missing-function-docstring C0116
Source 96 4 convention CMake.test Missing function or method docstring missing-function-docstring C0116
Source 96 4 refactor CMake.test Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
armarx_setup.core.module.prepare.extract
Line Column Type Object Message Symbol Message Id
Source 106 0 refactor Disallow trailing comma tuple trailing-comma-tuple R1707
Source 18 0 convention Extract Missing class docstring missing-class-docstring C0115
Source 56 4 convention Extract.extract_file Missing function or method docstring missing-function-docstring C0116
Source 79 4 convention Extract.extract_tar Missing function or method docstring missing-function-docstring C0116
Source 95 4 convention Extract.extract_xz Missing function or method docstring missing-function-docstring C0116
Source 127 8 warning Extract.extract_xz No exception type(s) specified bare-except W0702
Source 122 92 convention Extract.extract_xz Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 137 4 convention Extract.extract_zip Missing function or method docstring missing-function-docstring C0116
Source 149 4 convention Extract.extract_deb Missing function or method docstring missing-function-docstring C0116
Source 190 12 convention Extract._check_flag_file.fromisoformat Variable name "dt" doesn't conform to snake_case naming style invalid-name C0103
Source 190 19 convention Extract._check_flag_file.fromisoformat Variable name "us" doesn't conform to snake_case naming style invalid-name C0103
Source 191 12 convention Extract._check_flag_file.fromisoformat Variable name "dt" doesn't conform to snake_case naming style invalid-name C0103
Source 192 12 convention Extract._check_flag_file.fromisoformat Variable name "us" doesn't conform to snake_case naming style invalid-name C0103
armarx_setup.core.module.prepare.prepare
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 13 0 convention Prepare Missing class docstring missing-class-docstring C0115
Source 20 8 convention Prepare.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
Source 33 4 convention Prepare.test Missing function or method docstring missing-function-docstring C0116
Source 33 4 refactor Prepare.test Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
armarx_setup.core.module.prepare.python
Line Column Type Object Message Symbol Message Id
Source 105 0 convention Line too long (114/100) line-too-long C0301
Source 258 0 convention Line too long (111/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 10 0 convention Makefile Missing class docstring missing-class-docstring C0115
Source 52 4 convention Makefile.fill_template Missing function or method docstring missing-function-docstring C0116
Source 52 4 refactor Makefile.fill_template Too many arguments (10/6) too-many-arguments R0913
Source 92 4 convention Makefile.make_install_lines Missing function or method docstring missing-function-docstring C0116
Source 104 4 convention Makefile.make_install_flags_line Missing function or method docstring missing-function-docstring C0116
Source 109 0 convention SetupPyFile Missing class docstring missing-class-docstring C0115
Source 126 4 convention SetupPyFile.fill_template Missing function or method docstring missing-function-docstring C0116
Source 109 0 refactor SetupPyFile Too few public methods (1/2) too-few-public-methods R0903
Source 134 0 convention PythonPackage Missing class docstring missing-class-docstring C0115
Source 147 4 refactor PythonPackage.__call__ Too many local variables (19/15) too-many-locals R0914
Source 152 8 convention PythonPackage.__call__ Import outside toplevel (armarx_setup.console) import-outside-toplevel C0415
Source 220 4 convention PythonPackage.generate_and_write_setup_py Missing function or method docstring missing-function-docstring C0116
Source 229 4 convention PythonPackage.test Missing function or method docstring missing-function-docstring C0116
Source 233 4 convention PythonPackage.find_manifest_file Missing function or method docstring missing-function-docstring C0116
Source 241 0 convention Python Missing class docstring missing-class-docstring C0115
Source 245 8 convention Python.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
Source 255 4 convention Python.clean_venvs Missing function or method docstring missing-function-docstring C0116
Source 256 8 convention Python.clean_venvs Import outside toplevel (shutil) import-outside-toplevel C0415
Source 269 4 convention Python.test Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.module.prepare.run
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 7 0 convention Run Missing class docstring missing-class-docstring C0115
Source 9 4 convention Run.test Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.module.system
Line Column Type Object Message Symbol Message Id
Source 15 0 convention Run Missing class docstring missing-class-docstring C0115
Source 32 4 convention Run.run_command Missing function or method docstring missing-function-docstring C0116
Source 60 16 warning Run.run_script Redefining name 'common' from outer scope (line 9) redefined-outer-name W0621
Source 40 4 convention Run.run_script Missing function or method docstring missing-function-docstring C0116
Source 51 16 convention Run.run_script Import outside toplevel (rich.panel.Panel) import-outside-toplevel C0415
Source 52 21 warning Run.run_script Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 60 16 warning Run.run_script Reimport 'common' (imported line 9) reimported W0404
Source 60 16 convention Run.run_script Import outside toplevel (armarx_setup.cli.common) import-outside-toplevel C0415
Source 75 0 convention Packages Missing class docstring missing-class-docstring C0115
Source 79 4 convention Packages.check_apt_packages Missing function or method docstring missing-function-docstring C0116
Source 80 8 convention Packages.check_apt_packages Import outside toplevel (armarx_setup.core.util.system) import-outside-toplevel C0415
Source 84 23 error Packages.check_apt_packages Non-iterable value self.apt is used in an iterating context not-an-iterable E1133
Source 91 4 convention Packages.check_flatpak_packages Missing function or method docstring missing-function-docstring C0116
Source 92 8 convention Packages.check_flatpak_packages Import outside toplevel (armarx_setup.core.util.system) import-outside-toplevel C0415
Source 96 32 error Packages.check_flatpak_packages Instance of 'Field' has no 'items' member no-member E1101
Source 111 0 convention Env Missing class docstring missing-class-docstring C0115
Source 117 8 convention Env.__init__ Consider iterating with .items() consider-using-dict-items C0206
Source 118 12 convention Env.__init__ Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 126 15 convention Env.generate_env Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 131 0 convention System Missing class docstring missing-class-docstring C0115
Source 146 4 convention System.check_apt_packages Missing function or method docstring missing-function-docstring C0116
Source 154 23 convention System.check_apt_packages Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 155 20 error System.check_apt_packages 'result' does not support item assignment unsupported-assignment-operation E1137
Source 159 4 convention System.check_flatpak_packages Missing function or method docstring missing-function-docstring C0116
Source 167 23 convention System.check_flatpak_packages Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 168 20 error System.check_flatpak_packages 'result' does not support item assignment unsupported-assignment-operation E1137
Source 11 0 warning Unused cli imported from armarx_setup.core.util unused-import W0611
Source 174 4 warning Unused EnvFile imported from armarx_setup.core.workspace.env unused-import W0611
armarx_setup.core.module.update
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.core.module.update.download
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 12 0 convention Download Missing class docstring missing-class-docstring C0115
Source 37 4 convention Download.download_file Missing function or method docstring missing-function-docstring C0116
Source 82 8 refactor Download.download_file Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 106 4 convention Download.get_actual_md5_checksum Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.module.update.git
Line Column Type Object Message Symbol Message Id
Source 21 0 convention GitCodeHoster Missing class docstring missing-class-docstring C0115
Source 24 4 convention GitCodeHoster.domain Missing function or method docstring missing-function-docstring C0116
Source 28 4 convention GitCodeHoster.home_url Missing function or method docstring missing-function-docstring C0116
Source 32 4 convention GitCodeHoster.ssh_clone_url Missing function or method docstring missing-function-docstring C0116
Source 36 4 convention GitCodeHoster.https_clone_url Missing function or method docstring missing-function-docstring C0116
Source 40 4 convention GitCodeHoster.issues_url Missing function or method docstring missing-function-docstring C0116
Source 44 4 convention GitCodeHoster.merge_requests_url Missing function or method docstring missing-function-docstring C0116
Source 49 0 convention GitLab Missing class docstring missing-class-docstring C0115
Source 68 4 convention GitLab.new_issue_url Missing function or method docstring missing-function-docstring C0116
Source 74 4 convention GitLab.releases_url Missing function or method docstring missing-function-docstring C0116
Source 79 0 convention GitLabCom Missing class docstring missing-class-docstring C0115
Source 84 0 convention H2TGitLab Missing class docstring missing-class-docstring C0115
Source 89 0 convention GitHub Missing class docstring missing-class-docstring C0115
Source 112 0 convention Git Missing class docstring missing-class-docstring C0115
Source 157 4 warning Git.__call__ Variadics removed in overridden 'Git.__call__' method arguments-differ W0221
Source 166 0 warning Git.clone Unused argument 'kwargs' unused-argument W0613
Source 233 8 convention Git.pull Import outside toplevel (git) import-outside-toplevel C0415
Source 230 0 warning Git.pull Unused argument 'kwargs' unused-argument W0613
Source 230 4 refactor Git.pull Too many branches (14/12) too-many-branches R0912
Source 303 4 convention Git.get_detached_head_state Missing function or method docstring missing-function-docstring C0116
Source 303 4 refactor Git.get_detached_head_state Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 334 4 convention Git.update_ignore_patterns Missing function or method docstring missing-function-docstring C0116
Source 359 27 error Git.update_ignore_patterns Non-iterable value self.ignore_patterns is used in an iterating context not-an-iterable E1133
armarx_setup.core.module.update.update
Line Column Type Object Message Symbol Message Id
Source 17 0 convention Archive Missing class docstring missing-class-docstring C0115
Source 19 4 convention Archive.Extract Missing class docstring missing-class-docstring C0115
Source 19 4 refactor Archive.Extract Too few public methods (0/2) too-few-public-methods R0903
Source 33 12 convention Archive.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass) import-outside-toplevel C0415
Source 37 4 convention Archive.expanded_url Missing function or method docstring missing-function-docstring C0116
Source 44 4 convention Archive.expanded_extract_into Missing function or method docstring missing-function-docstring C0116
Source 51 4 convention Archive.archive_filename Missing function or method docstring missing-function-docstring C0116
Source 55 4 convention Archive.archive_filepath Missing function or method docstring missing-function-docstring C0116
Source 76 12 warning Archive.__call__ Unused variable 'e' unused-variable W0612
Source 97 4 convention Archive.download Missing function or method docstring missing-function-docstring C0116
Source 112 4 convention Archive.do_extract Missing function or method docstring missing-function-docstring C0116
Source 121 17 convention Archive.do_extract Variable name "fn" doesn't conform to snake_case naming style invalid-name C0103
Source 139 8 refactor Archive.do_extract Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 146 4 convention Archive.extract_tar Missing function or method docstring missing-function-docstring C0116
Source 147 8 convention Archive.extract_tar Import outside toplevel (tarfile) import-outside-toplevel C0415
Source 154 4 convention Archive.extract_zip Missing function or method docstring missing-function-docstring C0116
Source 155 8 convention Archive.extract_zip Import outside toplevel (zipfile) import-outside-toplevel C0415
Source 159 4 convention Archive.extract_deb Missing function or method docstring missing-function-docstring C0116
Source 162 8 warning Archive.extract_deb No exception type(s) specified bare-except W0702
Source 168 4 convention Archive.matches_extension Missing function or method docstring missing-function-docstring C0116
Source 169 8 refactor Archive.matches_extension Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 180 0 convention Archives Missing class docstring missing-class-docstring C0115
Source 184 8 convention Archives.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
Source 219 0 convention Update Missing class docstring missing-class-docstring C0115
Source 226 8 convention Update.__post_init__ Import outside toplevel (armarx_setup.core.util.dataclass.sanitize_type) import-outside-toplevel C0415
armarx_setup.core.module_graph
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.core.module_graph.module_graph
Line Column Type Object Message Symbol Message Id
Source 28 0 convention Line too long (112/100) line-too-long C0301
Source 93 0 convention Line too long (120/100) line-too-long C0301
Source 98 0 convention Line too long (118/100) line-too-long C0301
Source 102 0 convention Line too long (112/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 12 0 convention ModuleGraph Missing class docstring missing-class-docstring C0115
Source 18 4 convention ModuleGraph.from_modules Missing function or method docstring missing-function-docstring C0116
Source 64 4 convention ModuleGraph.add_module Missing function or method docstring missing-function-docstring C0116
Source 64 4 refactor ModuleGraph.add_module Too many branches (18/12) too-many-branches R0912
Source 122 4 convention ModuleGraph.add_dependencies Missing function or method docstring missing-function-docstring C0116
Source 134 4 convention ModuleGraph.get_module_with_name Missing function or method docstring missing-function-docstring C0116
Source 139 12 warning ModuleGraph.get_module_with_name Consider explicitly re-raising using the 'from' keyword raise-missing-from W0707
Source 143 4 convention ModuleGraph.get_dependency_chain Missing function or method docstring missing-function-docstring C0116
Source 146 4 convention ModuleGraph.get_dependency_chain_to_module Missing function or method docstring missing-function-docstring C0116
Source 165 4 convention ModuleGraph.layouts Missing function or method docstring missing-function-docstring C0116
Source 167 22 refactor ModuleGraph.layouts Consider using {} instead of dict() use-dict-literal R1735
Source 170 42 refactor ModuleGraph.layouts.mutlipartite Consider using {} instead of dict() use-dict-literal R1735
Source 171 20 convention ModuleGraph.layouts.mutlipartite Variable name "n" doesn't conform to snake_case naming style invalid-name C0103
Source 176 23 error ModuleGraph.layouts.mutlipartite Module 'networkx' has no 'layout' member no-member E1101
Source 171 20 warning ModuleGraph.layouts.mutlipartite Unused variable 'n' unused-variable W0612
Source 180 32 warning ModuleGraph.layouts. Lambda may not be necessary unnecessary-lambda W0108
Source 181 31 warning ModuleGraph.layouts. Lambda may not be necessary unnecessary-lambda W0108
Source 182 34 warning ModuleGraph.layouts. Lambda may not be necessary unnecessary-lambda W0108
Source 183 32 warning ModuleGraph.layouts. Lambda may not be necessary unnecessary-lambda W0108
Source 189 12 convention ModuleGraph.layouts Import outside toplevel (networkx.drawing.nx_agraph.graphviz_layout) import-outside-toplevel C0415
Source 195 4 convention ModuleGraph.visualize Missing function or method docstring missing-function-docstring C0116
Source 196 8 convention ModuleGraph.visualize Import outside toplevel (plotting.plot) import-outside-toplevel C0415
Source 199 4 convention ModuleGraph.filter_hidden_modules Missing function or method docstring missing-function-docstring C0116
Source 202 4 convention ModuleGraph.is_hidden_module Missing function or method docstring missing-function-docstring C0116
Source 211 4 convention ModuleGraph.find_module_explaining_path Missing function or method docstring missing-function-docstring C0116
Source 226 16 warning ModuleGraph.find_module_explaining_path Unused variable 'name' unused-variable W0612
Source 166 11 error ModuleGraph.layouts Access to member '_layouts' before its definition line 192 access-member-before-definition E0203
Source 192 12 warning ModuleGraph.layouts Attribute '_layouts' defined outside __init__ attribute-defined-outside-init W0201
Source 3 0 convention standard import "import typing as ty" should be placed before "import networkx as nx" wrong-import-order C0411
Source 5 0 convention standard import "from typing import Dict, Iterable, Optional, Union" should be placed before "import networkx as nx" wrong-import-order C0411
armarx_setup.core.module_graph.plotting
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 11 0 convention mutlipartite Missing function or method docstring missing-function-docstring C0116
Source 12 4 convention mutlipartite Import outside toplevel (os) import-outside-toplevel C0415
Source 14 30 refactor mutlipartite Consider using {} instead of dict() use-dict-literal R1735
Source 15 8 convention mutlipartite Variable name "n" doesn't conform to snake_case naming style invalid-name C0103
Source 21 11 error mutlipartite Module 'networkx' has no 'layout' member no-member E1101
Source 15 8 warning mutlipartite Unused variable 'n' unused-variable W0612
Source 24 0 convention graphviz Missing function or method docstring missing-function-docstring C0116
Source 29 4 convention graphviz Import outside toplevel (networkx.drawing.nx_agraph.graphviz_layout) import-outside-toplevel C0415
Source 40 0 convention layout_to_nx Missing function or method docstring missing-function-docstring C0116
Source 50 0 convention igraph_dag Missing function or method docstring missing-function-docstring C0116
Source 51 4 convention igraph_dag Import outside toplevel (igraph) import-outside-toplevel C0415
Source 60 0 convention igraph_tree Missing function or method docstring missing-function-docstring C0116
Source 61 4 convention igraph_tree Import outside toplevel (igraph) import-outside-toplevel C0415
Source 80 0 convention igraph_test Missing function or method docstring missing-function-docstring C0116
Source 81 4 convention igraph_test Import outside toplevel (igraph) import-outside-toplevel C0415
Source 105 0 convention make_layout_fns Missing function or method docstring missing-function-docstring C0116
Source 106 14 refactor make_layout_fns Consider using {} instead of dict() use-dict-literal R1735
Source 111 24 warning make_layout_fns. Lambda may not be necessary unnecessary-lambda W0108
Source 112 23 warning make_layout_fns. Lambda may not be necessary unnecessary-lambda W0108
Source 113 26 warning make_layout_fns. Lambda may not be necessary unnecessary-lambda W0108
Source 114 24 warning make_layout_fns. Lambda may not be necessary unnecessary-lambda W0108
Source 126 0 convention import_error_msg Missing function or method docstring missing-function-docstring C0116
Source 132 8 warning plot Redefining built-in 'all' redefined-builtin W0622
Source 130 0 convention plot Missing function or method docstring missing-function-docstring C0116
Source 130 0 refactor plot Too many local variables (34/15) too-many-locals R0914
Source 138 8 convention plot Import outside toplevel (matplotlib.pyplot) import-outside-toplevel C0415
Source 139 8 convention plot Import outside toplevel (PyQt5) import-outside-toplevel C0415
Source 145 4 convention plot Variable name "ax" doesn't conform to snake_case naming style invalid-name C0103
Source 146 9 convention plot Variable name "ax" doesn't conform to snake_case naming style invalid-name C0103
Source 169 8 convention plot Import outside toplevel (networkx.algorithms.dag.transitive_reduction) import-outside-toplevel C0415
Source 176 12 convention plot Import outside toplevel (numpy) import-outside-toplevel C0415
Source 182 17 convention plot Variable name "u" doesn't conform to snake_case naming style invalid-name C0103
Source 182 20 convention plot Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 187 12 convention plot Import outside toplevel (matplotlib.cm.get_cmap) import-outside-toplevel C0415
Source 197 8 convention plot Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_color) import-outside-toplevel C0415
Source 229 15 warning plot Catching too general exception Exception broad-except W0703
Source 242 8 convention plot Variable name "n" doesn't conform to snake_case naming style invalid-name C0103
Source 246 12 convention plot Import outside toplevel (textwrap) import-outside-toplevel C0415
Source 139 8 warning plot Unused import PyQt5 unused-import W0611
Source 130 0 refactor plot Too many branches (22/12) too-many-branches R0912
Source 130 0 refactor plot Too many statements (79/50) too-many-statements R0915
Source 259 4 convention test Missing function or method docstring missing-function-docstring C0116
Source 260 8 convention test Import outside toplevel (os) import-outside-toplevel C0415
Source 263 8 warning test Unused variable 'graph' unused-variable W0612
armarx_setup.core.repository
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 10 0 convention Repository Missing class docstring missing-class-docstring C0115
Source 22 4 convention Repository.make_example Missing function or method docstring missing-function-docstring C0116
Source 10 0 refactor Repository Too few public methods (1/2) too-few-public-methods R0903
Source 2 0 warning Unused import os unused-import W0611
Source 3 0 warning Unused Tuple imported from typing unused-import W0611
Source 5 0 warning Unused console imported from armarx_setup unused-import W0611
Source 6 0 warning Unused EnvironContext imported from armarx_setup.core.util.environ_context unused-import W0611
armarx_setup.core.util.cli
Line Column Type Object Message Symbol Message Id
Source 52 0 convention Line too long (124/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 14 4 convention Console.print Missing function or method docstring missing-function-docstring C0116
Source 18 4 convention Console.print_error Missing function or method docstring missing-function-docstring C0116
Source 22 4 convention Console.print_exception Missing function or method docstring missing-function-docstring C0116
Source 38 8 convention StdConsole.print_exception Import outside toplevel (traceback) import-outside-toplevel C0415
Source 43 0 convention print_full_width_heading Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.commands
Line Column Type Object Message Symbol Message Id
Source 141 4 convention OutputStreamBuffers.print_stdout Missing function or method docstring missing-function-docstring C0116
Source 144 4 convention OutputStreamBuffers.print_stderr Missing function or method docstring missing-function-docstring C0116
Source 147 4 convention OutputStreamBuffers.get_stdout Missing function or method docstring missing-function-docstring C0116
Source 150 4 convention OutputStreamBuffers.get_stderr Missing function or method docstring missing-function-docstring C0116
Source 153 4 convention OutputStreamBuffers.buffer_or_print Missing function or method docstring missing-function-docstring C0116
Source 159 4 convention OutputStreamBuffers.buffer_or_print_stdout Missing function or method docstring missing-function-docstring C0116
Source 162 4 convention OutputStreamBuffers.buffer_or_print_stderr Missing function or method docstring missing-function-docstring C0116
Source 210 4 convention PseudoTerminals.std_streams_to_dict Missing function or method docstring missing-function-docstring C0116
Source 217 4 convention PseudoTerminals.stdin Missing function or method docstring missing-function-docstring C0116
Source 220 4 convention PseudoTerminals.close_slaves Missing function or method docstring missing-function-docstring C0116
Source 224 4 convention PseudoTerminals.close_masters Missing function or method docstring missing-function-docstring C0116
Source 228 4 convention PseudoTerminals.get_readables Missing function or method docstring missing-function-docstring C0116
Source 234 4 convention PseudoTerminals.is_stdout Missing function or method docstring missing-function-docstring C0116
Source 237 4 convention PseudoTerminals.is_stderr Missing function or method docstring missing-function-docstring C0116
Source 366 0 convention strip_ansi Missing function or method docstring missing-function-docstring C0116
Source 371 0 convention run Missing function or method docstring missing-function-docstring C0116
Source 387 13 warning run Using subprocess.run without explicitly set `check` is not recommended. subprocess-run-check W1510
Source 371 0 refactor run Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
armarx_setup.core.util.dataclass
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 5 0 convention sanitize_type Missing function or method docstring missing-function-docstring C0116
Source 6 4 refactor sanitize_type Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 9 8 refactor sanitize_type Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 14 27 refactor sanitize_type Consider using {} instead of dict() use-dict-literal R1735
Source 5 0 refactor sanitize_type Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 17 0 convention sanitize_steps_type Missing function or method docstring missing-function-docstring C0116
Source 18 4 refactor sanitize_steps_type Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 25 12 convention sanitize_steps_type Import outside toplevel (armarx_setup.console) import-outside-toplevel C0415
Source 24 8 warning sanitize_steps_type Unused variable 'e' unused-variable W0612
Source 30 0 convention sanitize_steps Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.environ_context
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 warning expand_vars "consider_escapes, default_value" missing in parameter documentation missing-param-doc W9015
Source 44 0 convention shell_expand_vars Missing function or method docstring missing-function-docstring C0116
Source 48 0 convention EnvironContext Missing class docstring missing-class-docstring C0115
Source 94 4 convention EnvironContext.print_env_dict Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.json
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
armarx_setup.core.util.json.comments
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 convention is_comment Missing function or method docstring missing-function-docstring C0116
Source 12 0 convention is_not_comment Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.json.core
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 6 0 convention make_axii_special_key Missing function or method docstring missing-function-docstring C0116
Source 10 0 convention is_axii_special_key Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.json.extend
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention extend Missing function or method docstring missing-function-docstring C0116
Source 9 4 refactor extend Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 19 15 convention extend Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
armarx_setup.core.util.json.io
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 10 0 convention load Missing function or method docstring missing-function-docstring C0116
Source 16 9 warning load Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 20 12 warning load Consider explicitly re-raising using the 'from' keyword raise-missing-from W0707
Source 33 0 convention store Missing function or method docstring missing-function-docstring C0116
Source 39 9 warning store Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 44 0 convention without_null Missing function or method docstring missing-function-docstring C0116
Source 47 4 refactor without_null Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
armarx_setup.core.util.json.module_lint
Line Column Type Object Message Symbol Message Id
Source 9 0 error Unable to import 'json_source_map' import-error E0401
Source 15 0 convention md5 Missing function or method docstring missing-function-docstring C0116
Source 20 0 convention Issue Missing class docstring missing-class-docstring C0115
Source 20 0 refactor Issue Too few public methods (0/2) too-few-public-methods R0903
Source 35 0 convention ModuleLinter Missing class docstring missing-class-docstring C0115
Source 52 4 convention ModuleLinter.lint Missing function or method docstring missing-function-docstring C0116
Source 69 4 convention ModuleLinter.lint_sections Missing function or method docstring missing-function-docstring C0116
Source 78 4 convention ModuleLinter.lint_new_lines Missing function or method docstring missing-function-docstring C0116
Source 101 4 convention ModuleLinter.lint_sections_order Missing function or method docstring missing-function-docstring C0116
Source 128 4 convention ModuleLinter.lint_general_section Missing function or method docstring missing-function-docstring C0116
Source 138 4 convention ModuleLinter.lint_general_section_contents Missing function or method docstring missing-function-docstring C0116
Source 155 12 convention ModuleLinter.lint_general_section_contents Import outside toplevel (email.utils.parseaddr) import-outside-toplevel C0415
Source 170 4 convention ModuleLinter.lint_install_section Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.json.remove
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 16 17 warning remove_items_if.keep_all Unused argument 'item' unused-argument W0613
Source 32 4 refactor remove_items_if Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
armarx_setup.core.util.json.switch
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 38 8 refactor resolve_switch Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 47 21 refactor resolve_switch Consider using {} instead of dict() use-dict-literal R1735
Source 48 19 convention resolve_switch Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 51 16 convention resolve_switch Variable name "v" doesn't conform to snake_case naming style invalid-name C0103
Source 4 0 refactor resolve_switch Too many branches (13/12) too-many-branches R0912
armarx_setup.core.util.json.switch_arch
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 9 0 convention ArchInfo Missing class docstring missing-class-docstring C0115
Source 9 0 refactor ArchInfo Too few public methods (0/2) too-few-public-methods R0903
Source 23 0 convention get_arch_info Missing function or method docstring missing-function-docstring C0116
Source 24 4 warning get_arch_info Using the global statement global-statement W0603
Source 24 4 convention get_arch_info Constant name "arch_info" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 27 8 convention get_arch_info Import outside toplevel (platform) import-outside-toplevel C0415
Source 34 0 convention resolve_switch_arch Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.json.switch_os
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 9 0 convention OsInfo Missing class docstring missing-class-docstring C0115
Source 20 4 convention OsInfo.create_from_dict Missing function or method docstring missing-function-docstring C0116
Source 9 0 refactor OsInfo Too few public methods (1/2) too-few-public-methods R0903
Source 30 0 convention get_os_info Missing function or method docstring missing-function-docstring C0116
Source 31 4 warning get_os_info Using the global statement global-statement W0603
Source 31 4 convention get_os_info Constant name "os_info" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 34 8 convention get_os_info Import outside toplevel (distro) import-outside-toplevel C0415
Source 41 0 convention resolve_switch_os Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.util.prefix_color_map
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 224 0 convention prefix_to_color Missing function or method docstring missing-function-docstring C0116
Source 238 0 convention module_to_color Missing function or method docstring missing-function-docstring C0116
Source 244 0 convention module_to_colored_text Missing function or method docstring missing-function-docstring C0116
Source 250 0 convention modules_to_colored_text Missing function or method docstring missing-function-docstring C0116
Source 260 4 warning Unused Module imported from armarx_setup.core.module unused-import W0611
armarx_setup.core.util.profile
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 1 0 convention profile_start Missing function or method docstring missing-function-docstring C0116
Source 2 4 convention profile_start Import outside toplevel (cProfile) import-outside-toplevel C0415
Source 3 4 convention profile_start Variable name "pr" doesn't conform to snake_case naming style invalid-name C0103
Source 8 16 convention profile_end Argument name "pr" doesn't conform to snake_case naming style invalid-name C0103
Source 8 0 convention profile_end Missing function or method docstring missing-function-docstring C0116
Source 9 4 convention profile_end Import outside toplevel (pstats) import-outside-toplevel C0415
Source 10 4 convention profile_end Import outside toplevel (io) import-outside-toplevel C0415
Source 15 9 warning profile_end Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 31 8 convention ProfileContext.__init__ Attribute name "pr" doesn't conform to snake_case naming style invalid-name C0103
armarx_setup.core.util.system
Line Column Type Object Message Symbol Message Id
Source 23 0 convention Line too long (104/100) line-too-long C0301
Source 41 0 convention Line too long (109/100) line-too-long C0301
Source 42 0 convention Line too long (108/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 12 0 convention set_process_priorities Missing function or method docstring missing-function-docstring C0116
Source 28 4 warning set_process_priorities No exception type(s) specified bare-except W0702
Source 14 8 convention set_process_priorities Import outside toplevel (psutil) import-outside-toplevel C0415
Source 32 0 convention is_apt_package_installed Missing function or method docstring missing-function-docstring C0116
Source 36 4 refactor is_apt_package_installed Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 48 0 convention is_flatpak_package_installed Missing function or method docstring missing-function-docstring C0116
Source 49 4 convention is_flatpak_package_installed Import outside toplevel (armarx_setup.core.util.commands) import-outside-toplevel C0415
Source 84 0 convention apply_dpkg_list Missing function or method docstring missing-function-docstring C0116
Source 85 4 warning apply_dpkg_list Using global for 'apt_package_cache' but no assignment is done global-variable-not-assigned W0602
Source 85 4 convention apply_dpkg_list Constant name "apt_package_cache" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 87 14 warning apply_dpkg_list Using subprocess.run without explicitly set `check` is not recommended. subprocess-run-check W1510
Source 106 0 convention flush_apt_cache Missing function or method docstring missing-function-docstring C0116
Source 107 4 warning flush_apt_cache Using the global statement global-statement W0603
Source 107 4 convention flush_apt_cache Constant name "apt_package_cache" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 111 0 convention flush_flatpak_cache Missing function or method docstring missing-function-docstring C0116
Source 112 4 warning flush_flatpak_cache Using the global statement global-statement W0603
Source 112 4 convention flush_flatpak_cache Constant name "flatpak_package_cache" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 116 0 convention install_apt_packages Missing function or method docstring missing-function-docstring C0116
Source 117 4 convention install_apt_packages Import outside toplevel (armarx_setup.core.util.cli, armarx_setup.core.util.commands) import-outside-toplevel C0415
Source 129 4 convention install_apt_packages Import outside toplevel (armarx_setup.cli.common) import-outside-toplevel C0415
Source 117 4 warning install_apt_packages Unused cli imported from armarx_setup.core.util unused-import W0611
Source 138 0 convention install_flatpak_packages Missing function or method docstring missing-function-docstring C0116
Source 139 4 convention install_flatpak_packages Import outside toplevel (armarx_setup.core.config.axii_config) import-outside-toplevel C0415
Source 148 4 convention install_flatpak_packages Import outside toplevel (armarx_setup.cli.common) import-outside-toplevel C0415
armarx_setup.core.workspace.config
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 9 0 convention Config Missing class docstring missing-class-docstring C0115
Source 18 34 refactor Config.__init__ Consider using {} instead of dict() use-dict-literal R1735
Source 29 4 convention Config.get_defaults Missing function or method docstring missing-function-docstring C0116
Source 56 4 convention Config.load Missing function or method docstring missing-function-docstring C0116
Source 57 8 refactor Config.load Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 66 4 convention Config.store Missing function or method docstring missing-function-docstring C0116
Source 71 8 warning Config.dumps Redefining name 'json' from outer scope (line 5) redefined-outer-name W0621
Source 70 4 convention Config.dumps Missing function or method docstring missing-function-docstring C0116
Source 71 8 warning Config.dumps Reimport 'json' (imported line 5) reimported W0404
Source 71 8 convention Config.dumps Import outside toplevel (json) import-outside-toplevel C0415
Source 74 4 convention Config.as_dict Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.workspace.env
Line Column Type Object Message Symbol Message Id
Source 65 0 convention Line too long (107/100) line-too-long C0301
Source 74 0 convention Line too long (108/100) line-too-long C0301
Source 80 0 convention Line too long (107/100) line-too-long C0301
Source 94 0 convention Line too long (102/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 15 0 convention Variable Missing class docstring missing-class-docstring C0115
Source 20 4 convention Variable.make_line Missing function or method docstring missing-function-docstring C0116
Source 15 0 refactor Variable Too few public methods (1/2) too-few-public-methods R0903
Source 25 0 convention Source Missing class docstring missing-class-docstring C0115
Source 28 4 convention Source.make_line Missing function or method docstring missing-function-docstring C0116
Source 32 12 warning Source.make_line Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 25 0 refactor Source Too few public methods (1/2) too-few-public-methods R0903
Source 38 0 convention Entry Missing class docstring missing-class-docstring C0115
Source 42 4 convention Entry.make_lines Missing function or method docstring missing-function-docstring C0116
Source 44 45 error Entry.make_lines Non-iterable value self.variables is used in an iterating context not-an-iterable E1133
Source 45 51 error Entry.make_lines Non-iterable value self.sources is used in an iterating context not-an-iterable E1133
Source 38 0 refactor Entry Too few public methods (1/2) too-few-public-methods R0903
Source 49 0 convention EnvFile Missing class docstring missing-class-docstring C0115
Source 57 18 error EnvFile.__init__ Value 'OrderedDict' is unsubscriptable unsubscriptable-object E1136
Source 62 41 convention EnvFile.add Argument name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 62 4 convention EnvFile.add Missing function or method docstring missing-function-docstring C0116
Source 91 32 convention EnvFile.remove Argument name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 91 4 convention EnvFile.remove Missing function or method docstring missing-function-docstring C0116
Source 100 36 convention EnvFile.add_source Argument name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 100 4 convention EnvFile.add_source Missing function or method docstring missing-function-docstring C0116
Source 109 4 convention EnvFile.get_path Missing function or method docstring missing-function-docstring C0116
Source 112 4 convention EnvFile.get_header Missing function or method docstring missing-function-docstring C0116
Source 112 4 refactor EnvFile.get_header Method could be a function no-self-use R0201
Source 123 4 convention EnvFile.make_by Missing function or method docstring missing-function-docstring C0116
Source 123 4 refactor EnvFile.make_by Method could be a function no-self-use R0201
Source 126 4 convention EnvFile.get_lines Missing function or method docstring missing-function-docstring C0116
Source 131 12 convention EnvFile.get_lines Variable name "by" doesn't conform to snake_case naming style invalid-name C0103
Source 138 4 convention EnvFile.write Missing function or method docstring missing-function-docstring C0116
Source 140 13 warning EnvFile.write Using open without explicitly specifying an encoding unspecified-encoding W1514
armarx_setup.core.workspace.home
Line Column Type Object Message Symbol Message Id
Source 69 0 convention Final newline missing missing-final-newline C0304
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention Home Missing class docstring missing-class-docstring C0115
Source 7 35 error Home.__init__ Value 'list' is unsubscriptable unsubscriptable-object E1136
Source 11 38 convention Home._write_executable Argument name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 12 8 convention Home._write_executable Import outside toplevel (armarx_setup.core.config.config) import-outside-toplevel C0415
Source 15 25 warning Home._write_executable.resolve_vars Redefining built-in 'input' redefined-builtin W0622
Source 50 4 convention Home.install_executable Missing function or method docstring missing-function-docstring C0116
Source 62 4 convention Home.purge_unexplained_executables Missing function or method docstring missing-function-docstring C0116
armarx_setup.core.workspace.system
Line Column Type Object Message Symbol Message Id
Source 63 0 convention Line too long (101/100) line-too-long C0301
Source 73 0 convention Line too long (103/100) line-too-long C0301
Source 82 0 convention Line too long (104/100) line-too-long C0301
Source 84 0 convention Line too long (109/100) line-too-long C0301
Source 93 0 convention Line too long (119/100) line-too-long C0301
Source 94 0 convention Line too long (111/100) line-too-long C0301
Source 96 0 convention Line too long (101/100) line-too-long C0301
Source 165 0 convention Line too long (111/100) line-too-long C0301
Source 208 0 convention Line too long (104/100) line-too-long C0301
Source 258 0 convention Line too long (117/100) line-too-long C0301
Source 261 0 convention Line too long (115/100) line-too-long C0301
Source 262 0 convention Line too long (119/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 11 0 convention SystemStep Missing class docstring missing-class-docstring C0115
Source 12 4 convention SystemStep.Type Missing class docstring missing-class-docstring C0115
Source 14 8 convention SystemStep.Type Class constant name "Packages" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 15 8 convention SystemStep.Type Class constant name "Env" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 16 8 convention SystemStep.Type Class constant name "Source" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 19 8 convention SystemStep.Type.of_module Missing function or method docstring missing-function-docstring C0116
Source 20 12 refactor SystemStep.Type.of_module Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 33 12 warning SystemStep.__init__ Redefining built-in 'type' redefined-builtin W0622
Source 42 15 convention SystemStep.__repr__ Formatting a regular string which could be a f-string consider-using-f-string C0209
Source 48 4 convention SystemStep.run Missing function or method docstring missing-function-docstring C0116
Source 54 4 convention SystemStep.install_packages Missing function or method docstring missing-function-docstring C0116
Source 66 12 convention SystemStep.install_packages Import outside toplevel (armarx_setup.core.util.system) import-outside-toplevel C0415
Source 87 16 convention SystemStep.install_packages Import outside toplevel (armarx_setup.core.util.system) import-outside-toplevel C0415
Source 98 4 convention SystemStep.gather_apt_packages Missing function or method docstring missing-function-docstring C0116
Source 103 8 convention SystemStep.gather_apt_packages Import outside toplevel (concurrent.futures) import-outside-toplevel C0415
Source 104 8 convention SystemStep.gather_apt_packages Import outside toplevel (rich.live.Live) import-outside-toplevel C0415
Source 148 4 convention SystemStep.gather_flatpak_packages Missing function or method docstring missing-function-docstring C0116
Source 148 4 refactor SystemStep.gather_flatpak_packages Too many local variables (17/15) too-many-locals R0914
Source 153 8 convention SystemStep.gather_flatpak_packages Import outside toplevel (concurrent.futures) import-outside-toplevel C0415
Source 154 8 convention SystemStep.gather_flatpak_packages Import outside toplevel (rich.live.Live) import-outside-toplevel C0415
Source 202 4 convention SystemStep.to_table_packages_and_dependent_modules Missing function or method docstring missing-function-docstring C0116
Source 207 8 convention SystemStep.to_table_packages_and_dependent_modules Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 214 29 warning SystemStep.to_table_packages_and_dependent_modules Unused variable 'target' unused-variable W0612
Source 226 0 convention System Missing class docstring missing-class-docstring C0115
Source 231 4 convention System.plan_steps Missing function or method docstring missing-function-docstring C0116
Source 257 24 warning System.plan_steps.check_dependencies Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 259 24 warning System.plan_steps.check_dependencies Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 262 24 warning System.plan_steps.check_dependencies Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 263 24 warning System.plan_steps.check_dependencies Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 264 24 warning System.plan_steps.check_dependencies Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 273 23 warning System.plan_steps.check_dependencies Unused variable 'dep_step' unused-variable W0612
Source 286 12 warning System.plan_steps Unused variable 'i' unused-variable W0612
Source 226 0 refactor System Too few public methods (1/2) too-few-public-methods R0903
armarx_setup.core.workspace.workspace
Line Column Type Object Message Symbol Message Id
Source 45 0 convention Line too long (109/100) line-too-long C0301
Source 46 0 convention Line too long (119/100) line-too-long C0301
Source 47 0 convention Line too long (120/100) line-too-long C0301
Source 110 0 convention Line too long (103/100) line-too-long C0301
Source 286 0 convention Line too long (104/100) line-too-long C0301
Source 570 0 convention Line too long (110/100) line-too-long C0301
Source 573 0 convention Line too long (106/100) line-too-long C0301
Source 862 0 convention Line too long (104/100) line-too-long C0301
Source 1 0 convention Too many lines in module (1181/1000) too-many-lines C0302
Source 31 8 warning Workspace.__init__ Redefining name 'Config' from outer scope (line 1180) redefined-outer-name W0621
Source 32 8 warning Workspace.__init__ Redefining name 'EnvFile' from outer scope (line 1181) redefined-outer-name W0621
Source 31 8 convention Workspace.__init__ Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 32 8 convention Workspace.__init__ Import outside toplevel (armarx_setup.core.workspace.env.EnvFile) import-outside-toplevel C0415
Source 54 4 convention Workspace.load_workspace_by_name Missing function or method docstring missing-function-docstring C0116
Source 66 4 convention Workspace.load_workspace_by_path Missing function or method docstring missing-function-docstring C0116
Source 82 15 warning Workspace.load_workspace_by_path Catching too general exception Exception broad-except W0703
Source 90 4 convention Workspace.get_active_workspace_dir Missing function or method docstring missing-function-docstring C0116
Source 98 4 convention Workspace.is_workspace_active Missing function or method docstring missing-function-docstring C0116
Source 102 4 convention Workspace.load_active_workspace Missing function or method docstring missing-function-docstring C0116
Source 116 4 convention Workspace.get_all_workspace_names Missing function or method docstring missing-function-docstring C0116
Source 122 8 convention Workspace.create Import outside toplevel (collections) import-outside-toplevel C0415
Source 153 8 warning Workspace.load_config Redefining name 'Config' from outer scope (line 1180) redefined-outer-name W0621
Source 152 4 convention Workspace.load_config Missing function or method docstring missing-function-docstring C0116
Source 153 8 convention Workspace.load_config Import outside toplevel (armarx_setup.core.workspace.config.Config) import-outside-toplevel C0415
Source 157 8 warning Workspace.load_config The except handler raises immediately try-except-raise W0706
Source 161 4 convention Workspace.store_config Missing function or method docstring missing-function-docstring C0116
Source 164 4 convention Workspace.get_config_path Missing function or method docstring missing-function-docstring C0116
Source 169 4 convention Workspace.get_local_axii_config_path Missing function or method docstring missing-function-docstring C0116
Source 180 8 warning Workspace.add_module Redefining name 'Module' from outer scope (line 1177) redefined-outer-name W0621
Source 174 4 convention Workspace.add_module Missing function or method docstring missing-function-docstring C0116
Source 205 8 warning Workspace.add_module_features Redefining name 'Module' from outer scope (line 1177) redefined-outer-name W0621
Source 198 4 convention Workspace.add_module_features Missing function or method docstring missing-function-docstring C0116
Source 198 4 refactor Workspace.add_module_features Too many local variables (19/15) too-many-locals R0914
Source 216 39 error Workspace.add_module_features Value 'module.features' doesn't support membership test unsupported-membership-test E1135
Source 220 76 error Workspace.add_module_features Instance of 'Field' has no 'keys' member no-member E1101
Source 198 4 refactor Workspace.add_module_features Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 266 4 convention Workspace.remove_module_features Missing function or method docstring missing-function-docstring C0116
Source 266 4 refactor Workspace.remove_module_features Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 307 12 warning Workspace.remove_module Redefining name 'Module' from outer scope (line 1177) redefined-outer-name W0621
Source 302 4 convention Workspace.remove_module Missing function or method docstring missing-function-docstring C0116
Source 320 4 convention Workspace.module_graph Missing function or method docstring missing-function-docstring C0116
Source 330 8 warning Workspace.build_module_graph Redefining name 'ModuleGraph' from outer scope (line 1179) redefined-outer-name W0621
Source 329 4 convention Workspace.build_module_graph Missing function or method docstring missing-function-docstring C0116
Source 330 8 convention Workspace.build_module_graph Import outside toplevel (armarx_setup.core.module_graph.ModuleGraph) import-outside-toplevel C0415
Source 337 4 convention Workspace.for_each_module_in_dependency_chain Missing function or method docstring missing-function-docstring C0116
Source 343 4 convention Workspace.get_modules_in_dependency_chain Missing function or method docstring missing-function-docstring C0116
Source 346 4 convention Workspace.for_each_module_in_alphabetical_order Missing function or method docstring missing-function-docstring C0116
Source 356 4 convention Workspace.get_modules_in_alphabetical_order Missing function or method docstring missing-function-docstring C0116
Source 359 59 warning Workspace.info Redefining built-in 'all' redefined-builtin W0622
Source 359 4 convention Workspace.info Missing function or method docstring missing-function-docstring C0116
Source 360 8 convention Workspace.info Import outside toplevel (armarx_setup.core.util.prefix_color_map) import-outside-toplevel C0415
Source 373 12 convention Workspace.info.make_table Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 391 8 error Workspace.info.make_table function already defined line 372 function-redefined E0102
Source 392 12 convention Workspace.info.make_table Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 423 8 convention Workspace.info Import outside toplevel (networkx) import-outside-toplevel C0415
Source 359 4 refactor Workspace.info Too many statements (60/50) too-many-statements R0915
Source 446 4 convention Workspace.get_modules_with_system Missing function or method docstring missing-function-docstring C0116
Source 447 8 refactor Workspace.get_modules_with_system.enlist Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 457 4 convention Workspace.system Missing function or method docstring missing-function-docstring C0116
Source 462 8 convention Workspace.system Import outside toplevel (armarx_setup.core.util.prefix_color_map.modules_to_colored_text) import-outside-toplevel C0415
Source 463 8 convention Workspace.system Import outside toplevel (armarx_setup.core.workspace.system.System, armarx_setup.core.workspace.system.SystemStep) import-outside-toplevel C0415
Source 505 4 convention Workspace.update Missing function or method docstring missing-function-docstring C0116
Source 514 4 convention Workspace.update_parallel Missing function or method docstring missing-function-docstring C0116
Source 514 4 refactor Workspace.update_parallel Too many local variables (26/15) too-many-locals R0914
Source 519 8 convention Workspace.update_parallel Import outside toplevel (concurrent.futures) import-outside-toplevel C0415
Source 520 8 convention Workspace.update_parallel Import outside toplevel (threading.Lock) import-outside-toplevel C0415
Source 522 8 convention Workspace.update_parallel Import outside toplevel (armarx_setup.core.module.common) import-outside-toplevel C0415
Source 524 8 convention Workspace.update_parallel Import outside toplevel (armarx_setup.cli.common.RichConsole) import-outside-toplevel C0415
Source 525 20 warning Workspace.update_parallel Access to a protected member _raw_kwargs of a client class protected-access W0212
Source 539 28 refactor Workspace.update_parallel Consider using {} instead of dict() use-dict-literal R1735
Source 543 16 convention Workspace.update_parallel.axii_fetch Import outside toplevel (armarx_setup.self.self_update) import-outside-toplevel C0415
Source 544 16 convention Workspace.update_parallel.axii_fetch Import outside toplevel (armarx_setup.core.util.environ_context.EnvironContext) import-outside-toplevel C0415
Source 545 16 convention Workspace.update_parallel.axii_fetch Import outside toplevel (armarx_setup.core.module.update.git.git_non_interaction_env_vars) import-outside-toplevel C0415
Source 549 16 warning Workspace.update_parallel.axii_fetch No exception type(s) specified bare-except W0702
Source 571 24 convention Workspace.update_parallel.submit.job Import outside toplevel (time) import-outside-toplevel C0415
Source 572 24 convention Workspace.update_parallel.submit.job Import outside toplevel (numpy) import-outside-toplevel C0415
Source 585 35 warning Workspace.update_parallel.submit.job Catching too general exception Exception broad-except W0703
Source 554 12 refactor Workspace.update_parallel.submit Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 556 20 warning Workspace.update_parallel.submit Unused argument 'ignore_errors' unused-argument W0613
Source 627 12 convention Workspace.update_parallel Import outside toplevel (time) import-outside-toplevel C0415
Source 628 12 convention Workspace.update_parallel Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 629 12 convention Workspace.update_parallel Import outside toplevel (rich.live.Live) import-outside-toplevel C0415
Source 630 12 convention Workspace.update_parallel Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 514 4 refactor Workspace.update_parallel Too many statements (93/50) too-many-statements R0915
Source 682 4 convention Workspace.update_module Missing function or method docstring missing-function-docstring C0116
Source 682 4 refactor Workspace.update_module Method could be a function no-self-use R0201
Source 689 4 convention Workspace.prepare Missing function or method docstring missing-function-docstring C0116
Source 692 4 convention Workspace.prepare_module Missing function or method docstring missing-function-docstring C0116
Source 697 8 convention Workspace.prepare_module Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 692 4 refactor Workspace.prepare_module Method could be a function no-self-use R0201
Source 707 4 convention Workspace.build Missing function or method docstring missing-function-docstring C0116
Source 710 4 convention Workspace.build_module Missing function or method docstring missing-function-docstring C0116
Source 716 8 convention Workspace.build_module Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 719 12 refactor Workspace.build_module Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 710 4 refactor Workspace.build_module Method could be a function no-self-use R0201
Source 729 4 refactor Workspace._step_with_options Too many arguments (9/6) too-many-arguments R0913
Source 760 16 error Workspace._step_with_options unsupported operand type(s) for | unsupported-binary-operation E1131
Source 779 8 refactor Workspace._step_with_options Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 793 12 refactor Workspace._step_with_options Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 729 4 refactor Workspace._step_with_options Too many branches (14/12) too-many-branches R0912
Source 799 8 warning Workspace._check_for_deprecated_install_module Redefining name 'Module' from outer scope (line 1177) redefined-outer-name W0621
Source 799 8 convention Workspace._check_for_deprecated_install_module Import outside toplevel (armarx_setup.core.module.module.Module) import-outside-toplevel C0415
Source 800 8 convention Workspace._check_for_deprecated_install_module Import outside toplevel (armarx_setup.core.module.common.SubStepAdapter) import-outside-toplevel C0415
Source 816 24 warning Workspace._check_for_deprecated_install_module.collect_executables Redefining built-in 'exec' redefined-builtin W0622
Source 825 12 warning Workspace._check_for_deprecated_install_module Unused variable 'module_name' unused-variable W0612
Source 830 4 convention Workspace.install Missing function or method docstring missing-function-docstring C0116
Source 834 4 convention Workspace.install_module Missing function or method docstring missing-function-docstring C0116
Source 839 8 convention Workspace.install_module Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 848 4 convention Workspace.conclude Missing function or method docstring missing-function-docstring C0116
Source 848 0 warning Workspace.conclude Unused argument 'kwargs' unused-argument W0613
Source 851 4 convention Workspace.conclude_module Missing function or method docstring missing-function-docstring C0116
Source 852 8 convention Workspace.conclude_module Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 851 4 refactor Workspace.conclude_module Method could be a function no-self-use R0201
Source 861 4 convention Workspace.clean Missing function or method docstring missing-function-docstring C0116
Source 864 4 convention Workspace.test Missing function or method docstring missing-function-docstring C0116
Source 865 8 convention Workspace.test Import outside toplevel (rich.table.Table) import-outside-toplevel C0415
Source 866 8 convention Workspace.test Import outside toplevel (armarx_setup.core.util.prefix_color_map) import-outside-toplevel C0415
Source 883 4 convention Workspace.test_module Missing function or method docstring missing-function-docstring C0116
Source 884 8 convention Workspace.test_module Import outside toplevel (armarx_setup.core.util.prefix_color_map.module_to_colored_text) import-outside-toplevel C0415
Source 883 4 refactor Workspace.test_module Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 894 4 convention Workspace.generate_env Missing function or method docstring missing-function-docstring C0116
Source 894 0 warning Workspace.generate_env Unused argument 'kwargs' unused-argument W0613
Source 927 4 convention Workspace.export_module_paths Missing function or method docstring missing-function-docstring C0116
Source 943 4 convention Workspace.upgrade Missing function or method docstring missing-function-docstring C0116
Source 943 4 refactor Workspace.upgrade Too many arguments (11/6) too-many-arguments R0913
Source 943 4 refactor Workspace.upgrade Too many local variables (20/15) too-many-locals R0914
Source 957 8 convention Workspace.upgrade Import outside toplevel (armarx_setup.core.util.cli, armarx_setup.core.util.prefix_color_map) import-outside-toplevel C0415
Source 1043 4 convention Workspace.auto_remove Missing function or method docstring missing-function-docstring C0116
Source 1044 8 convention Workspace.auto_remove.AutoRemoveOutput Missing class docstring missing-class-docstring C0115
Source 1048 12 convention Workspace.auto_remove.AutoRemoveOutput.execute Missing function or method docstring missing-function-docstring C0116
Source 1049 16 convention Workspace.auto_remove.AutoRemoveOutput.execute Import outside toplevel (shutil) import-outside-toplevel C0415
Source 1048 12 refactor Workspace.auto_remove.AutoRemoveOutput.execute Method could be a function no-self-use R0201
Source 1044 8 refactor Workspace.auto_remove.AutoRemoveOutput Too few public methods (1/2) too-few-public-methods R0903
Source 1073 4 convention Workspace.get_deprecated_modules Missing function or method docstring missing-function-docstring C0116
Source 1074 8 convention Workspace.get_deprecated_modules.GetDeprecatedModulesOutput Missing class docstring missing-class-docstring C0115
Source 1074 8 refactor Workspace.get_deprecated_modules.GetDeprecatedModulesOutput Too few public methods (0/2) too-few-public-methods R0903
Source 1093 4 convention Workspace.exec Missing function or method docstring missing-function-docstring C0116
Source 1100 8 convention Workspace.exec Import outside toplevel (armarx_setup.core.util.commands) import-outside-toplevel C0415
Source 1122 4 convention Workspace.notify Missing function or method docstring missing-function-docstring C0116
Source 1137 8 warning Workspace.notify No exception type(s) specified bare-except W0702
Source 1132 12 convention Workspace.notify Import outside toplevel (notify2) import-outside-toplevel C0415
Source 1122 4 refactor Workspace.notify Method could be a function no-self-use R0201
Source 1142 12 warning Workspace.get_required_apt_packages Redefining built-in 'all' redefined-builtin W0622
Source 1140 4 convention Workspace.get_required_apt_packages Missing function or method docstring missing-function-docstring C0116
Source 1145 8 convention Workspace.get_required_apt_packages Import outside toplevel (armarx_setup.core.workspace.system.System, armarx_setup.core.workspace.system.SystemStep) import-outside-toplevel C0415
Source 20 0 refactor Workspace Too many public methods (46/20) too-many-public-methods R0904
Source 1178 4 warning Unused Hook imported from armarx_setup.core.module.common unused-import W0611
Source 1179 4 warning Unused ModuleGraph imported from armarx_setup.core.module_graph unused-import W0611
Source 1180 4 warning Unused Config imported from armarx_setup.core.workspace.config unused-import W0611
Source 1181 4 warning Unused EnvFile imported from armarx_setup.core.workspace.env unused-import W0611
armarx_setup.migrate.apt_packages_to_system
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 22 warning load_modules_data Redefining name 'paths' from outer scope (line 25) redefined-outer-name W0621
Source 5 4 warning load_modules_data Redefining name 'modules_data' from outer scope (line 26) redefined-outer-name W0621
Source 6 8 warning load_modules_data Redefining name 'path' from outer scope (line 29) redefined-outer-name W0621
Source 7 32 warning load_modules_data Redefining name 'file' from outer scope (line 45) redefined-outer-name W0621
Source 9 16 warning load_modules_data Redefining name 'data' from outer scope (line 29) redefined-outer-name W0621
Source 4 0 convention load_modules_data Missing function or method docstring missing-function-docstring C0116
Source 5 19 refactor load_modules_data Consider using {} instead of dict() use-dict-literal R1735
Source 7 13 warning load_modules_data Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 23 4 error No name 'MODULE_DATA_DIR' in module 'armarx_setup.core.module.module' no-name-in-module E0611
Source 45 17 warning Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 23 4 warning Unused Module imported from armarx_setup.core.module.module unused-import W0611
armarx_setup.migrate.copy_to_old
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 4 error No name 'MODULE_DATA_DIR' in module 'armarx_setup.core.module.module' no-name-in-module E0611
Source 12 4 convention Constant name "count" doesn't conform to UPPER_CASE naming style invalid-name C0103
armarx_setup.migrate.required_modules_list_to_dict
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 22 warning load_modules_data Redefining name 'paths' from outer scope (line 25) redefined-outer-name W0621
Source 5 4 warning load_modules_data Redefining name 'modules_data' from outer scope (line 26) redefined-outer-name W0621
Source 6 8 warning load_modules_data Redefining name 'path' from outer scope (line 29) redefined-outer-name W0621
Source 7 32 warning load_modules_data Redefining name 'file' from outer scope (line 40) redefined-outer-name W0621
Source 9 16 warning load_modules_data Redefining name 'data' from outer scope (line 29) redefined-outer-name W0621
Source 4 0 convention load_modules_data Missing function or method docstring missing-function-docstring C0116
Source 5 19 refactor load_modules_data Consider using {} instead of dict() use-dict-literal R1735
Source 7 13 warning load_modules_data Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 23 4 error No name 'MODULE_DATA_DIR' in module 'armarx_setup.core.module.module' no-name-in-module E0611
Source 40 17 warning Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 23 4 warning Unused Module imported from armarx_setup.core.module.module unused-import W0611
armarx_setup.self
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 convention update Missing function or method docstring missing-function-docstring C0116
Source 9 4 convention update Import outside toplevel (armarx_setup.self.self_update) import-outside-toplevel C0415
Source 41 4 warning change_release Redefining name 'PACKAGE_ROOT' from outer scope (line 3) redefined-outer-name W0621
Source 40 0 convention change_release Missing function or method docstring missing-function-docstring C0116
Source 41 4 warning change_release Reimport 'PACKAGE_ROOT' (imported line 3) reimported W0404
Source 41 4 convention change_release Import outside toplevel (armarx_setup.PACKAGE_ROOT) import-outside-toplevel C0415
Source 42 4 convention change_release Import outside toplevel (armarx_setup.core.util.commands.run) import-outside-toplevel C0415
armarx_setup.self.install
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 18 0 convention shell_list Missing function or method docstring missing-function-docstring C0116
Source 41 0 convention get_install_axii_script_path Missing function or method docstring missing-function-docstring C0116
Source 47 0 convention is_snippet_installed Missing function or method docstring missing-function-docstring C0116
Source 49 13 warning is_snippet_installed Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 49 35 convention is_snippet_installed Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 51 4 warning is_snippet_installed Unused variable 'e' unused-variable W0612
Source 60 0 convention install_snippet_into Missing function or method docstring missing-function-docstring C0116
Source 62 13 warning install_snippet_into Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 62 40 convention install_snippet_into Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 66 8 warning install_snippet_into Consider explicitly re-raising using the 'from' keyword raise-missing-from W0707
Source 69 0 convention get_rc_file_path Missing function or method docstring missing-function-docstring C0116
Source 75 0 convention get_installation_snippet Missing function or method docstring missing-function-docstring C0116
Source 77 8 warning get_installation_snippet Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 78 8 warning get_installation_snippet Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 81 8 warning get_installation_snippet Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 82 8 warning get_installation_snippet Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
armarx_setup.self.self_update
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 11 0 convention SelfUpdateStatus Missing class docstring missing-class-docstring C0115
Source 16 0 convention check_for_updates Missing function or method docstring missing-function-docstring C0116
Source 19 4 refactor check_for_updates Unnecessary "elif" after "return", remove the leading "el" from "elif" no-else-return R1705
Source 16 0 refactor check_for_updates Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
Source 26 0 convention update Missing function or method docstring missing-function-docstring C0116
Source 31 4 warning find_venv Redefining name 'PACKAGE_ROOT' from outer scope (line 6) redefined-outer-name W0621
Source 30 0 convention find_venv Missing function or method docstring missing-function-docstring C0116
Source 31 4 warning find_venv Reimport 'PACKAGE_ROOT' (imported line 6) reimported W0404
Source 31 4 convention find_venv Import outside toplevel (armarx_setup.PACKAGE_ROOT) import-outside-toplevel C0415
Source 43 0 convention update_venv Missing function or method docstring missing-function-docstring C0116
Source 52 8 convention update_venv Variable name "r" doesn't conform to snake_case naming style invalid-name C0103
Source 52 12 warning update_venv Using subprocess.run without explicitly set `check` is not recommended. subprocess-run-check W1510
Source 58 8 convention update_venv Variable name "r" doesn't conform to snake_case naming style invalid-name C0103
Source 58 12 warning update_venv Using subprocess.run without explicitly set `check` is not recommended. subprocess-run-check W1510
Source 60 8 refactor update_venv Unnecessary "else" after "return", remove the "else" and de-indent the code inside it no-else-return R1705
Source 43 0 refactor update_venv Either all return statements in a function should return an expression, or none of them should. inconsistent-return-statements R1710
cmake_format
Line Column Type Object Message Symbol Message Id
Source 86 29 convention Trailing whitespace trailing-whitespace C0303
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 5 5 error Undefined variable 'section' undefined-variable E0602
Source 120 5 error Undefined variable 'section' undefined-variable E0602
Source 123 4 convention Constant name "disable" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 126 4 convention Constant name "line_width" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 129 4 convention Constant name "tab_size" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 135 4 convention Constant name "use_tabchars" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 142 4 convention Constant name "fractional_tab_policy" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 146 4 convention Constant name "max_subgroups_hwrap" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 150 4 convention Constant name "max_pargs_hwrap" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 154 4 convention Constant name "max_rows_cmdline" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 157 4 convention Constant name "separate_ctrl_name_with_space" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 160 4 convention Constant name "separate_fn_name_with_space" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 164 4 convention Constant name "dangle_parens" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 170 4 convention Constant name "dangle_align" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 174 4 convention Constant name "min_prefix_chars" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 179 4 convention Constant name "max_prefix_chars" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 183 4 convention Constant name "max_lines_hwrap" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 186 4 convention Constant name "line_ending" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 189 4 convention Constant name "command_case" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 192 4 convention Constant name "keyword_case" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 199 4 convention Constant name "enable_sort" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 203 4 convention Constant name "autosort" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 209 4 convention Constant name "require_valid_layout" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 224 5 error Undefined variable 'section' undefined-variable E0602
Source 227 4 convention Constant name "bullet_char" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 230 4 convention Constant name "enum_char" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 235 4 convention Constant name "first_comment_is_literal" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 239 4 convention Constant name "literal_comment_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 243 4 convention Constant name "fence_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 247 4 convention Constant name "ruler_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 251 4 convention Constant name "explicit_trailing_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 256 4 convention Constant name "hashruler_min_length" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 260 4 convention Constant name "canonicalize_hashrulers" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 263 4 convention Constant name "enable_markup" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 268 5 error Undefined variable 'section' undefined-variable E0602
Source 274 4 convention Constant name "function_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 277 4 convention Constant name "macro_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 281 4 convention Constant name "global_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 285 4 convention Constant name "internal_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 289 4 convention Constant name "local_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 293 4 convention Constant name "private_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 297 4 convention Constant name "public_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 301 4 convention Constant name "argument_var_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 305 4 convention Constant name "keyword_pattern" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 309 4 convention Constant name "max_conditionals_custom_parser" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 312 4 convention Constant name "min_statement_spacing" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 315 4 convention Constant name "max_statement_spacing" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 316 4 convention Constant name "max_returns" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 317 4 convention Constant name "max_branches" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 318 4 convention Constant name "max_arguments" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 319 4 convention Constant name "max_localvars" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 320 4 convention Constant name "max_statements" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 325 5 error Undefined variable 'section' undefined-variable E0602
Source 328 4 convention Constant name "emit_byteorder_mark" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 331 4 convention Constant name "input_encoding" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 335 4 convention Constant name "output_encoding" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 340 5 error Undefined variable 'section' undefined-variable E0602
lint_markdown
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 7 0 convention md5 Missing function or method docstring missing-function-docstring C0116
Source 11 0 convention main Missing function or method docstring missing-function-docstring C0116
setup
Line Column Type Object Message Symbol Message Id
Source 3 0 convention Trailing newlines trailing-newlines C0305
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 1 0 refactor Cyclic import (armarx_setup.core.module -> armarx_setup.core.module.axii_module) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module_graph.plotting) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.install) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.update -> armarx_setup.core.module.update.update) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.workspace.system -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.module.context) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.common -> armarx_setup.core.module.context) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.common -> armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.install) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.system) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.util.commands -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.context -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.context) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.prepare -> armarx_setup.core.module.prepare.cmake -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.update -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.workspace.home) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.common -> armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.update -> armarx_setup.core.module.update.git) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module_graph.plotting -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.util.prefix_color_map -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.system -> armarx_setup.core.util.system) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.conclude -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.build -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.general -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.prepare -> armarx_setup.core.module.prepare.extract -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.prepare -> armarx_setup.core.module.prepare.prepare -> armarx_setup.core.module.prepare.cmake -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.prepare -> armarx_setup.core.module.prepare.prepare -> armarx_setup.core.module.prepare.python -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.prepare -> armarx_setup.core.module.prepare.prepare -> armarx_setup.core.module.prepare.run -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.update.git -> armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.update -> armarx_setup.core.module.update.download -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.update -> armarx_setup.core.module.update.update -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module_graph -> armarx_setup.core.module_graph.module_graph -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.module.context -> armarx_setup.core.module.module -> armarx_setup.core.module.system) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.cli.common -> armarx_setup.core.git -> armarx_setup.core.module.axii_module -> armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.common -> armarx_setup.core.error -> armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module -> armarx_setup.core.module.module -> armarx_setup.core.module.conclude -> armarx_setup.core.module.context) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.module.conclude -> armarx_setup.core.module.context -> armarx_setup.core.module.module) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.module.module -> armarx_setup.core.module.install -> armarx_setup.core.module.context -> armarx_setup.core.workspace.config -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.core.workspace.system -> armarx_setup.core.module -> armarx_setup.core.module.axii_module -> armarx_setup.core.module.update.git -> armarx_setup.core.module.common -> armarx_setup.core.error) cyclic-import R0401
Source 1 0 refactor Cyclic import (armarx_setup.core.config -> armarx_setup.core.workspace -> armarx_setup.core.workspace.workspace -> armarx_setup.self.self_update) cyclic-import R0401
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.migrate.apt_packages_to_system:[0:34]
==armarx_setup.migrate.required_modules_list_to_dict:[0:34]
from typing import Dict, List


def load_modules_data(paths: List[str]) -> Dict[str, Dict]:
modules_data = dict()
for path in paths:
with open(path, "r") as file:
try:
data = json.load(file)
except json.JSONDecodeError as e:
console.print(f"\\[x] {path}: {e}")
else:
modules_data[path] = data

return modules_data


if __name__ == '__main__':
import glob
import os
import json
from armarx_setup import console
from armarx_setup.core.module.module import MODULE_DATA_DIR, Module

paths = glob.glob(os.path.join(MODULE_DATA_DIR, "**", "*.json.old"))
modules_data = load_modules_data(paths)
console.print(f"Loaded {len(modules_data)} modules")

for path, data in modules_data.items():
path: str

assert path.endswith(".old")
path = path[:-len(".old")]
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==tests.unit.core.util.json.test_switch_arch:[75:91]
==tests.unit.core.util.json.test_switch_os:[76:92]
"default": "only_default"
}
},
"always 2"
]
}


expected_default = copy.deepcopy(raw)
expected_default["two"] = "2"
expected_default["list"][1] = "second"
expected_default["list"][3] = "fourth"
expected_default["nested"] = {
"a": "A",
"b": "default_default_b"
}
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.module.install:[39:55]
==armarx_setup.core.module.system:[110:126]
class Env(Hook):

def __init__(self, ctx=None, **kwargs):
super().__init__(ctx=ctx)

self.env: Dict[str, str] = kwargs
for k in self.env:
v = self.env[k]

if not (isinstance(k, str) and isinstance(v, str)):
raise error.AxiiError(f"Invalid env entry: '{k}': '{v}'")

self.env[k] = v

def generate_env(self, env: "EnvFile"):
for k, v in self.env.items():
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.module_graph.module_graph:[169:177]
==armarx_setup.core.module_graph.plotting:[13:23]
subsets: Dict[str, int] = dict()
for n, attr in graph.nodes.items():
key = os.path.split(attr["module"].name)[0]
if key not in subsets:
subsets[key] = len(subsets)
attr["subset"] = subsets[key]

return nx.layout.multipartite_layout(graph, subset_key="subset", align="horizontal")

duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==tests.unit.core.util.json.test_switch_arch:[0:11]
==tests.unit.core.util.json.test_switch_os:[0:11]
import copy
import typing as ty


class DummyData:

def __init__(self):

raw: ty.Dict[str, ty.Any] = {
"one": "1",
"two": {
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.cli.self.integration:[86:94]
==armarx_setup.self.self_update:[29:37]
def find_venv() -> str:
from armarx_setup import PACKAGE_ROOT

os_codename = axii_config.get_os_codename()

for directory in [f".venv_{os_codename}", ".venv", "venv"]:
venv = os.path.join(PACKAGE_ROOT, directory)
if os.path.isdir(venv):
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.module.build:[141:150]
==armarx_setup.core.module.prepare.prepare:[18:26]
def __post_init__(self):
from armarx_setup.core.util.dataclass import sanitize_type

kwargs = { "ctx": self.ctx }
sub_step_enabled_kwargs = { "list_factory": common.SubStepAdapter.list_factory, **kwargs }

self.cmake = sanitize_type(self.cmake, CMake, **sub_step_enabled_kwargs)
self.run = sanitize_type(self.run, Run, **sub_step_enabled_kwargs)
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.module.prepare.extract:[5:11]
==armarx_setup.core.module.update.git:[4:10]
import os
import typing as ty

from armarx_setup.core import error
from armarx_setup.core.module import common
from armarx_setup.core.module.context import Hook
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.util.json.switch_arch:[0:8]
==armarx_setup.core.util.json.switch_os:[0:8]
import dataclasses as dc
import typing as ty

from .core import JsonData
from .switch import resolve_switch


@dc.dataclass
duplicate-code R0801
Source 1 0 refactor Similar lines in 2 files
==armarx_setup.core.module_graph.module_graph:[177:188]
==armarx_setup.core.module_graph.plotting:[108:116]
layouts["multipartite"] = mutlipartite

layouts["planar"] = lambda graph: nx.planar_layout(graph)
layouts["shell"] = lambda graph: nx.shell_layout(graph)
layouts["spectral"] = lambda graph: nx.spectral_layout(graph)
layouts["spring"] = lambda graph: nx.spring_layout(graph)

# Requires apt package "graphviz" and python package "pygraphviz"
# sudo apt install graphviz
# For Python >3.7: pip install pygraphviz
# For Python 3.6: pip install pygraphviz==1.6
duplicate-code R0801
tests.e2e
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
tests.e2e.__init__
Line Column Type Object Message Symbol Message Id
Source 42 0 convention Trailing newlines trailing-newlines C0305
tests.e2e.test_axii
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 6 0 convention test_help Missing function or method docstring missing-function-docstring C0116
tests.e2e.test_axii_config
Line Column Type Object Message Symbol Message Id
Source 24 0 convention Line too long (115/100) line-too-long C0301
Source 16 0 convention Constant name "variable_name" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 17 0 convention Constant name "nested_variable_prefix" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 18 0 convention Constant name "nested_variable_name" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 19 0 convention Constant name "variable_value" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 5 0 warning Unused import os unused-import W0611
Source 11 0 warning Unused Workspace imported from armarx_setup.core.workspace unused-import W0611
Source 13 0 warning Unused test_workspace imported from tests.e2e unused-import W0611
tests.e2e.test_axii_module
Line Column Type Object Message Symbol Message Id
Source 9 0 convention test_module_show Missing function or method docstring missing-function-docstring C0116
tests.e2e.test_axii_workspace
Line Column Type Object Message Symbol Message Id
Source 158 5 warning TODO: Currently same behaviour as removing an existing module. Should be a different error fixme W0511
Source 74 4 warning test_workspace_create_ccache Unused variable 'stdout' unused-variable W0612
Source 162 0 convention test_prepare_python_preinstall Missing function or method docstring missing-function-docstring C0116
Source 163 4 convention test_prepare_python_preinstall Import outside toplevel (shutil) import-outside-toplevel C0415
Source 194 17 warning test_prepare_python_preinstall Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 6 0 warning Unused import pytest unused-import W0611
tests.unit.core.module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 7 0 convention DummyContext Missing class docstring missing-class-docstring C0115
tests.unit.core.module.prepare.test_extract
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 9 0 convention test_absolute_creation Missing function or method docstring missing-function-docstring C0116
Source 21 0 convention test_relative_creation Missing function or method docstring missing-function-docstring C0116
Source 36 0 convention test_file_not_existing Missing function or method docstring missing-function-docstring C0116
Source 49 0 convention test_env_var Missing function or method docstring missing-function-docstring C0116
tests.unit.core.module.test_module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 convention test_default_construction Missing function or method docstring missing-function-docstring C0116
Source 25 11 convention test_default_construction 'm.required_modules == {}' can be simplified to 'not m.required_modules' as an empty sequence is falsey use-implicit-booleaness-not-comparison C1803
Source 26 11 convention test_default_construction 'm.features == {}' can be simplified to 'not m.features' as an empty sequence is falsey use-implicit-booleaness-not-comparison C1803
Source 29 0 convention test_single_update_with_single_download Missing function or method docstring missing-function-docstring C0116
Source 40 11 convention test_single_update_with_single_download Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 41 11 convention test_single_update_with_single_download Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 45 0 convention test_single_update_with_multiple_downloads Missing function or method docstring missing-function-docstring C0116
Source 60 11 convention test_single_update_with_multiple_downloads Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 61 11 convention test_single_update_with_multiple_downloads Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 69 0 convention test_multiple_updates_with_single_download Missing function or method docstring missing-function-docstring C0116
Source 87 11 convention test_multiple_updates_with_single_download Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 89 11 convention test_multiple_updates_with_single_download Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 90 11 convention test_multiple_updates_with_single_download Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
tests.unit.core.module.update.test_download
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 8 0 convention test_absolute_creation Missing function or method docstring missing-function-docstring C0116
Source 20 0 convention test_env_var Missing function or method docstring missing-function-docstring C0116
tests.unit.core.modules.test_arch_switch_in_load_module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
tests.unit.core.modules.test_load_all_modules
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 16 0 convention test_load_module Missing function or method docstring missing-function-docstring C0116
tests.unit.core.modules.test_os_switch_in_load_module
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 19 0 convention Constant name "module_name" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 28 0 convention test_load_meta_default_compiler_bionic Missing function or method docstring missing-function-docstring C0116
Source 3 0 warning Unused console imported from armarx_setup unused-import W0611
tests.unit.core.test_config
Line Column Type Object Message Symbol Message Id
Source 40 11 convention test_config Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 106 11 convention test_interpret_git_remote_preferences Use isinstance() rather than type() for a typecheck. unidiomatic-typecheck C0123
Source 7 0 warning Unused ConfigVariable imported from armarx_setup.core.config unused-import W0611
tests.unit.core.util.json.test_comments
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention test_remove_comments_from_list Missing function or method docstring missing-function-docstring C0116
Source 17 0 convention test_remove_comments_from_dict Missing function or method docstring missing-function-docstring C0116
Source 30 0 convention test_remove_comments_nested Missing function or method docstring missing-function-docstring C0116
Source 1 0 warning Unused is_comment imported from armarx_setup.core.util.json.comments unused-import W0611
tests.unit.core.util.json.test_extend
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention test_extend_empty Missing function or method docstring missing-function-docstring C0116
Source 12 0 convention test_extend Missing function or method docstring missing-function-docstring C0116
tests.unit.core.util.json.test_remove
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention test_remove_list_items Missing function or method docstring missing-function-docstring C0116
Source 10 0 convention test_remove_nested_list_items Missing function or method docstring missing-function-docstring C0116
Source 28 0 convention test_remove_dict_keys Missing function or method docstring missing-function-docstring C0116
Source 42 0 convention test_remove_nested_dict_keys Missing function or method docstring missing-function-docstring C0116
Source 72 0 convention test_remove_dict_values Missing function or method docstring missing-function-docstring C0116
Source 86 0 convention test_remove_nested_dict_values Missing function or method docstring missing-function-docstring C0116
Source 91 20 refactor test_remove_nested_dict_values Consider using {} instead of dict() use-dict-literal R1735
Source 92 20 refactor test_remove_nested_dict_values Consider using [] instead of list() use-list-literal R1734
Source 97 24 refactor test_remove_nested_dict_values Consider using {} instead of dict() use-dict-literal R1735
Source 98 24 refactor test_remove_nested_dict_values Consider using [] instead of list() use-list-literal R1734
Source 106 20 refactor test_remove_nested_dict_values Consider using {} instead of dict() use-dict-literal R1735
Source 111 24 refactor test_remove_nested_dict_values Consider using {} instead of dict() use-dict-literal R1735
tests.unit.core.util.json.test_switch_arch
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 5 0 convention DummyData Missing class docstring missing-class-docstring C0115
Source 5 0 refactor DummyData Too few public methods (0/2) too-few-public-methods R0903
Source 117 0 convention test_json_resolve_switch_arch Missing function or method docstring missing-function-docstring C0116
Source 118 4 convention test_json_resolve_switch_arch Import outside toplevel (armarx_setup.core.util.json.switch_arch.resolve_switch_arch) import-outside-toplevel C0415
Source 120 4 convention test_json_resolve_switch_arch Variable name "td" doesn't conform to snake_case naming style invalid-name C0103
tests.unit.core.util.json.test_switch_os
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 5 0 convention DummyData Missing class docstring missing-class-docstring C0115
Source 5 0 refactor DummyData Too few public methods (0/2) too-few-public-methods R0903
Source 118 0 convention test_json_resolve_switch_os Missing function or method docstring missing-function-docstring C0116
Source 119 4 convention test_json_resolve_switch_os Import outside toplevel (armarx_setup.core.util.json.switch_os.resolve_switch_os) import-outside-toplevel C0415
Source 121 4 convention test_json_resolve_switch_os Variable name "td" doesn't conform to snake_case naming style invalid-name C0103
tests.unit.core.util.test_commands
Line Column Type Object Message Symbol Message Id
Source 9 0 convention test_run_success Missing function or method docstring missing-function-docstring C0116
Source 14 0 convention test_run_success_callback Missing function or method docstring missing-function-docstring C0116
Source 27 0 convention test_run_exception_and_callback Missing function or method docstring missing-function-docstring C0116
Source 44 0 convention test_run_stdin Missing function or method docstring missing-function-docstring C0116
Source 53 0 convention test_async_stdin Missing function or method docstring missing-function-docstring C0116
Source 73 0 convention test_shell_lex Missing function or method docstring missing-function-docstring C0116
tests.unit.core.workspace.test_home
Line Column Type Object Message Symbol Message Id
Source 71 0 convention Line too long (107/100) line-too-long C0301
Source 72 0 convention Line too long (109/100) line-too-long C0301
Source 92 0 convention Line too long (101/100) line-too-long C0301
Source 106 0 convention Line too long (107/100) line-too-long C0301
Source 107 0 convention Line too long (109/100) line-too-long C0301
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 15 0 convention Constant name "test_workspace_name" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 16 0 convention Constant name "testing_directory" doesn't conform to UPPER_CASE naming style invalid-name C0103
Source 21 0 convention setup Missing function or method docstring missing-function-docstring C0116
Source 30 0 convention test_home Missing function or method docstring missing-function-docstring C0116
Source 36 0 convention check_strings_in_content Missing function or method docstring missing-function-docstring C0116
Source 46 0 convention test_write_executable Missing function or method docstring missing-function-docstring C0116
Source 54 9 warning test_write_executable Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 54 52 convention test_write_executable Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 57 29 warning test_write_executable Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
Source 81 0 convention test_write_executable_with_kill_trap Missing function or method docstring missing-function-docstring C0116
Source 89 9 warning test_write_executable_with_kill_trap Using open without explicitly specifying an encoding unspecified-encoding W1514
Source 89 52 convention test_write_executable_with_kill_trap Variable name "f" doesn't conform to snake_case naming style invalid-name C0103
Source 92 29 warning test_write_executable_with_kill_trap Using an f-string that does not have any interpolated variables f-string-without-interpolation W1309
tests.unit.test_armarx_setup
Line Column Type Object Message Symbol Message Id
Source 1 0 convention Missing module docstring missing-module-docstring C0114
Source 4 0 convention test_version Missing function or method docstring missing-function-docstring C0116