Skip to content

Commit cbbc848

Browse files
committed
Add more linters.
1 parent f75a52c commit cbbc848

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,12 @@ repos:
1111
- id: blacken-docs
1212
additional_dependencies:
1313
- black==25.9.0
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
15+
rev: v6.0.0
16+
hooks:
17+
- id: end-of-file-fixer
18+
- id: trailing-whitespace
19+
- repo: https://github.com/sphinx-contrib/sphinx-lint
20+
rev: v1.0.0
21+
hooks:
22+
- id: sphinx-lint

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ help:
1616
# Catch-all target: route all unknown targets to Sphinx using the new
1717
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1818
%: Makefile
19-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
19+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/use/x402.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
x402
55
====
66

7-
It is possible to use :ref:`Zyte API <zyte-api>` without a Zyte API account by
7+
It is possible to use :ref:`Zyte API <zyte-api>` without a Zyte API account by
88
using the x402_ protocol to handle payments:
99

1010
#. Read the `Zyte Terms of Service`_. By using Zyte API, you are accepting

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ deps = {[min]deps}
3636

3737
[testenv:min-x402]
3838
basepython = python3.10
39-
deps =
39+
deps =
4040
{[min]deps}
4141
eth_account==0.13.7
4242
x402==0.1.1

0 commit comments

Comments
 (0)