Repository Config
checks:
python:
code_rating: true
duplicate_code: true
build:
dependencies:
before:
- pip install pytest pytest_cov
environment:
python: 3.6.3
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- py-scrutinizer-run
-
command: pylint-run
use_website_config: true
-
command: 'py.test --cov=shared/misc --cov-append --cov-report=xml tests/unit/misc'
environment: { PYTHONPATH: 'shared/misc' }
coverage:
file: '.coverage'
format: 'py-cc'
-
command: 'py.test --cov=shared/misc --cov-append --cov-report=xml tests/unit/utils'
environment: { PYTHONPATH: 'shared/utils' }
coverage:
file: '.coverage'
format: 'py-cc'
-
command: 'py.test --cov=shared/misc --cov-append --cov-report=xml tests/unit/modules'
environment: { PYTHONPATH: 'shared/modules' }
coverage:
file: '.coverage'
format: 'py-cc'
filter:
excluded_paths:
- '*/test/*'
dependency_paths:
- 'lib/*'