aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml42
-rw-r--r--src/scadere/listen.py5
2 files changed, 24 insertions, 23 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4a78d86..91b3428 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,25 +1,25 @@
[build-system]
-requires = [ "flit_core >=3.2,<4" ]
-build-backend = "flit_core.buildapi"
+requires = [ 'flit_core >=3.2,<4' ]
+build-backend = 'flit_core.buildapi'
[project]
-name = "scadere"
-description = "TLS certificate renewal reminder"
-readme = "README.md"
-requires-python = ">=3.11"
-license = { file = "COPYING" }
-authors = [ { name = "Nguyễn Gia Phong", email = "cnx@loang.net" } ]
-maintainers = [ { name = "Nguyễn Gia Phong", email = "chung@loa.loang.net" } ]
-keywords = [ "atom", "tls", "ca" ]
+name = 'scadere'
+description = 'TLS certificate renewal reminder'
+readme = 'README.md'
+requires-python = '>=3.9'
+license = { file = 'COPYING' }
+authors = [ { name = 'Nguyễn Gia Phong', email = 'cnx@loang.net' } ]
+maintainers = [ { name = 'Nguyễn Gia Phong', email = 'chung@loa.loang.net' } ]
+keywords = [ 'atom', 'tls', 'ca' ]
classifiers = [
- "Development Status :: 4 - Beta",
- "Environment :: Console",
- "Environment :: Web Environment",
- "Framework :: AsyncIO",
- "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
- "Operating System :: OS Independent",
- "Programming Language :: Python",
- "Topic :: Utilities" ]
-dynamic = [ "version" ]
-urls = { Source = "https://trong.loang.net/scadere" }
-scripts = { scadere = "scadere.__main__:main" }
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Environment :: Web Environment',
+ 'Framework :: AsyncIO',
+ 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Utilities' ]
+dynamic = [ 'version' ]
+urls = { Source = 'https://trong.loang.net/scadere' }
+scripts = { scadere = 'scadere.__main__:main' }
diff --git a/src/scadere/listen.py b/src/scadere/listen.py
index bac32c8..aebd409 100644
--- a/src/scadere/listen.py
+++ b/src/scadere/listen.py
@@ -106,8 +106,9 @@ async def handle(certs, base_url, reader, writer):
('link', {'rel': 'self', 'href': base_url}),
('title', certs.name),
('updated', datetime.now().isoformat()),
- ('generator', {'uri': 'https://trong.loang.net/scadere/about',
- 'version': __version__},
+ ('generator',
+ {'uri': 'https://trong.loang.net/scadere/about',
+ 'version': __version__},
'Scadere'),
*(entry(base_url, cert)
for cert in summaries if cert[2].endswith(domains))))