[elbe-devel] [PATCH 8/9] tests: run flake8 in empty environment
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Fri Jun 21 14:22:51 CEST 2024
Soon the unittests will make use of PYTHONWARNINGS=error.
This will make flake8 abort.
We can't and don't want to do anything about any warnings in flake8,
so avoid propagating the variable.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/tests/test_flake8.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/tests/test_flake8.py b/elbepack/tests/test_flake8.py
index fadb33abcaa1..448a8483c1f9 100644
--- a/elbepack/tests/test_flake8.py
+++ b/elbepack/tests/test_flake8.py
@@ -6,4 +6,4 @@ import subprocess
def test_flake8():
- subprocess.run(['flake8'], check=True)
+ subprocess.run(['flake8'], check=True, env={})
--
2.45.2
More information about the elbe-devel
mailing list