Skip to content

Commit e93d512

Browse files
committed
bugfix
1 parent 4ed95c9 commit e93d512

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/all-lints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
use-pylint: false
2121
use-flake8: false
2222
use-vulture: true
23-
conda-python-version: "3.6"
23+
python-version: "3.6"
2424

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@ runs:
8383
- name:
8484
uses: actions/setup-python@v2
8585
with:
86-
python-version: ${{ inputs.conda-python-version }}
86+
python-version: ${{ inputs.python-version }}
8787
architecture: x64
88+
cache: pip
89+
cache-dependency-path: ${{ github.action_path }}/requirements.txt
8890
- run: |
8991
python --version
9092
pip install -r ${{ github.action_path }}/requirements.txt

entrypoint.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if [ "$2" = true ] ; then
5151

5252
echo Running: pylint ${10} $1
5353

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

5757
if [ "$exit_code" = "0" ]; then
@@ -66,7 +66,7 @@ if [ "$3" = true ] ; then
6666

6767
echo Running: pycodestyle ${11} $1
6868

69-
$CONDA/bin/pycodestyle ${11} $1
69+
pycodestyle ${11} $1
7070
exit_code=$?
7171

7272
if [ "$exit_code" = "0" ]; then
@@ -81,7 +81,7 @@ if [ "$4" = true ] ; then
8181

8282
echo Running: flake8 ${12} $1
8383

84-
$CONDA/bin/flake8 ${12} $1
84+
flake8 ${12} $1
8585
exit_code=$?
8686

8787
if [ "$exit_code" = "0" ]; then
@@ -96,7 +96,7 @@ if [ "$5" = true ] ; then
9696

9797
echo Running: black --check ${13} $1
9898

99-
$CONDA/bin/black --check ${13} $1
99+
black --check ${13} $1
100100
exit_code=$?
101101

102102
if [ "$exit_code" = "0" ]; then
@@ -111,7 +111,7 @@ if [ "$6" = true ] ; then
111111

112112
echo Running: mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
113113

114-
$CONDA/bin/mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
114+
mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers ${14} $1
115115
exit_code=$?
116116

117117
if [ "$exit_code" = "0" ]; then
@@ -126,7 +126,7 @@ if [ "$7" = true ] ; then
126126

127127
echo Running: isort ${15} $1 -c --diff
128128

129-
$CONDA/bin/isort ${15} $1 -c --diff
129+
isort ${15} $1 -c --diff
130130
exit_code=$?
131131

132132
if [ "$exit_code" = "0" ]; then
@@ -141,7 +141,7 @@ if [ "$8" = true ] ; then
141141

142142
echo Running: vulture ${16} $1
143143

144-
$CONDA/bin/vulture ${16} $1
144+
vulture ${16} $1
145145
exit_code=$?
146146

147147
if [ "$exit_code" = "0" ]; then
@@ -156,7 +156,7 @@ if [ "$9" = true ] ; then
156156

157157
echo Running: pydocstyle ${17} $1
158158

159-
$CONDA/bin/pydocstyle ${17} $1
159+
pydocstyle ${17} $1
160160
exit_code=$?
161161

162162
if [ "$exit_code" = "0" ]; then

0 commit comments

Comments
 (0)