diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index d235cec9c2e5..a6fee8cfebfc 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -29,7 +29,8 @@ jobs: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | flake8 --docstring-convention=all | \ - reviewdog -f=pep8 -name=flake8 -reporter=github-check + reviewdog -f=pep8 -name=flake8 \ + -tee -reporter=github-check -filter-mode nofilter eslint: name: eslint @@ -40,6 +41,7 @@ jobs: - name: eslint uses: reviewdog/action-eslint@v1 with: + filter_mode: nofilter github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-check workdir: 'lib/matplotlib/backends/web_backend/' diff --git a/lib/matplotlib/bezier.py b/lib/matplotlib/bezier.py index 3fcd31d7dea3..f2960cfcd25e 100644 --- a/lib/matplotlib/bezier.py +++ b/lib/matplotlib/bezier.py @@ -10,6 +10,7 @@ import matplotlib.cbook as cbook + # same algorithm as 3.8's math.comb @np.vectorize @lru_cache(maxsize=128) diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py index 2783666f1ed4..1080a1946622 100644 --- a/lib/matplotlib/figure.py +++ b/lib/matplotlib/figure.py @@ -28,7 +28,7 @@ from matplotlib.axes import Axes, SubplotBase, subplot_class_factory from matplotlib.blocking_input import BlockingMouseInput, BlockingKeyMouseInput -from matplotlib.gridspec import GridSpec, SubplotSpec +from matplotlib.gridspec import GridSpec, SubplotSpec # noqa: F401 import matplotlib.legend as mlegend from matplotlib.patches import Rectangle from matplotlib.text import Text