From 58c060a934e2fe48ec47823b50c44753818c92ad Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 19:32:16 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.4.0) - [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](https://github.com/pre-commit/pygrep-hooks/compare/v1.9.0...v1.10.0) - [github.com/asottile/pyupgrade: v2.12.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v2.12.0...v3.3.1) - [github.com/Lucas-C/pre-commit-hooks: v1.3.1 → v1.5.1](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.1...v1.5.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca39a6f..6f01234 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: reformat-pyproject - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.4.0 hooks: - id: check-added-large-files - id: check-ast @@ -54,7 +54,7 @@ repos: - id: flake2lint - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-no-eval - id: rst-backticks @@ -62,7 +62,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/asottile/pyupgrade - rev: v2.12.0 + rev: v3.3.1 hooks: - id: pyupgrade args: @@ -70,7 +70,7 @@ repos: - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.1 + rev: v1.5.1 hooks: - id: remove-crlf - id: forbid-crlf From 6bf8a6effaaaf7da90955e13784b49de7c4db894 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 19:35:04 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requirements.txt | 2 +- tests/common.py | 4 +++- tests/image_hashes.json | 2 +- tests/image_hashes_310.json | 2 +- tests/image_hashes_311.json | 2 +- tests/image_hashes_37.json | 2 +- tests/image_hashes_38.json | 2 +- tests/image_hashes_39.json | 2 +- 8 files changed, 10 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7aac836..1881e8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ cawdrey>=0.3.0 domdf-python-tools>=1.7.0 -matplotlib==3.2.2; platform_machine == "aarch64" and python_version == "3.6" matplotlib>=3.2.2; platform_machine != "aarch64" or python_version > "3.6" +matplotlib==3.2.2; platform_machine == "aarch64" and python_version == "3.6" typing-extensions>=3.7.4.3 diff --git a/tests/common.py b/tests/common.py index e41a23a..040c6f4 100644 --- a/tests/common.py +++ b/tests/common.py @@ -1,5 +1,7 @@ -# 3rd party +# stdlib import sys + +# 3rd party import pytest from domdf_python_tools.paths import PathPlus diff --git a/tests/image_hashes.json b/tests/image_hashes.json index a03c4b5..2aaf62b 100644 --- a/tests/image_hashes.json +++ b/tests/image_hashes.json @@ -11,4 +11,4 @@ "tests.test_plots.test_plot_pie_from_tally[default-False]": "98b4851c6ea6e7f77451528432aa80c8e62a6eec1cdba203edb14e847246c839", "tests.test_plots.test_plot_pie_from_tally_no_explode[domdf-True]": "341932941d97127a32450562905b42ce9a7a77b2a990c5f76e4dc8875d946299", "tests.test_plots.test_plot_pie_from_tally[domdf-True]": "d93c4b4043ee5b0ba8bfa06033f7702693a24d04a4065d0b05a2024477ce9628" -} \ No newline at end of file +} diff --git a/tests/image_hashes_310.json b/tests/image_hashes_310.json index ab28538..dc7637a 100644 --- a/tests/image_hashes_310.json +++ b/tests/image_hashes_310.json @@ -11,4 +11,4 @@ "tests.test_plots.test_plot_pie_from_tally[default-True]": "b0bad9b9e409ee553000cfc92593002b77dc7417de1ad6747527f81f5b3e06e1", "tests.test_plots.test_plot_pie_from_tally[domdf-True]": "32d73f605f4488ca74652a438b682d65a0c08554d566c84862c0f2bfde4d74c3", "tests.test_plots.test_plot_pie_from_tally[default-False]": "268e34adb14bc672923aeadeddb637058cc529be229df3a39dfefdf07d956b9a" -} \ No newline at end of file +} diff --git a/tests/image_hashes_311.json b/tests/image_hashes_311.json index 52cfb11..f749a0e 100644 --- a/tests/image_hashes_311.json +++ b/tests/image_hashes_311.json @@ -11,4 +11,4 @@ "tests.test_domplotlib.test_horizontal_legend[h_bar_chart]": "51ac75fbab552c499559454e13f6b4af05e5072ea36211c803d97152631d575b", "tests.test_domplotlib.test_horizontal_legend_markevery": "8e04513303384eb0f487b493f1a3e6ea0fb5d230d691fdf170b62e2d1307b7ad", "tests.test_domplotlib.test_horizontal_legend[hatch_filled_histograms]": "725fd151c51d077289d408d3869d28dca3e1297e0f91594581cd9054c57daa14" -} \ No newline at end of file +} diff --git a/tests/image_hashes_37.json b/tests/image_hashes_37.json index 6a4fbd2..b13a488 100644 --- a/tests/image_hashes_37.json +++ b/tests/image_hashes_37.json @@ -11,4 +11,4 @@ "tests.test_plots.test_plot_pie_from_tally_no_explode[default-True]": "05b6a263d4ea616e125b35f5e926365e216ddd0e66ca2c23e8dd88efdeef97f4", "tests.test_plots.test_plot_pie_from_tally_no_explode[domdf-False]": "eb13c236e83285d5d4dc7e597b3b4cddfd6960c8edcda56cc0985af0cbbcc3bb", "tests.test_plots.test_plot_pie_from_tally[default-True]": "8b4b95df6df0d6fd38e06ce1e442ad71d4433d411746591d4982e37fa564818d" -} \ No newline at end of file +} diff --git a/tests/image_hashes_38.json b/tests/image_hashes_38.json index 75b243d..90c8b74 100644 --- a/tests/image_hashes_38.json +++ b/tests/image_hashes_38.json @@ -11,4 +11,4 @@ "tests.test_plots.test_plot_pie_from_tally[default-False]": "268e34adb14bc672923aeadeddb637058cc529be229df3a39dfefdf07d956b9a", "tests.test_plots.test_plot_pie_from_tally[domdf-False]": "8cb25045e767f6881919c262542a5f448ef08fdcdd033a27f0304a3ed5070caf", "tests.test_plots.test_plot_pie_from_tally[domdf-True]": "32d73f605f4488ca74652a438b682d65a0c08554d566c84862c0f2bfde4d74c3" -} \ No newline at end of file +} diff --git a/tests/image_hashes_39.json b/tests/image_hashes_39.json index a0fc0df..8b07fc2 100644 --- a/tests/image_hashes_39.json +++ b/tests/image_hashes_39.json @@ -11,4 +11,4 @@ "tests.test_domplotlib.test_horizontal_legend[koch_snowflake]": "f651cd5f5e69b28b80d7b07c70a95ab051a0a38ae96c14d9e2e1f4e1278d2f81", "tests.test_domplotlib.test_horizontal_legend_markevery": "8e04513303384eb0f487b493f1a3e6ea0fb5d230d691fdf170b62e2d1307b7ad", "tests.test_domplotlib.test_horizontal_legend[h_bar_chart]": "51ac75fbab552c499559454e13f6b4af05e5072ea36211c803d97152631d575b" -} \ No newline at end of file +}