Skip to content

Commit 71b1e7e

Browse files
committed
Revert changes to pyproject.toml.
These changes were not necessary. I am very sorry for the things that I did.
1 parent 24edd0a commit 71b1e7e

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

pydis_site/apps/resources/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from django.conf import settings
44
from django.test import TestCase
5-
from django_hosts import reverse
5+
from django.urls import reverse
66

77
TESTING_RESOURCES_PATH = Path(
88
settings.BASE_DIR, "pydis_site", "apps", "resources", "tests", "testing_resources"

pyproject.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,25 @@ authors = ["Python Discord <[email protected]>"]
66
license = "MIT"
77

88
[tool.poetry.dependencies]
9+
python = "3.9.*"
910
django = "~=3.1.14"
10-
django-distill = "~=2.9.0"
1111
django-environ = "~=0.4.5"
1212
django-filter = "~=21.1"
13-
django-prometheus = "~=2.1"
14-
django-simple-bulma = "~=2.4"
1513
djangorestframework = "~=3.12.0"
16-
gunicorn = "~=20.0.4"
17-
markdown = "~=3.3.4"
1814
psycopg2-binary = "~=2.8.0"
19-
python = "3.9.*"
20-
python-frontmatter = "~=1.0"
21-
pyyaml = "~=5.1"
15+
django-simple-bulma = "~=2.4"
16+
whitenoise = "~=5.0"
2217
requests = "~=2.21"
18+
pyyaml = "~=5.1"
19+
gunicorn = "~=20.0.4"
2320
sentry-sdk = "~=0.19"
24-
whitenoise = "~=5.0"
21+
markdown = "~=3.3.4"
22+
python-frontmatter = "~=1.0"
23+
django-prometheus = "~=2.1"
24+
django-distill = "~=2.9.0"
2525

2626
[tool.poetry.dev-dependencies]
2727
coverage = "~=5.0"
28-
coveralls = "~=2.1"
2928
flake8 = "~=3.7"
3029
flake8-annotations = "~=2.0"
3130
flake8-bandit = "~=2.1"
@@ -39,18 +38,20 @@ mccabe = "~=0.6.1"
3938
pep8-naming = "~=0.9"
4039
pre-commit = "~=2.1"
4140
pyfakefs = "~=4.5"
42-
python-dotenv = "~=0.17.1"
41+
coveralls = "~=2.1"
4342
taskipy = "~=1.7.0"
43+
python-dotenv = "~=0.17.1"
4444

4545
[build-system]
46-
build-backend = "poetry.core.masonry.api"
4746
requires = ["poetry-core>=1.0.0"]
47+
build-backend = "poetry.core.masonry.api"
4848

4949
[tool.taskipy.tasks]
50+
start = "python manage.py run --debug"
51+
makemigrations = "python manage.py makemigrations"
5052
django_shell = "python manage.py shell"
53+
test = "coverage run manage.py test"
54+
report = "coverage report -m"
5155
lint = "pre-commit run --all-files"
52-
makemigrations = "python manage.py makemigrations"
5356
precommit = "pre-commit install"
54-
report = "coverage report -m"
55-
start = "python manage.py run --debug"
56-
test = "coverage run manage.py test"
57+
static = "python manage.py distill-local build --traceback --force"

0 commit comments

Comments
 (0)