getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.

Home Page:https://docs.grit.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Look for `.grit` patterns anywhere when running `grit patterns test`

morgante opened this issue · comments

We don't want to require them to be at the root.

Importantly, this is a hard requirement if we want to piggyback on distribution from Poetry or PyPi. Trying to include .grit file from a parent dir into a subpackage yields this error:

'/Users/morgante/code/grit/demos/langchain/.grit/grit.yaml' is not in the subpath of '/Users/morgante/code/grit/demos/langchain/libs/cli' OR one path is relative and the other is absolute.