Checkout Config
checks:
python:
code_rating: true
duplicate_code: true
filter:
paths: ['kytos/*', 'tests/*']
excluded_paths:
- 'bin/*'
build:
environment:
python: 3.6.9
postgresql: false
redis: false
dependencies:
before:
- pip install tox
- pip install coverage
tests:
override:
-
command: 'tox'
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
- py-scrutinizer-run
Global Config
# The only exception to this global config is kytos-ng/kytos repo, because of
# the usage of py37 tox env and its incompatibility with python: 3.6
# scrutinizer environment.
checks:
python:
code_rating: true
duplicate_code: true
filter:
paths: ['*']
build:
environment:
python: 3.6.3
postgresql: false
redis: false
dependencies:
before:
- pip install -U pip
- pip install coverage tox
tests:
override:
-
command: 'tox'
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
nodes:
analysis:
tests:
override:
- py-scrutinizer-run
tests: true