User-level configuration file
![](https://secure.gravatar.com/avatar/b73e37824f0e490106df9c8fd07de2e2.jpg?s=120&d=mm&r=g)
Hello, I am using flake8 and I could not find a way to use a configuration file at user level. What I read in the documentation is a way to have a project configuration file: https://flake8.pycqa.org/en/latest/user/configuration.html But I could not find anything about having a ~/.config/flake8 or something like that. Is it something that could be implemented? So far, I use a bash script when needed: flake8 --config ~/.config/flake8 "$@" But I would rather have flake8 implementing a hierarchical check for project file then user file, I would not need to manually pick if I run flake8 directly or my bash script. Regards
![](https://secure.gravatar.com/avatar/396e3de53320abf9855d912cd3d9431f.jpg?s=120&d=mm&r=g)
No, it will not read a user file. It was explicitly removed in 4.0 https://flake8.pycqa.org/en/latest/release-notes/4.0.0.html#backwards-incomp... On Mon, Nov 1, 2021 at 12:24 PM Georges Gouriten <georges.gouriten@gmail.com> wrote:
Hello,
I am using flake8 and I could not find a way to use a configuration file at user level.
What I read in the documentation is a way to have a project configuration file: https://flake8.pycqa.org/en/latest/user/configuration.html
But I could not find anything about having a ~/.config/flake8 or something like that.
Is it something that could be implemented?
So far, I use a bash script when needed: flake8 --config ~/.config/flake8 "$@"
But I would rather have flake8 implementing a hierarchical check for project file then user file, I would not need to manually pick if I run flake8 directly or my bash script.
Regards
_______________________________________________ code-quality mailing list -- code-quality@python.org To unsubscribe send an email to code-quality-leave@python.org https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: graffatcolmingov@gmail.com
participants (2)
-
Georges Gouriten
-
Ian Stapleton Cordasco