Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit560ccff

Browse files
authored
Merge pull request#18091 from QuLogic/flake8
ci: Fix linting being ignored by reviewdog
2 parentsfecfa1a +3eb4779 commit560ccff

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
830830
"""
831831
self._check_no_units([xmin,xmax], ['xmin','xmax'])
832832
if"transform"inkwargs:
833-
raiseValueError("'transform' is not allowed as a keywordargument;"
834-
"axhline generates its own transform.")
833+
raiseValueError("'transform' is not allowed as a keyword "
834+
"argument;axhline generates its own transform.")
835835
ymin,ymax=self.get_ybound()
836836

837837
# We need to strip away the units for comparison with
@@ -899,8 +899,8 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
899899
"""
900900
self._check_no_units([ymin,ymax], ['ymin','ymax'])
901901
if"transform"inkwargs:
902-
raiseValueError("'transform' is not allowed as a keywordargument;"
903-
"axvline generates its own transform.")
902+
raiseValueError("'transform' is not allowed as a keyword "
903+
"argument;axvline generates its own transform.")
904904
xmin,xmax=self.get_xbound()
905905

906906
# We need to strip away the units for comparison with

‎lib/matplotlib/rcsetup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
importlogging
1919
fromnumbersimportNumber
2020
importoperator
21-
importos
2221
importre
2322

2423
importnumpyasnp

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp