]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Configure codespell in tox.ini
authorH <juana.galan@outlook.com>
Wed, 19 Jan 2022 20:57:35 +0000 (20:57 +0000)
committerH <juana.galan@outlook.com>
Wed, 19 Jan 2022 20:57:35 +0000 (20:57 +0000)
tox.ini

diff --git a/tox.ini b/tox.ini
index f833c85c9119447af1f1476ba00f7e1c354c1223..58c5f7f0c232f208747256b9565e61d0800dcda5 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = black, flake8, mypy
+envlist = black, flake8, mypy, codespell
 isolated_build = True
 
 [testenv]
@@ -27,6 +27,11 @@ deps =
     ./psycopg[docs]
     ./psycopg_pool
 
+[testenv:codespell]
+commands = codespell -L "alot,ans,ba,fo,te" docs psycopg* tests
+deps =
+    codespell
+
 [flake8]
 max-line-length = 85
 ignore = W503, E203