avlm / pre-commit-poetry-export Goto Github PK
View Code? Open in Web Editor NEWPre-commit hook to keep requirements.txt updated
License: MIT License
Pre-commit hook to keep requirements.txt updated
License: MIT License
First off, thanks for creating this pre-commit hook, it's what I was looking for to be able to simplify installation of an application via pip
while developing with poetry
and not ending up with the requirements out of sync.
That said, my preference would be that development requirements would not be included in the exported requirements.txt
file. In the use case I'm envisioning, a developer/contributor should be using poetry
and the requirements.txt
file is just there for ease of installation for deployment.
Is that something you'd be willing to change the default on? What if poetry-export
accepted a --dev
option similar to poetry export
?
Edit: I just noticed that there is an inconsistency between when the requirements file is first created without --dev
on line 18 and when it is recreated/checked on line 26 with --dev
on line 26. Which explains why when I tried running it back-to-back without a requirements.txt
it failed both times. I'm going to see about writing some tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.