From 4b16021607aad95aef866a17cc5bc92881c34d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Mon, 25 Mar 2024 16:07:05 +0100 Subject: [PATCH] Fixed flake8 errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- point_cloud_transport/doc/conf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/point_cloud_transport/doc/conf.py b/point_cloud_transport/doc/conf.py index ae3487d..612a136 100644 --- a/point_cloud_transport/doc/conf.py +++ b/point_cloud_transport/doc/conf.py @@ -25,6 +25,8 @@ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. +from datetime import datetime + import os import sys sys.path.insert(0, os.path.abspath('.')) @@ -33,9 +35,8 @@ # -- Project information ----------------------------------------------------- -from datetime import datetime -now = datetime.now() # current date and time -year = now.strftime("%Y") +now = datetime.now() # current date and time +year = now.strftime('%Y') project = 'point_cloud_transport' copyright = '2008-' + year + ', Open Source Robotics Foundation, Inc.' # noqa @@ -62,7 +63,7 @@ 'sphinx.ext.doctest', 'sphinx.ext.coverage', 'sphinx_rtd_theme', - "myst_parser", + 'myst_parser', ] # Add any paths that contain templates here, relative to this directory.