-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpytest.ini
More file actions
28 lines (24 loc) · 867 Bytes
/
pytest.ini
File metadata and controls
28 lines (24 loc) · 867 Bytes
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
#
# For licensing see accompanying LICENSE file.
# Copyright (C) 2020 Apple Inc. All Rights Reserved.
#
[pytest]
# This determines where test are found
testpaths = quant/ tests/
# Run pytest with these options by default
# Enables: mypy, flake8, and coverage.py
addopts =
--mypy
--flake8
--cov quant
--cov-config coverage.ini
--cov-report term
# flake8 configuration options (plugin does not yet allow us to place it in its own file)
flake8-extensions = .py
flake8-ignore =
__init__.py F401 # Ignore unused imports in __init__.py's
tests/*.py D1 # Ignore documentation issues in tests
D107 # Ignore lack of documentation in __init__ magic methods
flake8-max-line-length = 100
markers =
incremental: mark an incremental test, a test that performs a sequence of steps and stops when any step fails.