Skip to content

Commit 8187369

Browse files
authored
Merge pull request #18102 from QuLogic/flake8-v33x
Fix linting on v3.3.x
2 parents 542c664 + 89d05ca commit 8187369

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/reviewdog.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: |
3131
flake8 --docstring-convention=all | \
32-
reviewdog -f=pep8 -name=flake8 -reporter=github-check
32+
reviewdog -f=pep8 -name=flake8 \
33+
-tee -reporter=github-check -filter-mode nofilter
3334
3435
eslint:
3536
name: eslint
@@ -40,6 +41,7 @@ jobs:
4041
- name: eslint
4142
uses: reviewdog/action-eslint@v1
4243
with:
44+
filter_mode: nofilter
4345
github_token: ${{ secrets.GITHUB_TOKEN }}
4446
reporter: github-check
4547
workdir: 'lib/matplotlib/backends/web_backend/'

lib/matplotlib/bezier.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import matplotlib.cbook as cbook
1212

13+
1314
# same algorithm as 3.8's math.comb
1415
@np.vectorize
1516
@lru_cache(maxsize=128)

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
from matplotlib.axes import Axes, SubplotBase, subplot_class_factory
3030
from matplotlib.blocking_input import BlockingMouseInput, BlockingKeyMouseInput
31-
from matplotlib.gridspec import GridSpec, SubplotSpec
31+
from matplotlib.gridspec import GridSpec, SubplotSpec # noqa: F401
3232
import matplotlib.legend as mlegend
3333
from matplotlib.patches import Rectangle
3434
from matplotlib.text import Text

0 commit comments

Comments
 (0)