From d3a7e3a1d04ac80823ad03b59c227753eab672e2 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Tue, 21 Jan 2025 15:26:16 +0100 Subject: [PATCH] Make linter happy. --- docs/conf.py | 22 ++++++++++------------ setup.py | 6 +++--- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c62a050..4e5f68a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,17 +2,14 @@ # zope.sequencesort documentation build configuration file, created by # sphinx-quickstart on Thu Feb 28 14:48:57 2013. # -# This file is execfile()d with the current directory set to its containing dir. +# This file is execfile()d with the current directory set to its containing +# dir. # # Note that not all possible configuration values are present in this # autogenerated file. # -# All configuration values have a default; values that are commented out -# serve to show the default. - -import os -import sys - +# All configuration values have a default; values that are commented out serve +# to show the default. # 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 @@ -24,8 +21,8 @@ # If your documentation needs a minimal Sphinx version, state it here. # needs_sphinx = '1.0' -# Add any Sphinx extension module names here, as strings. They can be extensions -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', @@ -70,7 +67,8 @@ # directories to ignore when looking for source files. exclude_patterns = ['_build'] -# The reST default role (used for this markup: `text`) to use for all documents. +# The reST default role (used for this markup: `text`) to use for all +# documents. # default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. @@ -184,8 +182,8 @@ # 'preamble': '', } -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass [howto/manual]). +# Grouping the document tree into LaTeX files. List of tuples (source start +# file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'zopesequencesort.tex', 'zope.sequencesort Documentation', 'Zope Foundation Contributors', 'manual'), diff --git a/setup.py b/setup.py index 697ad74..ad5f6d2 100644 --- a/setup.py +++ b/setup.py @@ -48,11 +48,11 @@ def read(*rnames): 'License :: OSI Approved :: Zope Public License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Natural Language :: English', @@ -65,7 +65,7 @@ def read(*rnames): packages=find_packages('src'), package_dir={'': 'src'}, namespace_packages=['zope'], - python_requires='>=3.7', + python_requires='>=3.9', extras_require={ 'docs': [ 'Sphinx',