Projet

Général

Profil

0002-tox-discard-deprecated-sqlite-env-configuration-6254.patch

Paul Marillonnet, 10 mars 2022 10:38

Télécharger (1000 octets)

Voir les différences:

Subject: [PATCH 2/3] tox: discard deprecated sqlite env configuration (#62541)

 tox.ini | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
tox.ini
7 7
whitelist_externals =
8 8
  /bin/mv
9 9
setenv =
10
        sqlite: DB_ENGINE=sqlite3
11
        pg: DB_ENGINE=postgresql_psycopg2
10
        DB_ENGINE=postgresql_psycopg2
12 11
        DJANGO_SETTINGS_MODULE=fargo.settings
13 12
        FARGO_SETTINGS_FILE=tests/settings.py
14 13
	SETUPTOOLS_USE_DISTUTILS=stdlib
15 14
        coverage: COVERAGE=--junitxml=junit-{envname}.xml --random --cov-report xml --cov-report html --cov=fargo/
16 15
deps =
17 16
        pytest
18
        pg: psycopg2<2.9
17
        psycopg2<2.9
19 18
        pylint
20 19
        pylint-django
21 20
        dj22: django>=2.2,<2.3
22
-