Skip to content

Commit

Permalink
¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
carlio committed Mar 25, 2022
1 parent f06dc12 commit ccb1a32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions scripts/test_django_not_installed.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
pylint --rcfile=tox.ini --load-plugins=pylint_django setup.py | grep django-not-configured
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[tox]
envlist =
#django_not_installed # TODO: can't get Tox to stop escaping the | in the command, all of a sudden
django_not_installed
django_is_installed
flake8
pylint
Expand All @@ -18,7 +18,7 @@ requires =

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

0 comments on commit ccb1a32

Please sign in to comment.