Skip to content

Commit

Permalink
Switch lint dependencies to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Feb 9, 2024
1 parent 8272001 commit 26f96b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
with:
python-version: "3.x"
cache: 'pip'
cache-dependency-path: 'linter-requirements.txt'
- run: python -m pip install -r linter-requirements.txt
cache-dependency-path: 'pyproject.toml'
- run: python -m pip install -e .[lint]
- run: ${{ matrix.lint-command }}

dist:
Expand Down
5 changes: 0 additions & 5 deletions linter-requirements.txt

This file was deleted.

7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ test = [
"pytest-django",
"redis",
]
lint = [
"bandit==1.7.7",
"black==24.1.1",
"flake8==7.0.0",
"isort==5.13.2",
"pydocstyle[toml]==6.3.0",
]
dramatiq = [
"django-dramatiq",
]
Expand Down

0 comments on commit 26f96b0

Please sign in to comment.