Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -54,23 +54,23 @@ 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
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/asottile/pyupgrade
rev: v2.12.0
rev: v3.3.1
hooks:
- id: pyupgrade
args:
- --py36-plus
- --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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 3rd party
# stdlib
import sys

# 3rd party
import pytest
from domdf_python_tools.paths import PathPlus

Expand Down
2 changes: 1 addition & 1 deletion tests/image_hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/image_hashes_310.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/image_hashes_311.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/image_hashes_37.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/image_hashes_38.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/image_hashes_39.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}