arr-ai / arrai

The ultimate data engine.
http://arr.ai
Apache License 2.0
20 stars 15 forks source link

allow nested import root and import root fixes #611

Closed nofun97 closed 4 years ago

nofun97 commented 4 years ago

This commit will allow nested root markers in a project. Root markers will be found by going up the source directory of a file. A root marker can be in the same directory or the parent directories. The root marker locations will also be cached for faster root marker lookup.

This commit also fixed the root marker lookup as initially it was done by searching from the provided import path instead of the directory location of the source scripts.

Checklist:

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 607f91d26786de1d937fedfa6cff1eed44800f9f-PR-611


Files with Coverage Reduction New Missed Lines %
rel/value_set_dict.go 3 43.36%
rel/value_set_str.go 4 58.25%
<!-- Total: 7 -->
Totals Coverage Status
Change from base Build 80ff43ddb790bc0927dbfc281d94c4b2755b5d25: 0.07%
Covered Lines: 4810
Relevant Lines: 9900

💛 - Coveralls