Skip to content

Commit

Permalink
Add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Apr 9, 2024
1 parent 21449a3 commit d507365
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
cache-dependency-path: '**/pyproject.toml'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e '.[test]'
- name: Run tests
run: |
Expand Down
25 changes: 24 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ version = "2.6.0"
description = "This is a package to provide some common utilities for Django projects at Democracy Club."
readme = "README.md"
authors = [{name = "Sym Roe"}, {name = "Virginia Dooley"}]
dependencies = [
"django>=3.2,<4.3",
"black",
"curlylint",
"isort",
"ipdb",
"django-pipeline==2.1.0",
"markdown",
"django-localflavor==3.1",
"setuptools==65.5.1",
"pre-commit",
"djhtml",
"pytest",
"pytest-django",
"pytest-mock",
"pytest-flakes",
"pytest-ruff",
"pytidylib",
"dc_design_system @ https://github.com/DemocracyClub/design-system/archive/refs/tags/0.4.6.tar.gz",
"whitenoise",
"pysass",
"jsmin<3.1",
]

[project.urls]
Homepage = "https://github.com/DemocracyClub/dc_django_utils"
Expand All @@ -18,4 +41,4 @@ build-backend = "setuptools.build_meta"
line-length = 80

[project.optional-dependencies]
test = ["pytest"]
test = ["pytest", "pytest-flakes"]

0 comments on commit d507365

Please sign in to comment.