Skip to content

Commit

Permalink
Linux Foundation copyright style + SPDX identifier comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubernostrum committed May 27, 2024
1 parent f3904af commit 52340a7
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2007-2022, James Bennett
Copyright (c) James Bennett, and contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
authors = [
{name = "James Bennett", email = "[email protected]"}
{name = "James Bennett"}
]
maintainers = [
{name = "James Bennett"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down
2 changes: 2 additions & 0 deletions src/django_contact_form/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

__version__ = "5.0.0a1"
2 changes: 2 additions & 0 deletions src/django_contact_form/_akismet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

import textwrap
import warnings

Expand Down
2 changes: 2 additions & 0 deletions src/django_contact_form/akismet_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django.urls import path
from django.views.generic import TemplateView

Expand Down
2 changes: 2 additions & 0 deletions src/django_contact_form/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django import forms
from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
Expand Down
2 changes: 2 additions & 0 deletions src/django_contact_form/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django.urls import path
from django.views.generic import TemplateView

Expand Down
2 changes: 2 additions & 0 deletions src/django_contact_form/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django.urls import reverse_lazy
from django.views.generic.edit import FormView

Expand Down
2 changes: 2 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

import pathlib

from django.utils.crypto import get_random_string
Expand Down
2 changes: 2 additions & 0 deletions tests/test_akismet_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

import os
from http import HTTPStatus
from unittest import mock
Expand Down
2 changes: 2 additions & 0 deletions tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django.conf import settings
from django.core import mail
from django.test import RequestFactory, TestCase
Expand Down
2 changes: 2 additions & 0 deletions tests/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from django.urls import path
from django.views.generic import TemplateView

Expand Down
2 changes: 2 additions & 0 deletions tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"""

# SPDX-License-Identifier: BSD-3-Clause

from http import HTTPStatus

import django
Expand Down

0 comments on commit 52340a7

Please sign in to comment.