forked from MechanicalSoup/MechanicalSoup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
27 lines (22 loc) · 828 Bytes
/
setup.cfg
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
[aliases]
test=pytest
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
[tool:pytest]
# These options allow us to invoke an undecorated pytest to run tests.
addopts = --cov --cov-config .coveragerc --flake8 -v
# Specify which files to ignore for flake8 tests (note that there is no file
# inclusion option, only exclusion).
flake8-ignore =
docs/*.py ALL
# Tell pytest to look for tests in all .py files in the tests subdirectory.
# This will allow pytest to rewrite asserts in auxiliary test modules.
python_files = tests/*.py
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all-files = 1
fresh-env = 1