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
-
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
.flake8
project, which we need in order to run flake in CI on the entire project.I have just noticed the
ale_root
setting: I assume that would do. Have you got an example about how to configure ALE in order to use the directory containing.git
as project root?See also this comment.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions