Compare commits

...

3 commits

Author SHA1 Message Date
Tekktrik
e60f06d182 Update .pylintrc, fix jQuery for docs
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-23 21:13:02 -04:00
Tekktrik
1e86f0ecd4 Update pre-commit hooks
Signed-off-by: Tekktrik <tekktrik@gmail.com>
2023-05-10 15:30:22 -04:00
Kattni
02b748f2e6
Merge pull request #1 from adafruit/fix-doc-badge
fix the doc badge link to match the rtd project slug
2023-05-05 14:55:14 -04:00
4 changed files with 7 additions and 5 deletions

View file

@ -4,21 +4,21 @@
repos: repos:
- repo: https://github.com/python/black - repo: https://github.com/python/black
rev: 22.3.0 rev: 23.3.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/fsfe/reuse-tool - repo: https://github.com/fsfe/reuse-tool
rev: v0.14.0 rev: v1.1.2
hooks: hooks:
- id: reuse - id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0 rev: v4.4.0
hooks: hooks:
- id: check-yaml - id: check-yaml
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/pycqa/pylint - repo: https://github.com/pycqa/pylint
rev: v2.15.5 rev: v2.17.4
hooks: hooks:
- id: pylint - id: pylint
name: pylint (library code) name: pylint (library code)

View file

@ -396,4 +396,4 @@ min-public-methods=1
# Exceptions that will emit a warning when being caught. Defaults to # Exceptions that will emit a warning when being caught. Defaults to
# "Exception" # "Exception"
overgeneral-exceptions=Exception overgeneral-exceptions=builtins.Exception

View file

@ -17,6 +17,7 @@ sys.path.insert(0, os.path.abspath(".."))
# ones. # ones.
extensions = [ extensions = [
"sphinx.ext.autodoc", "sphinx.ext.autodoc",
"sphinxcontrib.jquery",
"sphinx.ext.intersphinx", "sphinx.ext.intersphinx",
"sphinx.ext.napoleon", "sphinx.ext.napoleon",
"sphinx.ext.todo", "sphinx.ext.todo",

View file

@ -3,3 +3,4 @@
# SPDX-License-Identifier: Unlicense # SPDX-License-Identifier: Unlicense
sphinx>=4.0.0 sphinx>=4.0.0
sphinxcontrib-jquery