From 685ab8ec470db2efc1a1777c7116a7be8c44f407 Mon Sep 17 00:00:00 2001 From: Martin Wendt Date: Sat, 21 Sep 2024 22:05:19 +0200 Subject: [PATCH] Fix docs --- .readthedocs.yaml | 2 +- docs/sphinx/conf.py | 3 +-- docs/sphinx/development.rst | 2 +- docs/sphinx/index.rst | 4 ---- pyproject.toml | 1 + setup.cfg | 12 ++++++------ 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e68c232..75a69f9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,7 +11,7 @@ build: tools: python: "3.12" apt_packages: - - "graphviz" + - "graphviz" # Required for Sphinx's graphviz extension (class diagrams) # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 0b08295..9bf87e1 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -46,7 +46,6 @@ # ones. extensions = [ 'myst_parser', - # 'recommonmark', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.intersphinx', @@ -223,7 +222,7 @@ # "github_size": "small", "github_count": "true", # "travis_button": True, - # "codecov_button": True, + "codecov_button": True, "show_related": False, "note_bg": "#FFF59C", } diff --git a/docs/sphinx/development.rst b/docs/sphinx/development.rst index 1824197..82366e4 100644 --- a/docs/sphinx/development.rst +++ b/docs/sphinx/development.rst @@ -101,7 +101,7 @@ Format code using the editor's formatting options or like so:: `PEP 8 `_. Failing tests or not follwing PEP 8 will break builds on - `travis `_, + `GitHub `_, so run ``$ tox`` and ``$ tox -e format`` frequently and before you commit! diff --git a/docs/sphinx/index.rst b/docs/sphinx/index.rst index e73b854..e685afe 100644 --- a/docs/sphinx/index.rst +++ b/docs/sphinx/index.rst @@ -108,10 +108,6 @@ Nutree Facts `Read more `_ ... -.. .. |travis_badge| image:: https://travis-ci.com/mar10/nutree.svg?branch=main -.. :alt: Build Status -.. :target: https://app.travis-ci.com/github/mar10/nutree - .. |gha_badge| image:: https://github.com/mar10/nutree/actions/workflows/tests.yml/badge.svg :alt: Build Status :target: https://github.com/mar10/nutree/actions/workflows/tests.yml diff --git a/pyproject.toml b/pyproject.toml index 3c3b477..92b4cf5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ select = [ "E", # pycodestyle "F", # pyflakes "G", # flake8-logging-format + "I", # isort "UP", # pyupgrade "T", # print, ... # "D", # pydocstyle diff --git a/setup.cfg b/setup.cfg index 570fc35..45ebfe3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,12 +45,12 @@ classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only ; Programming Language :: Python :: 3.7 # EOL 2023-06-27 - Programming Language :: Python :: 3.8 # EOL 2024-10 - Programming Language :: Python :: 3.9 # EOL 2025-10 - Programming Language :: Python :: 3.10 # EOL 2026-10 - Programming Language :: Python :: 3.11 # EOL 2027-10 - Programming Language :: Python :: 3.12 # EOL 2028-10 - ; Programming Language :: Python :: 3.13 # EOL 2029-10 + 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 Topic :: Software Development :: Libraries :: Python Modules [options]