Skip to content

Commit

Permalink
Move requirements into pyproject.
Browse files Browse the repository at this point in the history
  • Loading branch information
valberg authored and akx committed Jul 18, 2023
1 parent 99841a7 commit 095385d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ dependencies = [
[project.urls]
Homepage = "https://github.com/valohai/django-allauth-2fa"

[project.optional-dependencies]
test = [
"pytest-cov==4.1.0",
"pytest-django==4.5.2",
]
docs = [
"Sphinx==1.6.5",
"sphinx-autobuild==0.7.1", # To auto-build docs as they're edited.
"sphinx-rtd-theme==0.2.4", # The Read the Docs theme for Sphinx.
]

[tool.hatch.envs.default]
features = ["test"]

[tool.hatch.version]
path = "allauth_2fa/__init__.py"

Expand Down
15 changes: 0 additions & 15 deletions requirements-dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-test.txt

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ python =
commands =
pytest --cov . --cov-report html --cov-report term-missing --cov-report xml:{envdir}/coverage-{envname}.xml
deps =
-r requirements-test.txt
.[test]
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
djangomain: https://codeload.github.com/django/django/zip/main

0 comments on commit 095385d

Please sign in to comment.