forked from inasafe/inasafe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
28 lines (26 loc) · 1015 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
checks:
python:
code_rating: true
duplicate_code: true
before_commands:
- sudo apt-get install -y python-software-properties
# - sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable # qgis 2.10
- sudo apt-get install -y software-properties-common
- sudo add-apt-repository http://qgis.org/debian-ltr # for QGIS LTR
- sudo apt-get update
- sudo apt-get install -y --force-yes git qgis python-qgis xvfb python-nose python-coverage pyflakes python-nosexcover python-scientific python-beautifulsoup
- export QGIS_PREFIX_PATH=/usr
- export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python/:${QGIS_PREFIX_PATH}/share/qgis/python/plugins:`pwd`
- echo "PYTHONPATH:" $PYTHONPATH
- export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
tools:
pylint:
python_version: '2'
config_file: pylintrc
filter:
excluded_paths:
- '*/test/*'
- 'safe_extras/*'
- 'extras/*'
- 'resources/*'
- 'scripts/*'