website/.ycm_extra_conf.py
2020-06-16 01:32:23 +02:00

9 lines
175 B
Python

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"
}