Git Product home page Git Product logo

Comments (6)

gtdang avatar gtdang commented on July 22, 2024 2

I agree with @rythorpe. Seems to be user specific. I do keep my virtual environments within project directories but I don't follow the venv naming convention because I have different environment builds to test out different python or dependency versions. Perhaps linking to how to update your .git/info/exclude would be a good addition to the contributors guide?

from hnn-core.

rythorpe avatar rythorpe commented on July 22, 2024 1

I'm not opposed to the suggestion here; however, I do feel like the underlying issue here is very user-specific. Personally, I wouldn't keep a virtual environment directory for a project within the source code of the project itself. There are a myriad of tools that developers and/or advanced users might opt to include within the source code of a project, but it is up to them to do so sparingly and to handle local gitignore rules on their personal machines.

from hnn-core.

jasmainak avatar jasmainak commented on July 22, 2024 1

.gitignore tends to include a broad set of files ... I checked a few repos : mne and cookiecutter project for e.g., and they have a long .gitignore

I'm not against adding guidelines for better use of git but it adds an extra set up step for new contributors ...

from hnn-core.

jasmainak avatar jasmainak commented on July 22, 2024

@samadpls please feel free to make a pull request !

from hnn-core.

gtdang avatar gtdang commented on July 22, 2024

Yeah I suppose it's minor overhead and with very little risk, and is convenient for those who do use venv. Is there a recommended environment manager for this project?

from hnn-core.

rythorpe avatar rythorpe commented on July 22, 2024

That's fair @jasmainak and @gtdang. Let's move forward with with addressing this as @samadpls suggested.

Re: recommended environment manager, I think most of us use conda environments, but IDK if it truly matters.

from hnn-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.