website/.ycm_extra_conf.py

10 lines
175 B
Python
Raw Permalink Normal View History

import os
def Settings(**kwargs):
if not os.path.exists("venv"):
raise Exception("Run tools/create_venv.sh first")
return {
"interpreter_path": "./venv/bin/python"
}