diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b978b00..396d0f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: args: [] - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.7.0 + rev: v0.8.1 hooks: - id: requirements-txt-sorter args: @@ -84,7 +84,7 @@ repos: - id: forbid-crlf - repo: https://github.com/python-formate/snippet-fmt - rev: v0.2.0 + rev: v0.3.1 hooks: - id: snippet-fmt additional_dependencies: diff --git a/doc-source/conf.py b/doc-source/conf.py index 4180de1..3ed254f 100644 --- a/doc-source/conf.py +++ b/doc-source/conf.py @@ -93,7 +93,7 @@ def setup(app): app.connect("config-inited", lambda app, config: better_header_layout(config)) app.connect("build-finished", copy_asset_files) - app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js") + app.add_js_file("https://cdn.jsdelivr.net/npm/twemoji@14.0.2/dist/twemoji.min.js") app.add_js_file("twemoji.js") app.add_css_file("twemoji.css") app.add_transform(sphinxemoji.EmojiSubstitutions) diff --git a/pyproject.toml b/pyproject.toml index 80219bc..c04e0a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,7 @@ extensions = [ "sphinx_packaging", "ignore_missing_xref", ] +sphinxemoji_source = "https://cdn.jsdelivr.net/npm/twemoji@14.0.2/dist/twemoji.min.js" gitstamp_fmt = "%d %b %Y" templates_path = [ "_templates",] html_static_path = [ "_static",] diff --git a/tox.ini b/tox.ini index a336a32..aeae47a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,10 @@ # * envlists # * testenv # * testenv:.package +# * testenv:py315-dev +# * testenv:py315 +# * testenv:py314-dev +# * testenv:py314 # * testenv:py313-dev # * testenv:py313 # * testenv:py312-dev @@ -163,7 +167,7 @@ skip_install = True ignore_errors = True changedir = {toxinidir} deps = pyupgrade-directories -commands = pyup_dirs snippet_fmt tests --py36-plus --recursive +commands = pyup_dirs snippet_fmt tests --py37-plus --recursive [testenv:coverage] basepython = python3.9