From 0e556ec3a80f2bb670f5cfdf7c56b83055700e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 27 May 2021 16:59:57 +0200 Subject: [PATCH] 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')) --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index eda7a527..5640d04f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ [tool:pytest] # -norecursedirs = tests/fixtures +norecursedirs = tests/fixtures .* addopts = --tb=native --doctest-modules