File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
steps :
8
8
- uses : actions/checkout@master
9
- - name : GitHub Action for pylint
10
- uses : cclauss/GitHub-Action-for-pylint@master
9
+
10
+ - uses : actions/setup-python@v5
11
11
with :
12
- args : pylint **/*.py
12
+ python-version : ' 3.11'
13
+
14
+ - run : python -m pip install --upgrade pipenv wheel # pylint
15
+
16
+ - id : cache-pipenv
17
+
18
+ with :
19
+ path : ~/.local/share/virtualenvs
20
+ key : ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
21
+
22
+ - name : Install dependencies
23
+ if : steps.cache-pipenv.outputs.cache-hit != 'true'
24
+ run : |
25
+ pipenv install
26
+
27
+ - run : pipenv run pylint **/*.py
28
+
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pandas-datareader = "*"
14
14
fastapi = " *"
15
15
uvicorn = {extras = [" standard" ], version = " *" }
16
16
matplotlib = " *"
17
+ pylint = " *"
17
18
18
19
[dev-packages ]
19
20
You can’t perform that action at this time.
0 commit comments