httpie-cli/setup.cfg
Mickaël Schoentgen 529aa78ee1
Expand the pytest configuration (#1161)
And rely on it to run tests.
2021-09-20 17:36:03 +02:00

21 lines
558 B
INI

# Please keep all characters in this file in ASCII
# distutils uses system's locale to interpret it and not everybody
# uses UTF-8. See https://github.com/httpie/httpie/issues/1039
# for an example
[wheel]
[tool:pytest]
# <https://docs.pytest.org/en/latest/customize.html>
testpaths = httpie tests
norecursedirs = tests/fixtures
addopts = --tb=native --doctest-modules --verbose
xfail_strict = True
[flake8]
# <https://flake8.pycqa.org/en/latest/user/error-codes.html>
# E501 - line too long
# W503 - line break before binary operator
ignore = E501,W503