raincoat
raincoat copied to clipboard
What about a config file?
I love the idea and tend to use raincoat
in my recent work.
But sometimes the raincoat comment does not have any good place in the source code.
First, it is often too long (my last one is 136 chars).
Second, you force it to be in a .py
file.
But for example, for prospector
, I forked the lib with a new package on pypi, and in my documentation, I say to use this package. But there is no relevant .py
file in my project where to put this.
So I had to create a raincoat_prospector.py
file for this only reason, with simply a comment!
Yes, it may not be "wrong" to have a "raincoat.py" file in the project with all the needed comments.
But maybe a raincoat.cfg
(or a [tools:raincoat]
section in setup.cfg
could be the good way to handle this kind of thing?