Add pyproject.toml to the list of files to search for projects

This commit is contained in:
Dave Halter
2020-04-11 00:51:28 +02:00
parent 0f2a7215bb
commit 5a3565785c

View File

@@ -29,7 +29,8 @@ from jedi.file_io import FolderIO
from jedi.common.utils import traverse_parents from jedi.common.utils import traverse_parents
_CONFIG_FOLDER = '.jedi' _CONFIG_FOLDER = '.jedi'
_CONTAINS_POTENTIAL_PROJECT = 'setup.py', '.git', '.hg', 'requirements.txt', 'MANIFEST.in' _CONTAINS_POTENTIAL_PROJECT = \
'setup.py', '.git', '.hg', 'requirements.txt', 'MANIFEST.in', 'pyproject.toml'
_SERIALIZER_VERSION = 1 _SERIALIZER_VERSION = 1