nix-community.nixvim/tests/test-sources/plugins/neotest/python.nix
2024-03-18 23:07:32 +01:00

27 lines
560 B
Nix

{
example = {
plugins = {
treesitter.enable = true;
neotest = {
enable = true;
adapters.python = {
enable = true;
settings = {
dap.justMyCode = false;
args = ["--log-level" "DEBUG"];
runner = "pytest";
python = ".venv/bin/python";
is_test_file.__raw = ''
function(file_path)
return true
end
'';
pytest_discover_instances = true;
};
};
};
};
};
}