Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ exclude: >
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.3.0
hooks:
- id: flake8

- repo: https://github.com/psf/black
rev: 23.10.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
if os.path.isdir("clipboard.js") and not os.path.isfile(
"clipboard.js/dist/clipboard.min.js"
):
raise SystemExit(
"""Error: clipboard.js submodule not available, run
raise SystemExit("""Error: clipboard.js submodule not available, run

git submodule update --init
"""
)
""")

with open("./README.md") as ff:
readme_text = ff.read()
Expand Down
1 change: 1 addition & 0 deletions sphinx_copybutton/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A small sphinx extension to add "copy" buttons to code blocks."""

from pathlib import Path
from sphinx.util import logging

Expand Down
Loading