Skip to content

Commit 26f96b0

Browse files
committed
Switch lint dependencies to pyproject.toml
1 parent 8272001 commit 26f96b0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
with:
2525
python-version: "3.x"
2626
cache: 'pip'
27-
cache-dependency-path: 'linter-requirements.txt'
28-
- run: python -m pip install -r linter-requirements.txt
27+
cache-dependency-path: 'pyproject.toml'
28+
- run: python -m pip install -e .[lint]
2929
- run: ${{ matrix.lint-command }}
3030

3131
dist:

linter-requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ test = [
4343
"pytest-django",
4444
"redis",
4545
]
46+
lint = [
47+
"bandit==1.7.7",
48+
"black==24.1.1",
49+
"flake8==7.0.0",
50+
"isort==5.13.2",
51+
"pydocstyle[toml]==6.3.0",
52+
]
4653
dramatiq = [
4754
"django-dramatiq",
4855
]

0 commit comments

Comments
 (0)