nixos-rebuild-ng: add pythonpath to pytest config

This commit is contained in:
Thiago Kenji Okada 2024-11-24 02:03:54 +00:00
parent 3d7fbe88ab
commit fd1cd69315
2 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,7 @@ can run:
# run program
python -m nixos_rebuild
# run tests
python -m pytest
pytest
# check types
mypy .
# fix lint issues

View File

@ -46,4 +46,5 @@ extend-select = [
"tests/" = ["FA102"]
[tool.pytest.ini_options]
pythonpath = ["."]
addopts = ["--import-mode=importlib"]