diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 717c7c3..8bdbdc4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -15,24 +15,24 @@ repos: - id: mixed-line-ending - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.1 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.14.0 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: [black] - repo: https://github.com/timothycrosley/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: @@ -40,13 +40,13 @@ repos: - flake8-bugbear - repo: https://github.com/asottile/pyupgrade - rev: v3.7.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.4.1' # Use the sha / tag you want to point at + rev: 'v1.10.0' # Use the sha / tag you want to point at hooks: - id: mypy additional_dependencies: diff --git a/docs/conf.py b/docs/conf.py index 3cded50..3497203 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,5 @@ """Configure Sphinx configuration.""" + import os import sys from datetime import datetime @@ -25,4 +26,4 @@ html_theme_options = { "canonical_url": f"https://palewi.re/docs/{project}/", "nosidebar": True, -} \ No newline at end of file +}