forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
37 lines (37 loc) · 1.08 KB
/
.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
29
30
31
32
33
34
35
36
37
checks:
python:
code_rating: true
duplicate_code: true
classes_valid_slots: true
filter:
excluded_paths:
- '*/migrations/*'
build:
environment:
python: 3.6
postgresql: true
dependencies:
before:
- pip install -r ci/requirements-scrutinizer.txt
nodes:
analysis:
tests:
override:
-
command: pylint-run --rcfile=.pylintrc
idle_timeout: 360
- py-scrutinizer-run
tests:
tests:
override:
-
command: export DJANGO_SETTINGS_MODULE=weblate.settings_test
-
command: ./manage.py collectstatic --noinput
-
command: coverage run --source . ./manage.py test
-
command: coverage combine
coverage:
file: .coverage
format: py-cc