Adopt ruff and fix prelim lints

This commit is contained in:
James R. Barlow
2023-04-14 00:19:17 -07:00
parent 42c0d0f48f
commit b7eb93eb79
9 changed files with 31 additions and 17 deletions
+2 -1
View File
@@ -2,6 +2,8 @@
# SPDX-FileCopyrightText: 2022 James R. Barlow
# SPDX-License-Identifier: CC-BY-SA-4.0
# ruff: noqa: E402
# ocrmypdf documentation build configuration file, created by
# sphinx-quickstart on Sun Sep 4 14:29:43 2016.
#
@@ -78,7 +80,6 @@ author = 'James R. Barlow'
import os
from importlib.metadata import version as package_version
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd: