Skip to content

Commit 719aa03

Browse files
committed
fix linting
1 parent 1442fcd commit 719aa03

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

.github/workflows/lints.yml

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,21 @@ jobs:
1212
name: Python ${{ matrix.python-version }} on ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up Python
17-
uses: actions/setup-python@v4
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
architecture: x64
21-
- name: Install dependencies
22-
run: |
23-
python -m pip install --upgrade pip pipenv
24-
pipenv install --dev --system
25-
# to refresh: bandit -f json -o .bandit_baseline.json -r .
26-
# - name: Bandit syntax check
27-
# run: bandit -r . -b .bandit_baseline.json
28-
- name: Pylint
29-
run: pylint ./bot.py cogs/*.py core/*.py --exit-zero -r y
30-
continue-on-error: true
31-
cancel-in-progress: false
32-
- name: Black
33-
run: |
34-
black . --diff --check
35-
cancel-in-progress: false
15+
- uses: actions/checkout@v3
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
architecture: x64
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip pipenv
26+
pipenv install --dev --system --deploy --clear
27+
28+
- name: Pylint
29+
run: pylint ./bot.py cogs/*.py core/*.py --exit-zero -r y
30+
31+
- name: Black
32+
run: black . --diff --check

0 commit comments

Comments
 (0)