Skip to content

Commit

Permalink
Improve dependency management (#706)
Browse files Browse the repository at this point in the history
* fix: remove unused dev dependency

* ci: group dependabot updates

- dev dependency updates are low risk and easy to review, so we
  can group these
- django-* packages are likely to be updated in lockstep with django
  so allow these to be grouped
  • Loading branch information
MatMoore authored Aug 22, 2024
1 parent 0598671 commit 604d0bb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups: # see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
dev-dependencies:
applies-to: version-updates
patterns:
- "black"
- "flake8"
- "pytest*"
- "faker"
- "isort"
django-dependencies:
applies-to: version-updates
patterns:
- "django*"

- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down
17 changes: 2 additions & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pytest-django = "^4.8.0"
pytest-cov = "^5.0.0"
faker = "^27.0.0"
isort = "^5.13.2"
djhtml = "^3.0.6"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 604d0bb

Please sign in to comment.