From c5c4153d40bc9cc68d34bd56b1ea47e23b985014 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Thu, 2 Apr 2026 19:40:19 +0200 Subject: [PATCH] Adapt to newer black version requirements --- smtpselfservice/__init__.py | 1 + smtpselfservice/config.py | 1 + smtpselfservice/forms.py | 1 + smtpselfservice/github.py | 1 + 4 files changed, 4 insertions(+) diff --git a/smtpselfservice/__init__.py b/smtpselfservice/__init__.py index f700170..9522ade 100644 --- a/smtpselfservice/__init__.py +++ b/smtpselfservice/__init__.py @@ -1,6 +1,7 @@ """ A Flask webapp to allow setting a password in a database. """ + # SPDX-License-Identifier: BSD-2-Clause from flask import Flask, flash, url_for, redirect, render_template, request diff --git a/smtpselfservice/config.py b/smtpselfservice/config.py index 02f49fa..e1a4772 100644 --- a/smtpselfservice/config.py +++ b/smtpselfservice/config.py @@ -1,6 +1,7 @@ """ Module containing the configuration options for this Flask application. """ + # SPDX-License-Identifier: BSD-2-Clause import os diff --git a/smtpselfservice/forms.py b/smtpselfservice/forms.py index 115f398..803daeb 100644 --- a/smtpselfservice/forms.py +++ b/smtpselfservice/forms.py @@ -1,6 +1,7 @@ """ Forms used for setting the password. """ + # SPDX-License-Identifier: BSD-2-Clause from flask_wtf import FlaskForm diff --git a/smtpselfservice/github.py b/smtpselfservice/github.py index 204bdf9..e2823f5 100644 --- a/smtpselfservice/github.py +++ b/smtpselfservice/github.py @@ -1,6 +1,7 @@ """ GitHub API wrapper to obtain the localpart of our preferred email domain. """ + # SPDX-License-Identifier: BSD-2-Clause import requests