Skip to content

Commit

Permalink
Supprime les options de ligne de commande de flake8 (#4431)
Browse files Browse the repository at this point in the history
flake8 va lire ses options depuis le tox.ini :

http://flake8.pycqa.org/en/latest/user/configuration.html
  • Loading branch information
motet-a authored and sandhose committed Sep 18, 2017
1 parent 1e41e40 commit 2342170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -49,7 +49,7 @@ install-back:
pip install --upgrade -r requirements.txt -r requirements-dev.txt

lint-back:
flake8 --exclude=migrations --max-line-length=120 zds
flake8 zds

report-release-back:
python scripts/release_generator.py
Expand Down
2 changes: 1 addition & 1 deletion doc/source/utils/git-pre-hook.rst
Expand Up @@ -18,7 +18,7 @@ restera propre et lisible au cours du temps !

#!/bin/sh

flake8 --exclude=migrations --max-line-length=120 zds
flake8 zds

# Store tests result
RESULT=$?
Expand Down

0 comments on commit 2342170

Please sign in to comment.