spacetelescope / style-guides

An opinionated guide on how we work.
Creative Commons Attribution 4.0 International
55 stars 33 forks source link

python style guide #5

Closed stscicrawford closed 1 year ago

stscicrawford commented 6 years ago

Create a style guide outlining best practices for writing python code and packages

stscicrawford commented 6 years ago

cc: @nden @eteq @bourque

bourque commented 6 years ago

For what it's worth, here is the style guide that is used for the jwql project. It doesn't discuss packaging practices, but perhaps a decent starting point?

mperrin commented 6 years ago

Various relatively minor points on the current draft Python style guide.

pllim commented 6 years ago

Re: nbconvert -- It does add onto maintenance burden, especially if you host it on RTD, as it requires more than sphinx as doc build dependencies, and requires those to play well with RTD. For example, if your notebooks take too long to render, you might run over the 900s limit (or is it 450s?) on RTD server and get timed out error.

pllim commented 1 year ago

This issue is too broad. There are now several pages on different aspects of Python coding and packaging. Any remaining concerns should be separate issue(s).