Skip to content

Commit b5f5930

Browse files
committed
Remove flake8 from req, use new rec line-width of 110, black format
1 parent f976165 commit b5f5930

16 files changed

+195
-425
lines changed

.github/workflows/lints.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,19 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v1
18-
- name: Set up Python 3.7
19-
uses: actions/setup-python@v1
17+
- uses: actions/checkout@v2
18+
- name: Set up Python 3.9
19+
uses: actions/setup-python@v2
2020
with:
21-
python-version: 3.7
21+
python-version: 3.9
2222
- name: Install dependencies
2323
run: |
24-
python -m pip install --upgrade pip
25-
python -m pip install bandit==1.6.2 pylint black==19.10b0
26-
continue-on-error: true
24+
python -m pip install --upgrade pip pipenv
25+
pipenv install --dev --system
2726
- name: Bandit syntax check
2827
run: bandit -r . -b .bandit_baseline.json
2928
- name: Pylint
30-
run: pylint ./bot.py cogs/*.py core/*.py --disable=import-error --exit-zero -r y
29+
run: pylint ./bot.py cogs/*.py core/*.py --exit-zero -r y
3130
continue-on-error: true
3231
- name: Black
3332
run: |

Pipfile

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ verify_ssl = true
66
[dev-packages]
77
bandit = "~=1.7.0"
88
black = "==21.6b0"
9-
flake8 = "~=3.9.2"
109
pylint = "~=2.9.3"
1110

1211
[packages]

Pipfile.lock

+5-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)