mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
pytest: Add hidden files to norecursedirs (#1071)
The default value already contains this, but when setting a custom one, it was overridden. In Fedora, we build the package in `.pyproject-builddir` and not ignoring it confuses pytest: _pytest.pathlib.ImportPathMismatchError: ('httpie.__main__', '/builddir/build/BUILD/httpie-2.4.0/.pyproject-builddir/pip-req-build-aedma65c/build/lib/httpie/__main__.py', PosixPath('/builddir/build/BUILD/httpie-2.4.0/.pyproject-builddir/pip-req-build-aedma65c/httpie/__main__.py'))
This commit is contained in:
parent
464b5b4c1d
commit
0e556ec3a8
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
# <https://docs.pytest.org/en/latest/customize.html>
|
# <https://docs.pytest.org/en/latest/customize.html>
|
||||||
norecursedirs = tests/fixtures
|
norecursedirs = tests/fixtures .*
|
||||||
addopts = --tb=native --doctest-modules
|
addopts = --tb=native --doctest-modules
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user