You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/01/31 16:33:27 UTC

[couchdb-documentation] branch fix-python-black-formatting created (now e74e7ea)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch fix-python-black-formatting
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.


      at e74e7ea  Reformat src/conf.py to conform to latest python black rules

This branch includes the following new commits:

     new e74e7ea  Reformat src/conf.py to conform to latest python black rules

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[couchdb-documentation] 01/01: Reformat src/conf.py to conform to latest python black rules

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch fix-python-black-formatting
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit e74e7ea3fec8801311a733c2f1dde649b8679085
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Mon Jan 31 11:26:18 2022 -0500

    Reformat src/conf.py to conform to latest python black rules
    
    Python black removed Python 2 support so it now flags the `u` prefixed strings.
    
    We picked up python black 22.1:
    ```
    Collecting black
      Downloading black-22.1.0-py3-none-any.whl (160 kB)
    ```
    
    It removed python 2 support:
     * https://pypi.org/project/black/22.1.0/
     * https://github.com/psf/black/pull/2740
---
 src/conf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/conf.py b/src/conf.py
index 550e80d..7eecf81 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -36,12 +36,12 @@ nitpicky = True
 version = "3.2"
 release = "3.2.0"
 
-project = u"Apache CouchDB\u00ae"
+project = "Apache CouchDB\u00ae"
 
-copyright = u"%d, %s" % (
+copyright = "%d, %s" % (
     datetime.datetime.now().year,
-    u"Apache Software Foundation. CouchDB\u00ae is a registered trademark of the "
-    + u"Apache Software Foundation",
+    "Apache Software Foundation. CouchDB\u00ae is a registered trademark of the "
+    + "Apache Software Foundation",
 )
 
 primary_domain = "http"