Closed Compro-Prasad closed 1 year ago
Just git init the directory will solve your problem.
@wyuenho Technically speaking you are correct.
On the other hand I have many throw out projects where doing a git init
is too much.
Many people who don't know about version control system and only python wont be able to make use of this package.
In such cases this package wont have any use even though there are valid ways to guess virtualenvs.
In that case, install projectile.
Since you don't consider this an issue, I just copied your pet.el and modified for my own purposes.
https://github.com/Compro-Prasad/emacs-config/blob/master/lisp/pet.el
On Sat, 18 Feb 2023, 5:20 am Jimmy Yuen Ho Wong, @.***> wrote:
In that case, install projectile.
— Reply to this email directly, view it on GitHub https://github.com/wyuenho/emacs-pet/issues/16#issuecomment-1435402238, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVAWGQGQ62RSEAZ6V6EDQDWYAFF5ANCNFSM6AAAAAAU2ACPIY . You are receiving this because you authored the thread.Message ID: @.***>
pet-project-root
returnsnil
in my sample python project initialized usingpoetry
. I am using Emacs 28.2 withoutprojectile
.pet-locate-dominating-file
should generally return the directory which haspyproject.toml
but fails to do so as it is also dependent onpet-project-root
. Removing the dependency onpet-project-root
should help in this case.Source:
https://github.com/wyuenho/emacs-pet/blob/7620c18223f126c384dbf42b0b167a6066a81dd1/pet.el#L157