Skip to content

Commit 2922598

Browse files
committed
Fix extra pylint options in entrypoint.sh
1 parent 16aad1c commit 2922598

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

entrypoint.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# $7 - use-isort
1212
# $8 - use-vulture
1313
# $9 - use-pydocstyle
14-
# $10 - extra-pylint-options
14+
# ${10} - extra-pylint-options
1515
# ${11} - extra-pycodestyle-options
1616
# ${12} - extra-flake8-options
1717
# ${13} - extra-black-options
@@ -29,14 +29,14 @@ echo use-mypy: $6
2929
echo use-isort: $7
3030
echo use-vulture: $8
3131
echo use-pydocstyle $9
32-
echo extra-pylint-options: $10
33-
echo extra-pycodestyle-options: $11
34-
echo extra-flake8-options: $12
35-
echo extra-black-options: $13
36-
echo extra-mypy-options: $14
37-
echo extra-isort-options: $15
38-
echo extra-vulture-options: $16
39-
echo extra-pydocstyle-options: $17
32+
echo extra-pylint-options: ${10}
33+
echo extra-pycodestyle-options: ${11}
34+
echo extra-flake8-options: ${12}
35+
echo extra-black-options: ${13}
36+
echo extra-mypy-options: ${14}
37+
echo extra-isort-options: ${15}
38+
echo extra-vulture-options: ${16}
39+
echo extra-pydocstyle-options: ${17}
4040

4141
# actions path has the copy of this actions repo
4242
for matcher in $GITHUB_ACTION_PATH/matchers/*.json
@@ -49,9 +49,9 @@ export TERM=xterm
4949

5050
if [ "$2" = true ] ; then
5151

52-
echo Running: pylint $9 $1
52+
echo Running: pylint ${10} $1
5353

54-
$CONDA/bin/pylint --output-format="colorized" $9 $1
54+
$CONDA/bin/pylint --output-format="colorized" ${10} $1
5555
exit_code=$?
5656

5757
if [ "$exit_code" = "0" ]; then
@@ -165,4 +165,4 @@ if [ "$9" = true ] ; then
165165
echo "pycodestyle error"
166166
fi
167167

168-
fi
168+
fi

0 commit comments

Comments
 (0)