Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions django.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ MAX_COMPLEXITY ?= 10
INTERFACE ?= localhost
RUNSERVER_PORT ?= 8000
PY_DIRS ?= $(APP)
BANDIT ?= $(VE)/bin/bandit
FLAKE8 ?= $(VE)/bin/flake8
PIP ?= $(VE)/bin/pip

jenkins: check flake8 test bandit
jenkins: check flake8 test

$(PY_SENTINAL): $(REQUIREMENTS)
rm -rf $(VE)
Expand All @@ -52,9 +51,6 @@ test: $(PY_SENTINAL)
parallel-tests: $(PY_SENTINAL)
$(MANAGE) test --parallel

bandit: $(PY_SENTINAL)
$(BANDIT) --ini ./.bandit -r $(PY_DIRS)

flake8: $(PY_SENTINAL)
$(FLAKE8) $(PY_DIRS) --max-complexity=$(MAX_COMPLEXITY) --exclude=*/local_settings.py,*/migrations/*.py --extend-ignore=$(FLAKE8_IGNORE)

Expand Down