mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
a8d4f37b19
Now tests all supported Python environments as well. Allows testing the full matrix of Python version with a single command. Include the command make in the whitelist_externals configuration to avoid the runtime warning: WARNING:test command found but not installed in testenv cmd: /usr/bin/make env: .../psycopg2/.tox/flake8 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
12 lines
201 B
INI
12 lines
201 B
INI
[tox]
|
|
envlist = py{27,34,35,36}
|
|
|
|
[testenv]
|
|
commands = make check
|
|
whitelist_externals = make
|
|
|
|
[flake8]
|
|
max-line-length = 85
|
|
ignore = E128, W503
|
|
exclude = build, doc, sandbox, examples, tests/dbapi20.py
|