hopefully last doc fix
This commit is contained in:
parent
22f260c229
commit
67982062a2
@ -32,7 +32,7 @@ Setup for Nailgun Unit Tests
|
||||
sudo apt-get install python-dev python-pip python-psycopg2 python-jinja2
|
||||
sudo apt-get install python-paste python-yaml python-sqlalchemy python-kombu
|
||||
sudo apt-get install python-crypto python-simplejson python-webpy python-nose
|
||||
sudo pip install fysom jsonschema
|
||||
sudo pip install fysom jsonschema hacking==0.7
|
||||
|
||||
#. Install and configure PostgreSQL database::
|
||||
|
||||
|
@ -81,6 +81,9 @@ if [ $fail_first -eq 1 ]; then
|
||||
fi
|
||||
|
||||
function run_flake8 {
|
||||
# H302 - "import only modules. does not import a module" requires to import only modules and not functions
|
||||
# H802 - first line of git commit commentary should be less than 50 characters
|
||||
# urls.py,__init__.py - are exclude because they don't comply with pep standard
|
||||
flake8 --exclude=urls.py,__init__.py --ignore=H302,H802 --show-source --show-pep8 --count . || return 1
|
||||
echo "Flake8 check passed successfully."
|
||||
}
|
||||
|
@ -24,4 +24,4 @@ tornado==3.0
|
||||
web.py==0.37
|
||||
wsgilog==0.3
|
||||
wsgiref==0.1.2
|
||||
hacking>=0.6,<0.8
|
||||
hacking==0.7
|
Loading…
Reference in New Issue
Block a user