nixbot

builds

failed python3.14-diff-cover-10.5.1 checks.aarch64-darwin.treefmt · build #418 · raw

1tribuchet: building on mac022structuredAttrs is enabled3Sourcing python-remove-tests-dir-hook4Sourcing python-catch-conflicts-hook.sh5Sourcing python-remove-bin-bytecode-hook.sh6Sourcing pypa-build-hook7Using pypaBuildPhase8Sourcing python-runtime-deps-check-hook9Using pythonRuntimeDepsCheckHook10Sourcing pypa-install-hook11Using pypaInstallPhase12Sourcing python-imports-check-hook.sh13Using pythonImportsCheckPhase14Sourcing python-metadata-check-hook.sh15Using pythonMetadataCheckPhase16Sourcing python-namespaces-hook17Sourcing python-catch-conflicts-hook.sh18Sourcing pytest-check-hook19Using pytestCheckPhase
unpackPhase
20unpacking source archive /nix/store/8ipw8skx7yb3pf6dw0nfj307dhff2rva-diff_cover-10.5.1.tar.gz21source root is diff_cover-10.5.122setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "diff_cover-10.5.1/tests/test_violations_reporter.py"
configurePhase
23no configure script, doing nothing
buildPhase
24Executing pypaBuildPhase25Creating a wheel...26pypa build flags: --no-isolation --outdir dist/ --wheel27* Getting build dependencies for wheel...28* Building wheel...29Successfully built diff_cover-10.5.1-py3-none-any.whl30Finished creating a wheel...31Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
32Executing pythonRuntimeDepsCheck33Checking runtime dependencies for diff_cover-10.5.1-py3-none-any.whl34Finished executing pythonRuntimeDepsCheck
installPhase
35Executing pypaInstallPhase36Successfully installed diff_cover-10.5.1-py3-none-any.whl37Finished executing pypaInstallPhase
pythonOutputDistPhase
38Executing pythonOutputDistPhase39Finished executing pythonOutputDistPhase
fixupPhase
40checking for references to /private/var/tb/6/scratch/22bbd2e43126b170/build/ in /nix/store/2xmlhb58mb3by2cg2rlhfayq3k8gx8jz-python3.14-diff-cover-10.5.1-dist...41patching script interpreter paths in /nix/store/2xmlhb58mb3by2cg2rlhfayq3k8gx8jz-python3.14-diff-cover-10.5.1-dist42checking for references to /private/var/tb/6/scratch/22bbd2e43126b170/build/ in /nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.1...43patching script interpreter paths in /nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.144stripping (with command strip and flags -S) in /nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.1/lib /nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.1/bin45Rewriting #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14 to #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.846wrapping `/nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.1/bin/diff-quality'...47Rewriting #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14 to #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.848wrapping `/nix/store/jx4lqpkmmnm892yv6sad7c5xkxdkr9sw-python3.14-diff-cover-10.5.1/bin/diff-cover'...49Executing pythonRemoveTestsDir50Finished executing pythonRemoveTestsDir
installCheckPhase
51no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
52Executing pythonImportsCheckPhase53Check whether the following modules can be imported: diff_cover
pythonMetadataCheckPhase
54Executing pythonMetadataCheckPhase
pytestCheckPhase
55Executing pytestCheckPhase56pytest flags: -m pytest -k not\ \(file_does_not_exist\)\ and\ not\ \(console\)\ and\ not\ \(test_html_with_external_css\)\ and\ not\ \(test_style_defs\)57============================= test session starts ==============================58platform darwin -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.059rootdir: /private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.160configfile: pyproject.toml61plugins: datadir-1.8.0, mock-3.15.1, typeguard-4.6.062collected 391 items / 25 deselected / 366 selected6364tests/test_clover_violations_reporter.py . [ 0%]65tests/test_command_runner_missing_executable.py ...... [ 1%]66tests/test_config_parser.py ...................... [ 7%]67tests/test_diff_cover_main.py .. [ 8%]68tests/test_diff_cover_tool.py .................. [ 13%]69tests/test_diff_quality_main.py ................... [ 18%]70tests/test_diff_reporter.py ......................................... [ 29%]71tests/test_git_diff.py ........... [ 32%]72tests/test_git_diff_file.py .... [ 33%]73tests/test_git_path.py ..... [ 35%]74tests/test_integration.py ............................FF.FFFF........ [ 46%]75tests/test_java_violations_reporter.py .............. [ 50%]76tests/test_report_generator.py ........................................ [ 61%]77tests/test_snippets.py ......................... [ 68%]78tests/test_util.py ...... [ 70%]79tests/test_violations_reporter.py ...................................... [ 80%]80....................................................................... [100%]8182=================================== FAILURES ===================================83_________ TestDiffQualityIntegration.test_added_file_pycodestyle_html __________8485self = <tests.test_integration.TestDiffQualityIntegration object at 0x1094b1bd0>86runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2271c0>87patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x109833380>8889 def test_added_file_pycodestyle_html(self, runbin, patch_git_command):90 patch_git_command.set_stdout("git_diff_violations.txt")91 assert (92 runbin(93 [94 "--format",95 "html:dummy/diff_coverage.html",96 "--violations=pycodestyle",97 ]98 )99 == 0100 )101> compare_html("pycodestyle_violations_report.html", "dummy/diff_coverage.html")102103/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:602: 104_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 105106expected_html_path = 'pycodestyle_violations_report.html'107html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True108109 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):110 expected_file = open(expected_html_path, encoding="utf-8")111 html_report = open(html_report_path, encoding="utf-8")112 113 with expected_file, html_report:114 # The CSS is provided by pygments and changes fairly often.115 # Im ok with simply saying "There was css"116 # Perhaps I will eat these words117 html = clean_html(html_report.read(), clear_inline_css)118 expected = clean_html(expected_file.read(), clear_inline_css)119> assert expected == html120E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'121E 122E Skipping 3372 identical leading characters in diff, use -v to show123E - lass="sd">"""A less messy function"""</span>124E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>125E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>126E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...127E 128E ...Full output truncated (10 lines hidden), use '-vv' to show129130/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError131----------------------------- Captured stdout call -----------------------------132-------------133Diff Quality134Quality Report: pycodestyle135Diff: origin/main...HEAD, staged and unstaged changes136-------------137violations_test_file.py (66.7%):138violations_test_file.py:2: E225 missing whitespace around operator139violations_test_file.py:6: E302 expected 2 blank lines, found 0140violations_test_file.py:11: E225 missing whitespace around operator141-------------142Total: 9 lines143Violations: 3 lines144% Quality: 66%145-------------146_________________ TestDiffQualityIntegration.test_all_reports __________________147148self = <tests.test_integration.TestDiffQualityIntegration object at 0x10949efd0>149runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2247d0>150patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x109832510>151152 def test_all_reports(self, runbin, patch_git_command):153 patch_git_command.set_stdout("git_diff_violations.txt")154 assert (155 runbin(156 [157 "--violations=pycodestyle",158 "--format",159 "html:dummy/diff_coverage.html,"160 "json:dummy/diff_coverage.json,"161 "markdown:dummy/diff_coverage.md",162 ]163 )164 == 0165 )166> compare_html("pycodestyle_violations_report.html", "dummy/diff_coverage.html")167168/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:618: 169_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 170171expected_html_path = 'pycodestyle_violations_report.html'172html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True173174 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):175 expected_file = open(expected_html_path, encoding="utf-8")176 html_report = open(html_report_path, encoding="utf-8")177 178 with expected_file, html_report:179 # The CSS is provided by pygments and changes fairly often.180 # Im ok with simply saying "There was css"181 # Perhaps I will eat these words182 html = clean_html(html_report.read(), clear_inline_css)183 expected = clean_html(expected_file.read(), clear_inline_css)184> assert expected == html185E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'186E 187E Skipping 3372 identical leading characters in diff, use -v to show188E - lass="sd">"""A less messy function"""</span>189E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>190E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>191E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...192E 193E ...Full output truncated (10 lines hidden), use '-vv' to show194195/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError196----------------------------- Captured stdout call -----------------------------197-------------198Diff Quality199Quality Report: pycodestyle200Diff: origin/main...HEAD, staged and unstaged changes201-------------202violations_test_file.py (66.7%):203violations_test_file.py:2: E225 missing whitespace around operator204violations_test_file.py:6: E302 expected 2 blank lines, found 0205violations_test_file.py:11: E225 missing whitespace around operator206-------------207Total: 9 lines208Violations: 3 lines209% Quality: 66%210-------------211___________ TestDiffQualityIntegration.test_added_file_pyflakes_html ___________212213self = <tests.test_integration.TestDiffQualityIntegration object at 0x1094a5fd0>214runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2d14e0>215patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x10a023620>216217 def test_added_file_pyflakes_html(self, runbin, patch_git_command):218 patch_git_command.set_stdout("git_diff_violations.txt")219 assert (220 runbin(221 ["--violations=pyflakes", "--format", "html:dummy/diff_coverage.html"]222 )223 == 0224 )225> compare_html("pyflakes_violations_report.html", "dummy/diff_coverage.html")226227/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:648: 228_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229230expected_html_path = 'pyflakes_violations_report.html'231html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True232233 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):234 expected_file = open(expected_html_path, encoding="utf-8")235 html_report = open(html_report_path, encoding="utf-8")236 237 with expected_file, html_report:238 # The CSS is provided by pygments and changes fairly often.239 # Im ok with simply saying "There was css"240 # Perhaps I will eat these words241 html = clean_html(html_report.read(), clear_inline_css)242 expected = clean_html(expected_file.read(), clear_inline_css)243> assert expected == html244E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'245E 246E Skipping 1654 identical leading characters in diff, use -v to show247E - lass="sd">"""A less messy function"""</span>248E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>249E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>250E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...251E 252E ...Full output truncated (10 lines hidden), use '-vv' to show253254/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError255----------------------------- Captured stdout call -----------------------------256-------------257Diff Quality258Quality Report: pyflakes259Diff: origin/main...HEAD, staged and unstaged changes260-------------261violations_test_file.py (88.9%):262violations_test_file.py:11: local variable 'unused' is assigned to but never used263-------------264Total: 9 lines265Violations: 1 line266% Quality: 88%267-------------268____________ TestDiffQualityIntegration.test_added_file_pylint_html ____________269270self = <tests.test_integration.TestDiffQualityIntegration object at 0x1095e9590>271runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2d0670>272patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x10a023cb0>273274 def test_added_file_pylint_html(self, runbin, patch_git_command):275 patch_git_command.set_stdout("git_diff_violations.txt")276 assert (277 runbin(["--violations=pylint", "--format", "html:dummy/diff_coverage.html"])278 == 0279 )280> compare_html("pylint_violations_report.html", "dummy/diff_coverage.html")281282/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:656: 283_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 284285expected_html_path = 'pylint_violations_report.html'286html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True287288 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):289 expected_file = open(expected_html_path, encoding="utf-8")290 html_report = open(html_report_path, encoding="utf-8")291 292 with expected_file, html_report:293 # The CSS is provided by pygments and changes fairly often.294 # Im ok with simply saying "There was css"295 # Perhaps I will eat these words296 html = clean_html(html_report.read(), clear_inline_css)297 expected = clean_html(expected_file.read(), clear_inline_css)298> assert expected == html299E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'300E 301E Skipping 3315 identical leading characters in diff, use -v to show302E - lass="sd">"""A less messy function"""</span>303E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>304E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>305E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...306E 307E ...Full output truncated (10 lines hidden), use '-vv' to show308309/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError310----------------------------- Captured stdout call -----------------------------311-------------312Diff Quality313Quality Report: pylint314Diff: origin/main...HEAD, staged and unstaged changes315-------------316violations_test_file.py (77.8%):317violations_test_file.py:1: C0114: (missing-module-docstring), : Missing module docstring318violations_test_file.py:1: C0116: (missing-function-docstring), func_1: Missing function or method docstring319violations_test_file.py:11: W0612: (unused-variable), func_2: Unused variable 'unused'320-------------321Total: 9 lines322Violations: 2 lines323% Quality: 77%324-------------325_______________ TestDiffQualityIntegration.test_fail_under_html ________________326327self = <tests.test_integration.TestDiffQualityIntegration object at 0x1095e96a0>328runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2d1d20>329patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x10a021400>330331 def test_fail_under_html(self, runbin, patch_git_command):332 patch_git_command.set_stdout("git_diff_violations.txt")333 assert (334 runbin(335 [336 "--violations=pylint",337 "--fail-under=80",338 "--format",339 "html:dummy/diff_coverage.html",340 ]341 )342 == 1343 )344> compare_html("pylint_violations_report.html", "dummy/diff_coverage.html")345346/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:671: 347_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 348349expected_html_path = 'pylint_violations_report.html'350html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True351352 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):353 expected_file = open(expected_html_path, encoding="utf-8")354 html_report = open(html_report_path, encoding="utf-8")355 356 with expected_file, html_report:357 # The CSS is provided by pygments and changes fairly often.358 # Im ok with simply saying "There was css"359 # Perhaps I will eat these words360 html = clean_html(html_report.read(), clear_inline_css)361 expected = clean_html(expected_file.read(), clear_inline_css)362> assert expected == html363E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'364E 365E Skipping 3315 identical leading characters in diff, use -v to show366E - lass="sd">"""A less messy function"""</span>367E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>368E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>369E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...370E 371E ...Full output truncated (10 lines hidden), use '-vv' to show372373/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError374----------------------------- Captured stdout call -----------------------------375-------------376Diff Quality377Quality Report: pylint378Diff: origin/main...HEAD, staged and unstaged changes379-------------380violations_test_file.py (77.8%):381violations_test_file.py:1: C0114: (missing-module-docstring), : Missing module docstring382violations_test_file.py:1: C0116: (missing-function-docstring), func_1: Missing function or method docstring383violations_test_file.py:11: W0612: (unused-variable), func_2: Unused variable 'unused'384-------------385Total: 9 lines386Violations: 2 lines387% Quality: 77%388-------------389------------------------------ Captured log call -------------------------------390ERROR diff_cover.diff_quality_tool:diff_quality_tool.py:421 Failure. Quality is below 80.391_____________ TestDiffQualityIntegration.test_fail_under_pass_html _____________392393self = <tests.test_integration.TestDiffQualityIntegration object at 0x10965de50>394runbin = <function TestDiffQualityIntegration.runbin.<locals>.<lambda> at 0x10a2d1430>395patch_git_command = <tests.test_integration.patch_git_command.<locals>.Wrapper object at 0x10a0206e0>396397 def test_fail_under_pass_html(self, runbin, patch_git_command):398 patch_git_command.set_stdout("git_diff_violations.txt")399 assert (400 runbin(401 [402 "--violations=pylint",403 "--fail-under=40",404 "--format",405 "html:dummy/diff_coverage.html",406 ]407 )408 == 0409 )410> compare_html("pylint_violations_report.html", "dummy/diff_coverage.html")411412/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:686: 413_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 414415expected_html_path = 'pylint_violations_report.html'416html_report_path = 'dummy/diff_coverage.html', clear_inline_css = True417418 def compare_html(expected_html_path, html_report_path, clear_inline_css=True):419 expected_file = open(expected_html_path, encoding="utf-8")420 html_report = open(html_report_path, encoding="utf-8")421 422 with expected_file, html_report:423 # The CSS is provided by pygments and changes fairly often.424 # Im ok with simply saying "There was css"425 # Perhaps I will eat these words426 html = clean_html(html_report.read(), clear_inline_css)427 expected = clean_html(expected_file.read(), clear_inline_css)428> assert expected == html429E assert '<!DOCTYPE ht...ody>\n</html>' == '<!DOCTYPE ht...ody>\n</html>'430E 431E Skipping 3315 identical leading characters in diff, use -v to show432E - lass="sd">"""A less messy function"""</span>433E + lass="sd">&quot;&quot;&quot;A less messy function&quot;&quot;&quot;</span>434E <a id="violations_test_file.py-8" name="violations_test_file.py-8"></a> <span class="k">for</span> <span class="n">char</span> <span class="ow">in</span> <span class="n">spongebob</span><span class="p">:</span>435E <a id="violations_test_file.py-9" name="violations_test_file.py-9"></a> <span class="k">if</span> <span class="n">char</span> <span class="ow">in</span> <span class...436E 437E ...Full output truncated (10 lines hidden), use '-vv' to show438439/private/var/tb/6/scratch/22bbd2e43126b170/build/diff_cover-10.5.1/tests/test_integration.py:121: AssertionError440----------------------------- Captured stdout call -----------------------------441-------------442Diff Quality443Quality Report: pylint444Diff: origin/main...HEAD, staged and unstaged changes445-------------446violations_test_file.py (77.8%):447violations_test_file.py:1: C0114: (missing-module-docstring), : Missing module docstring448violations_test_file.py:1: C0116: (missing-function-docstring), func_1: Missing function or method docstring449violations_test_file.py:11: W0612: (unused-variable), func_2: Unused variable 'unused'450-------------451Total: 9 lines452Violations: 2 lines453% Quality: 77%454-------------455=========================== short test summary info ============================456FAILED tests/test_integration.py::TestDiffQualityIntegration::test_added_file_pycodestyle_html457FAILED tests/test_integration.py::TestDiffQualityIntegration::test_all_reports458FAILED tests/test_integration.py::TestDiffQualityIntegration::test_added_file_pyflakes_html459FAILED tests/test_integration.py::TestDiffQualityIntegration::test_added_file_pylint_html460FAILED tests/test_integration.py::TestDiffQualityIntegration::test_fail_under_html461FAILED tests/test_integration.py::TestDiffQualityIntegration::test_fail_under_pass_html462================= 6 failed, 360 passed, 25 deselected in 8.93s =================