BW3-Core/test/pytest.ini

28 lines
1 KiB
INI

# -*- coding: utf-8 -*-
# ____ ____ ______ __ __ __ _____
# / __ )/ __ \/ ___/ | / /___ _/ /______/ /_ |__ /
# / __ / / / /\__ \| | /| / / __ `/ __/ ___/ __ \ /_ <
# / /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / ___/ /
#/_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ /____/
# German BOS Information Script
# by Bastian Schroll
[pytest]
addopts = -v --flake8 --flakes --cov=boswatch/ --cov=module/ --cov plugin/ --cov-report=term-missing --log-level=CRITICAL
# classic or progress
console_output_style = progress
log_file=log/test.log
log_file_level=debug
log_file_format=%(asctime)s - %(module)-12s %(funcName)-15s [%(levelname)-8s] %(message)s
log_file_date_format=%d.%m.%Y %H:%M:%S
#flake8 plugin
flake8-ignore = E402 E501 E722 W504 W605
# E402 # import not at top
# E501 # line too long
# E722 # do not use bare 'except'
# W504 # line break after binary operator
# W605 # invalid escape sequence
# flake8-max-line-length = 99