An example of using .git as project root
#4391
Unanswered
dvarrazzo
asked this question in
Q&A - Ask for help with problems
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I work with a few monorepo-style projects containing several Python packages. For instance, psycopg contains:
When linting a file in
psycopg/, ALE takes thepsycopg/directory as the project root, because it will find it several of the files mentioned in `ale-python-root:ale/doc/ale-python.txt
Lines 24 to 40 in 8bcbb29
so it won't apply the root
.flake8project, which we need in order to run flake in CI on the entire project.I have just noticed the
ale_rootsetting: I assume that would do. Have you got an example about how to configure ALE in order to use the directory containing.gitas project root?See also this comment.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions