Skip to content

Is there a way to make python-format-on-save project dependent? #16496

Closed Answered by fnussbaum
gderber asked this question in Q&A
Discussion options

You must be logged in to vote

One way to achieve this is to put a .dir-locals.el file with an appropriate entry to enable it into the root of your own projects, see https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html and SPC f v d.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gderber
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants