diff-cover 9.7.0__tar.gz → 9.7.2__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.
- {diff_cover-9.7.0 → diff_cover-9.7.2}/PKG-INFO +1 -1
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/violationsreporters/violations_reporter.py +3 -3
- {diff_cover-9.7.0 → diff_cover-9.7.2}/pyproject.toml +1 -1
- {diff_cover-9.7.0 → diff_cover-9.7.2}/LICENSE +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/NOTICE +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/README.rst +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/__init__.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/command_runner.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/config_parser.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/diff_cover_tool.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/diff_quality_tool.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/diff_reporter.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/git_diff.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/git_path.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/hook.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/hookspecs.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/report_generator.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/snippets.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/console_coverage_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/console_quality_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/external_style.css +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/github_coverage_annotations.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/html_coverage_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/html_quality_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/markdown_coverage_report.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/markdown_quality_report.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/snippet_content.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/snippet_content.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/snippet_content.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/templates/snippet_style.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/util.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/violationsreporters/__init__.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/violationsreporters/base.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/violationsreporters/java_violations_reporter.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/__init__.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/add_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/add_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/add_json_report.json +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/add_markdown_report.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/changed_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/changed_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/coverage.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/coverage1.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/coverage2.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/coverage_missing_lines.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/cpp_functions_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/cpp_functions_coverage.lcov +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/delete_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/delete_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/dotnet_coverage.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/empty.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/empty_pycodestyle_violations.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/expand_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/external_css_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/external_style.css +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_add.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_changed.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_code_dupe.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_cpp.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_cpp_functions.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_delete.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_dotnet.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_external_css.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_lua.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_moved.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_mult.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_python.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_subdir.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_typescript.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_typescript_branches.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_unicode.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_violations.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/git_diff_violations_two_files.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/hello.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/hi.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/html_report_empty.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/html_report_one_snippet.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/html_report_two_snippets.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/lcov.info +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/lua_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/luacoverage.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/markdown_report_one_snippet.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/markdown_report_two_snippets.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/moved_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/moved_coverage.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/moved_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/mult_inputs_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/mult_inputs_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report.json +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report_external_css.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pyflakes_two_files.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pyflakes_violations_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pyflakes_violations_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_dupe.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_dupe_violations_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_violations_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_violations_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylint_violations_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pylintrc +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_cpp_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_cpp_coverage.lcov +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_python_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_python_coverage.lcov +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_typescript_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/real_typescript_coverage.lcov +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/show_uncovered_lines_console.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet.css +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_8859.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_arabic_output.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_default.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_invalid_violations.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_list.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_list.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_list2.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_list3.md +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_no_filename_ext.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_src.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_src2.cpp +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_src3.cpp +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_unicode.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_unicode.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/snippet_unicode_html_output.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/subdir_coverage_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/subdir_coverage_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/test_src.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/typescript_branches_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/typescript_branches_coverage.lcov +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/unicode_console_report.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/unicode_coverage.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/unicode_html_report.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/unicode_test_src.txt +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/violations_test_file.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/helpers.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/snippet_list_unicode.html +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_clover_violations_reporter/test.xml +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_clover_violations_reporter.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_config_parser.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_diff_cover_main.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_diff_cover_tool.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_diff_quality_main.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_diff_reporter.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_git_diff.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_git_diff_file.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_git_path.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_integration.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_java_violations_reporter.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_report_generator.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_snippets.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_util.py +0 -0
- {diff_cover-9.7.0 → diff_cover-9.7.2}/tests/test_violations_reporter.py +0 -0
|
@@ -133,7 +133,7 @@ class XmlCoverageReporter(BaseViolationReporter):
|
|
|
133
133
|
|
|
134
134
|
def _measured_source_path_matches(self, package_name, file_name, src_path):
|
|
135
135
|
# find src_path in any of the source roots
|
|
136
|
-
if not src_path.endswith(file_name):
|
|
136
|
+
if not src_path.endswith(util.to_unix_path(file_name)):
|
|
137
137
|
return False
|
|
138
138
|
|
|
139
139
|
norm_src_path = os.path.normcase(src_path)
|
|
@@ -574,12 +574,12 @@ pyflakes_driver = RegexBasedDriver(
|
|
|
574
574
|
ruff_check_driver = RegexBasedDriver(
|
|
575
575
|
name="ruff.check",
|
|
576
576
|
supported_extensions=["py"],
|
|
577
|
-
command=["ruff", "check"],
|
|
577
|
+
command=["ruff", "check", "--output-format", "pylint"],
|
|
578
578
|
# Match lines of the form:
|
|
579
579
|
# path/to/file.py:328:27 F541 [*] f-string without any placeholders
|
|
580
580
|
# path/to/file.py:418:26 F841 [*] Local variable `e` is assigned to but never used
|
|
581
581
|
expression=r"^([^:]+):(\d+):\d*:? (.*)$",
|
|
582
|
-
command_to_check_install=["ruff", "--version"
|
|
582
|
+
command_to_check_install=["ruff", "--version"],
|
|
583
583
|
# ruff exit code is 1 if there are violations
|
|
584
584
|
# https://docs.astral.sh/ruff/linter/#exit-codes
|
|
585
585
|
exit_codes=[0, 1],
|
|
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
|
{diff_cover-9.7.0 → diff_cover-9.7.2}/diff_cover/violationsreporters/java_violations_reporter.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
|
{diff_cover-9.7.0 → diff_cover-9.7.2}/tests/fixtures/pycodestyle_violations_report_external_css.html
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
|