Anton Shestakov <av6@dwimlabs.net>, Fri, 16 Jun 2017 15:16:56 +0800
linters: make yamllint also use python_version
In case of Python 3 projects that also have YAML files this can change save
some seconds spent on setting up an extra virtualenv (for Python 2).
run-tests.py
Permissions: -rwxr-xr-x
from candolint.models import database, Project, Change, Check database.init(':memory:') database.create_tables([Project, Change, Check], safe=True) database.connect = Mock() sys.exit(pytest.main(['tests'] + sys.argv[1:])) if __name__ == '__main__':