| 1 |
# |
| 2 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 |
# you may not use this file except in compliance with the License. |
| 4 |
# You may obtain a copy of the License at |
| 5 |
# |
| 6 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 7 |
# |
| 8 |
# Unless required by applicable law or agreed to in writing, software |
| 9 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 10 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 |
# See the License for the specific language governing permissions and |
| 12 |
# limitations under the License. |
| 13 |
# |
| 14 |
[aliases] |
| 15 |
test=pytest |
| 16 |
|
| 17 |
[tool:pytest] |
| 18 |
addopts = --verbose --basetemp ./tmp --durations=20 |
| 19 |
testpaths = tests |
| 20 |
norecursedirs = tests/sources/pip-build integration-cache tmp __pycache__ .eggs |
| 21 |
python_files = tests/*.py |
| 22 |
markers = |
| 23 |
integration: run test only if --integration option is specified |
| 24 |
datafiles: share datafiles in tests |
| 25 |
env = |
| 26 |
D:BST_TEST_SUITE=True |
| 27 |
|
| 28 |
[mypy] |
| 29 |
files = src |
| 30 |
warn_unused_configs = True |
| 31 |
warn_no_return = True |