Skip to content

Commit 3eb6d5e

Browse files
committed
Move linter requirements into extra dependencies
1 parent 234624e commit 3eb6d5e

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
@@ -25,8 +25,8 @@ jobs:
2525
with:
2626
python-version: "3.x"
2727
cache: pip
28-
cache-dependency-path: linter-requirements.txt
29-
- run: python -m pip install -r linter-requirements.txt
28+
cache-dependency-path: pyproject.toml
29+
- run: python -m pip install .[lint]
3030
- run: ${{ matrix.lint-command }}
3131

3232
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
@@ -52,6 +52,13 @@ test = [
5252
"pytest-cov",
5353
"pytest-django",
5454
]
55+
lint = [
56+
"bandit==1.7.7",
57+
"black==24.2.0",
58+
"flake8==7.0.0",
59+
"isort==5.13.2",
60+
"pydocstyle[toml]==6.3.0",
61+
]
5562
docs = [
5663
"sphinx",
5764
]

0 commit comments

Comments
 (0)