Skip to content

Commit 028abfc

Browse files
authored
Don't use pipenv
1 parent 0a87883 commit 028abfc

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/lints.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
python -m pip install pipenv
24-
continue-on-error: true
25-
- name: Configure environment
26-
run: |
27-
python -c "import sys; print(sys.executable)"
28-
pipenv install --python python -d
23+
python -m pip install bandit flake8 pylint
2924
continue-on-error: true
3025
- name: Bandit syntax check
31-
run: pipenv run bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
26+
run: bandit ./bot.py cogs/*.py core/*.py -b .bandit_baseline.json
3227
- name: Lint with pylint and flake8
3328
run: |
34-
pipenv run python .lint.py
35-
pipenv run flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503 --exit-zero
29+
python .lint.py
30+
flake8 ./bot.py cogs/*.py core/*.py --ignore=E501,E203,W503 --exit-zero

0 commit comments

Comments
 (0)