troubadix 25.3.2__tar.gz → 25.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {troubadix-25.3.2 → troubadix-25.3.4}/PKG-INFO +1 -1
- {troubadix-25.3.2 → troubadix-25.3.4}/pyproject.toml +2 -2
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_runner.py +22 -14
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/__version__.py +1 -1
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/__init__.py +30 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/LICENSE +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/README.md +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/helper/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/helper/test_linguistic_exception_handler.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/helper/test_patterns.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/fail.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/fail2.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_badwords.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_copyright_text.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_copyright_year.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_creation_date.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_cve_format.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_cvss_format.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_dependencies.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_dependency_category_order.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_deprecated_dependency.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_deprecated_functions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_double_end_points.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_duplicate_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_duplicated_script_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_encoding.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_bad_new_line.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_badwords.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_name_newline.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_permissions.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_spelling.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_name_and_copyright_newline.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_solution_template.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/runner/fail.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/runner/fail2.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/runner/test.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/test.inc +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/test.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/warning.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/ok_permissions.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/test_oid.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_forking_nasl_functions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_get_kb_on_services.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_grammar.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_http_links_in_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_illegal_characters.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_log_messages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_malformed_dependencies.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_misplaced_compare_in_if.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_missing_desc_exit.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_missing_tag_solution.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_multiple_re_parameters.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_newlines.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_overlong_description_lines.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_overlong_script_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_qod.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_reporting_consistency.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_add_preference_type.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_calls_empty_values.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_calls_recommended.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_category.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_copyright.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_family.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_tag_form.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_tag_whitespaces.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_tags_mandatory.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_xref_form.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_script_xref_url.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_security_messages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_set_get_kb_calls.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_solution_text.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_solution_type.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_spaces_before_dots.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_spaces_in_filename.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_spelling.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_tabs.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_todo_tbd.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_trailing_spaces_tabs.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_using_display.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_valid_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_valid_script_tag_names.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_vt_file_permissions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_vt_placement.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/test_added_epoch.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/test_added_release.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/test_added_udeb.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/test_changed_update.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/test_dropped_architecture.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/test_changed_packages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/test_package.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/21.04/21_script.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/22.04/22_script.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/common/bar.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/common/foo.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/common/foobar.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/nasl/common/gsf/enterprise_script.nasl +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_changed_cves.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_changed_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_dependency_graph.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_deprecate_vts.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_file_extensions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_last_modification.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_no_solution.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/test_version_updated.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_argparser.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_helper.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_naslinter.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_reporter.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/tests/test_results.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/argparser.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/codespell/codespell.additions +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/codespell/codespell.exclude +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/codespell/codespell.ignore +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/helper/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/helper/helper.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/helper/linguistic_exception_handler.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/helper/patterns.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugin.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/badwords.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/copyright_text.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/copyright_year.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/creation_date.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/cve_format.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/cvss_format.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/dependencies.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/dependency_category_order.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/deprecated_dependency.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/deprecated_functions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/double_end_points.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/duplicate_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/duplicated_script_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/encoding.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/forking_nasl_functions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/get_kb_on_services.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/grammar.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/http_links_in_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/illegal_characters.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/log_messages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/malformed_dependencies.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/misplaced_compare_in_if.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/missing_desc_exit.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/missing_tag_solution.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/multiple_re_parameters.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/newlines.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/overlong_description_lines.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/overlong_script_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/prod_svc_detect_in_vulnvt.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/qod.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/reporting_consistency.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_add_preference_type.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_calls_empty_values.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_calls_recommended.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_category.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_copyright.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_family.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_tag_form.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_tag_whitespaces.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_tags_mandatory.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_version_and_last_modification_tags.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_xref_form.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_xref_url.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/security_messages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/set_get_kb_calls.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/solution_text.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/solution_type.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/spaces_before_dots.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/spaces_in_filename.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/spelling.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/tabs.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/todo_tbd.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/trailing_spaces_tabs.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/using_display.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/valid_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/valid_script_tag_names.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/variable_assigned_in_if.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/variable_redefinition_in_foreach.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/vt_file_permissions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/vt_placement.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/reporter.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/results.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/runner.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/allowed_rev_diff.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_cves.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_oid.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/changed_packages.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/added_epoch.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/added_release.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/added_udeb.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/changed_update.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/dropped_architecture.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/marker.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/package.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/common.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/__init__.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/checks.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/cli.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/dependency_graph.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/models.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/deprecate_vts.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/file_extensions.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/last_modification.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/no_solution.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/version_updated.py +0 -0
- {troubadix-25.3.2 → troubadix-25.3.4}/troubadix/troubadix.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "troubadix"
|
|
3
|
-
version = "25.3.
|
|
3
|
+
version = "25.3.4"
|
|
4
4
|
description = "A linting and QA check tool for NASL files"
|
|
5
5
|
authors = ["Greenbone <info@greenbone.net>"]
|
|
6
6
|
license = "GPL-3.0-or-later"
|
|
@@ -37,7 +37,7 @@ networkx = "^3.4.2"
|
|
|
37
37
|
[tool.poetry.group.dev.dependencies]
|
|
38
38
|
autohooks = ">=21.7.0"
|
|
39
39
|
autohooks-plugin-black = ">=21.12.0"
|
|
40
|
-
ruff = ">=0.5.6,<0.
|
|
40
|
+
ruff = ">=0.5.6,<0.12.0"
|
|
41
41
|
autohooks-plugin-ruff = ">=24.1,<26.0"
|
|
42
42
|
|
|
43
43
|
[tool.black]
|
|
@@ -35,7 +35,7 @@ from troubadix.plugins.script_version_and_last_modification_tags import (
|
|
|
35
35
|
CheckScriptVersionAndLastModificationTags,
|
|
36
36
|
)
|
|
37
37
|
from troubadix.reporter import Reporter
|
|
38
|
-
from troubadix.runner import Runner
|
|
38
|
+
from troubadix.runner import Runner
|
|
39
39
|
|
|
40
40
|
_here = Path(__file__).parent
|
|
41
41
|
|
|
@@ -61,7 +61,7 @@ class TestRunner(unittest.TestCase):
|
|
|
61
61
|
def test_runner_with_excluded_plugins(self):
|
|
62
62
|
excluded_plugins = [
|
|
63
63
|
"CheckBadwords",
|
|
64
|
-
"
|
|
64
|
+
"CheckCopyrightYear",
|
|
65
65
|
]
|
|
66
66
|
included_plugins = [
|
|
67
67
|
plugin.__name__
|
|
@@ -342,18 +342,26 @@ class TestRunner(unittest.TestCase):
|
|
|
342
342
|
# revert changes for the next time
|
|
343
343
|
nasl_file.write_text(content, encoding=CURRENT_ENCODING)
|
|
344
344
|
|
|
345
|
-
def
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
with self.
|
|
356
|
-
|
|
345
|
+
def test_unknown_plugins(self):
|
|
346
|
+
with self.assertRaisesRegex(ValueError, "Unknown plugins: 'foo'"):
|
|
347
|
+
Runner(
|
|
348
|
+
n_jobs=1,
|
|
349
|
+
reporter=self._reporter,
|
|
350
|
+
included_plugins=["foo"],
|
|
351
|
+
root=self.root,
|
|
352
|
+
)
|
|
353
|
+
|
|
354
|
+
def test_unknown_plugins_with_suggestion(self):
|
|
355
|
+
with self.assertRaisesRegex(
|
|
356
|
+
ValueError,
|
|
357
|
+
r"Unknown plugins: 'check_badwards' \(Did you mean 'check_badwords'\?\)",
|
|
358
|
+
):
|
|
359
|
+
Runner(
|
|
360
|
+
n_jobs=1,
|
|
361
|
+
reporter=self._reporter,
|
|
362
|
+
included_plugins=["check_badwards"],
|
|
363
|
+
root=self.root,
|
|
364
|
+
)
|
|
357
365
|
|
|
358
366
|
def test_runner_log_file(self):
|
|
359
367
|
included_plugins = [
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
+
import difflib
|
|
18
19
|
from typing import Iterable, List
|
|
19
20
|
|
|
20
21
|
from troubadix.plugin import FilePlugin, FilesPlugin, Plugin
|
|
@@ -175,13 +176,18 @@ class StandardPlugins(Plugins):
|
|
|
175
176
|
) -> None:
|
|
176
177
|
file_plugins = _FILE_PLUGINS
|
|
177
178
|
files_plugins = _FILES_PLUGINS
|
|
179
|
+
|
|
178
180
|
if excluded_plugins:
|
|
181
|
+
self._check_unknown_plugins(excluded_plugins)
|
|
182
|
+
|
|
179
183
|
file_plugins = self._exclude_plugins(excluded_plugins, file_plugins)
|
|
180
184
|
files_plugins = self._exclude_plugins(
|
|
181
185
|
excluded_plugins, files_plugins
|
|
182
186
|
)
|
|
183
187
|
|
|
184
188
|
if included_plugins:
|
|
189
|
+
self._check_unknown_plugins(included_plugins)
|
|
190
|
+
|
|
185
191
|
file_plugins = self._include_plugins(included_plugins, file_plugins)
|
|
186
192
|
files_plugins = self._include_plugins(
|
|
187
193
|
included_plugins, files_plugins
|
|
@@ -208,3 +214,27 @@ class StandardPlugins(Plugins):
|
|
|
208
214
|
for plugin in plugins
|
|
209
215
|
if plugin.__name__ in included or plugin.name in included
|
|
210
216
|
]
|
|
217
|
+
|
|
218
|
+
@staticmethod
|
|
219
|
+
def _check_unknown_plugins(selected_plugins: list[str]):
|
|
220
|
+
all_plugin_names = {
|
|
221
|
+
name
|
|
222
|
+
for plugin in _FILE_PLUGINS + _FILES_PLUGINS
|
|
223
|
+
for name in (plugin.name, plugin.__name__)
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
unknown_plugins = set(selected_plugins).difference(all_plugin_names)
|
|
227
|
+
|
|
228
|
+
if not unknown_plugins:
|
|
229
|
+
return
|
|
230
|
+
|
|
231
|
+
def build_message(plugin: str):
|
|
232
|
+
match = difflib.get_close_matches(plugin, all_plugin_names, n=1)
|
|
233
|
+
return (
|
|
234
|
+
f"'{plugin}' (Did you mean '{match[0]}'?)"
|
|
235
|
+
if match
|
|
236
|
+
else f"'{plugin}'"
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
messages = [build_message(plugin) for plugin in sorted(unknown_plugins)]
|
|
240
|
+
raise ValueError(f"Unknown plugins: {', '.join(messages)}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/fail_name_and_copyright_newline.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_badwords.nasl
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/fail_name_newline.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_files/nasl/21.04/runner/test_valid_oid.nasl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/plugins/test_variable_redefinition_in_foreach.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/markers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/tests/standalone_plugins/changed_packages/test_package.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/plugins/script_version_and_last_modification_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/marker/marker.py
RENAMED
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/changed_packages/package.py
RENAMED
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/__init__.py
RENAMED
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/checks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{troubadix-25.3.2 → troubadix-25.3.4}/troubadix/standalone_plugins/dependency_graph/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|