Skip to content

Commit d8550a3

Browse files
authored
Merge pull request #174 from jazzband/fix-testing
fix testing
2 parents ee50930 + d1b597f commit d8550a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

django_redshift_backend/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def quoted_column_name(field_name):
10651065
# with migrations, so we validate here instead.
10661066
if len(distkey.fields) != 1:
10671067
raise ValueError(
1068-
"DistKey on model {} must have exactly " "one field.".format(
1068+
"DistKey on model {} must have exactly one field.".format(
10691069
model.__name__
10701070
)
10711071
)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name = "django-redshift-backend"
33
dynamic = ["version"]
44
description = "Redshift database backend for Django"
55
readme = "README.rst"
6-
license = {file = "LICENSE"}
6+
license = "Apache-2.0"
7+
license-files = ["LICENSE"]
78
requires-python = ">=3.9, <4"
89
authors = [
910
{ name = "shimizukawa", email = "[email protected]" },
@@ -20,7 +21,6 @@ classifiers = [
2021
"Framework :: Django :: 5.0",
2122
"Framework :: Django :: 5.1",
2223
"Intended Audience :: Developers",
23-
"License :: OSI Approved :: Apache Software License",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3.9",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ commands=
6464
[testenv:check]
6565
deps = uv
6666
commands =
67-
uv build
67+
uv build --sdist --wheel
6868
uvx twine check dist/*
6969

7070
[flake8]

0 commit comments

Comments
 (0)