Mercurial > kallithea
view tox.ini @ 8849:618e09120d47
bin: add missing imports
Spotted by pytype --strict-import:
File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'utils' on module 'kallithea.lib' [module-attr]
File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'scm' on module 'kallithea.model' [module-attr]
It happened to work anyway due to the import chain ... but it is better to be
explicit.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 14 Jan 2021 21:46:10 +0100 |
parents | ab30729c735c |
children |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py27-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = -r{toxinidir}/dev_requirements.txt python-ldap python-pam commands = pytest: py.test {posargs}