]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
style: adjust docstring after black 25.1.0 upgrade
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Jan 2025 12:48:10 +0000 (13:48 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Jan 2025 17:02:49 +0000 (18:02 +0100)
docs/lib/sql_role.py
docs/lib/ticket_role.py
tests/scripts/copytest.py
tools/bump_version.py
tools/update_backer.py
tools/update_error_prefixes.py

index e87d6f5be7da286192053a31910ad8ffe4fce1d4..8ba9bbe7ec1b91042085c8d375fdab2bff0003d4 100644 (file)
@@ -1,12 +1,12 @@
 # mypy: ignore-errors
 """
-    sql role
-    ~~~~~~~~
+sql role
+~~~~~~~~
 
-    An interpreted text role to style SQL syntax in Psycopg documentation.
+An interpreted text role to style SQL syntax in Psycopg documentation.
 
-    :copyright: Copyright 2010 by Daniele Varrazzo.
-    :copyright: Copyright 2020 The Psycopg Team.
+:copyright: Copyright 2010 by Daniele Varrazzo.
+:copyright: Copyright 2020 The Psycopg Team.
 """
 
 from docutils import nodes, utils
index 24ec873d89d0a6343363592b7524e5b68a988620..3f8a81204b2a77deb213a1cf1c215be66163dd48 100644 (file)
@@ -1,12 +1,12 @@
 # type: ignore
 """
-    ticket role
-    ~~~~~~~~~~~
+ticket role
+~~~~~~~~~~~
 
-    An interpreted text role to link docs to tickets issues.
+An interpreted text role to link docs to tickets issues.
 
-    :copyright: Copyright 2013 by Daniele Varrazzo.
-    :copyright: Copyright 2021 The Psycopg Team
+:copyright: Copyright 2013 by Daniele Varrazzo.
+:copyright: Copyright 2021 The Psycopg Team
 """
 
 import re
index bee8a34fca6b8958ec27068491e24b2e7366eef9..dae4b9cfc1338d1dc1d54a0496917691082129af 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env python
-"""Copy operation micro-benchmarks.
-"""
+"""Copy operation micro-benchmarks."""
 from __future__ import annotations
 
 import sys
index 3e14b8d7d267ff231099281e273d079b6c482b3c..d1f030fe30cbaa4032f5f45d428f0b163aaa68bb 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env python
-"""Bump the version number of the project.
-"""
+"""Bump the version number of the project."""
 
 from __future__ import annotations
 
index 35cfc48fe3a72a6d07e9a31e9a225447d98a671c..045f559715e8fa006af705dad9f4def62beb91b5 100755 (executable)
@@ -1,7 +1,6 @@
 #!/usr/bin/env python3
 # mypy: ignore-errors
-"""Add or edit github users in the backers file
-"""
+"""Add or edit github users in the backers file"""
 
 import sys
 import logging
index af63ae2409c7553d946fd75e3c2344b926272389..52ba2cb351016099e8166c1e257b0ab1d4f44da9 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env python
-"""Find the error prefixes in various l10n used for precise prefixstripping.
-"""
+"""Find the error prefixes in various l10n used for precise prefixstripping."""
 
 import re
 import logging