fonttools/setup.cfg
Cosimo Lupo 232390ce5e
[setup.cfg] always use --pyargs option with pytest to re-enable doctests discovery
The --pyargs option makes pytest try interpreting arguments as importable python package names, or if that fails treat them as normal filesystem paths.

Now running `pytest` command will automatically run all the tests in "Tests" folder, as well as the embedded doctests in the installed "fontTools" package.

This is in reply to a comment by Behdad in
fdbf066a8c
2017-04-10 11:32:16 +01:00

54 lines
892 B
INI

[bumpversion]
current_version = 3.9.3.dev0
commit = True
tag = False
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{dev}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = final
values =
dev
final
[bumpversion:part:dev]
[bumpversion:file:Lib/fontTools/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[wheel]
universal = 1
[sdist]
formats = zip
[aliases]
test = pytest
[metadata]
license_file = LICENSE
[tool:pytest]
minversion = 3.0
testpaths =
Tests
fontTools
python_files =
*_test.py
python_classes =
*Test
addopts =
-v
-r a
--doctest-modules
--doctest-ignore-import-errors
--pyargs