Skip to content

Commit ccb1a32

Browse files
committed
¯\_(ツ)_/¯
1 parent f06dc12 commit ccb1a32

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/test_django_not_installed.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
pylint --rcfile=tox.ini --load-plugins=pylint_django setup.py | grep django-not-configured

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[tox]
55
envlist =
6-
#django_not_installed # TODO: can't get Tox to stop escaping the | in the command, all of a sudden
6+
django_not_installed
77
django_is_installed
88
flake8
99
pylint
@@ -18,7 +18,7 @@ requires =
1818

1919
[testenv]
2020
commands =
21-
django_not_installed: pylint --rcfile=tox.ini --load-plugins=pylint_django setup.py | grep django-not-configured
21+
django_not_installed: bash scripts/test_django_not_installed.sh
2222
django_is_installed: pylint --rcfile=tox.ini --load-plugins=pylint_django --disable=E5110 setup.py
2323
flake8: flake8
2424
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup
@@ -50,7 +50,7 @@ setenv =
5050
PIP_DISABLE_PIP_VERSION_CHECK = 1
5151
PYTHONPATH = .
5252
allowlist_externals =
53-
django_not_installed: pylint
53+
django_not_installed: bash
5454
readme: bash
5555
py{36}-django{111,20,-main}: coverage
5656
py{36,37,38,39}-django{22,30,31,32,40}: coverage

0 commit comments

Comments
 (0)