Comments (12)
Fine I'll bite:
Makefile
: makes sense since it's a custom format.
Dockerfile
: makes sense since it's a custom format.
Pipfile
: silly because it's perfectly valid TOML.
Now we need to tell vim that Pipfile
's are TOML.
Where did you guys disqus this BTW? I'll join for future reference.
from pipfile.
The *file
convention has existed since the 70s, software that can't cope with it is broken.
from pipfile.
Wish I had taken part in this discussion when it was going on. Would have really pushed for the very simple pip.toml
. Damn docker making everyone adopt the *file
convention.
:(
from pipfile.
this is more relevant now that pyproject.toml
exists,
folks over at rustlang have Cargo.toml
and Cargo.lock
consistency ftw
from pipfile.
@dstufft It's obviously not about software cope, but human cope.
from pipfile.
@kennethreitz Would you consider your stance on this based on the comments in the issue?
Personally, I would like to hear your thoughts on this, as I'm sure you have valid reasons for this decision. However, as it stands, I fail to see any compelling argument for dropping the .toml
ending.
from pipfile.
I too find it very unfortunate that Pipfile
(toml), Gemfile
, (ruby) Podfile
(ruby) does not use the correct file extension, now ALL developers around the world have to tell their texteditor to use the correct syntax highlighting every time every developer open said files. Sure it takes just around one second in Sublime Text (CMD+SHIFT+P SS toml/ruby), but still, whyyyyyy?!
from pipfile.
I wish I had taken part in this too; I personally really dislike these redundant idioms that thrive among software I see and use every day. It's rather redundant to suffix your files with "file" to be honest; but that I can totally live with pipfile.toml
so every engineer in the world that reads it doesn't have to edit their configuration to accommodate it. It also separates the format from the purpose. It's good practice.
It's not even Pythonic requiring a capital letter. :(
from pipfile.
we had a long discussion about filenames already, and determined these filenames are best.
from pipfile.
@kennethreitz In that case suggesting this be opened here wasn't a good use of anyone's time.
from pipfile.
Well, other people may want to comment.
from pipfile.
vim users:
If you use vim-plug:
Plug 'cespare/vim-toml' " Support for highlighting toml filetype
if executable('pipenv')
au BufNewFile,BufRead Pipfile setf toml
endif
If you already have toml
highlighting from a plugin (agnostic of using vim plug) and want Pipfile
to be detected as toml
:
au BufNewFile,BufRead Pipfile setf toml
You can also add support for Pipfile.lock
:
au BufNewFile,BufRead Pipfile.lock setf json
from pipfile.
Related Issues (20)
- Link additional Pipfiles from root one
- Skip lock on a single dependency HOT 4
- Pipfile.lock() is not idempotent
- Security Vulnerability Alerts (in examples/Pipfile.lock) HOT 5
- Pipenv take wrong Pipfile
- AttributeError while using inject_environment_variables function
- typo in line 136
- Rename 'master' branch to 'main' HOT 3
- pip2 install python
- - [ ] @monkeyhammercopiseded #165 HOT 5
- pipfile-spec in Pipfile
- Docs url is unreachable
- Publish a wheel for `pipfile`
- how to specific version in extras of pipfile?
- Support git+ssh source package repositroy
- ااا
- http://example.edu/tt
- Ggg
- how to add dependencies from other sources instead of pypi? HOT 1
- OSS-Fuzz Integration Inquiry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipfile.