nixos-rebuild-ng: add pythonpath to pytest config
This commit is contained in:
parent
3d7fbe88ab
commit
fd1cd69315
@ -76,7 +76,7 @@ can run:
|
||||
# run program
|
||||
python -m nixos_rebuild
|
||||
# run tests
|
||||
python -m pytest
|
||||
pytest
|
||||
# check types
|
||||
mypy .
|
||||
# fix lint issues
|
||||
|
@ -46,4 +46,5 @@ extend-select = [
|
||||
"tests/" = ["FA102"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
pythonpath = ["."]
|
||||
addopts = ["--import-mode=importlib"]
|
||||
|
Loading…
Reference in New Issue
Block a user