Skip to content

Commit 0ae6477

Browse files
authored
Patched pylint
1 parent a0370bb commit 0ae6477

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,23 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- 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
1111
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+
uses: actions/[email protected]
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+

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pandas-datareader = "*"
1414
fastapi = "*"
1515
uvicorn = {extras = ["standard"], version = "*"}
1616
matplotlib = "*"
17+
pylint = "*"
1718

1819
[dev-packages]
1920

0 commit comments

Comments
 (0)