forked from psycopg/psycopg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (34 loc) · 704 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
envlist = black, flake8, mypy, codespell
isolated_build = True
[testenv]
passenv = PIP_CONSTRAINT
skip_install = true
[testenv:black]
commands = black --check --diff .
deps =
-e psycopg[dev]
[testenv:flake8]
commands = flake8
deps =
-e psycopg[dev]
[testenv:mypy]
commands = mypy
deps =
-e psycopg[dev,test]
[testenv:docs]
commands = sphinx-build -W -T -b html docs docs/_build/html
deps =
./psycopg[docs]
./psycopg_pool
[testenv:codespell]
commands = codespell docs psycopg* tests
deps =
codespell
[flake8]
max-line-length = 88
ignore = W503, E203
extend-exclude = .venv
per-file-ignores =
# Autogenerated section
psycopg/psycopg/errors.py: E125, E128, E302