Git Product home page Git Product logo

Comments (5)

stscicrawford avatar stscicrawford commented on July 28, 2024

cc: @nden @eteq @bourque

from style-guides.

bourque avatar bourque commented on July 28, 2024

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?

from style-guides.

mperrin avatar mperrin commented on July 28, 2024

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

  • "The Python ecosystem is shared one". Missing word 'a' before 'shared'.
  • "opeinging up Python" Typo
  • In the Style section, there is inconsistent language. The first paragraph says that the PEP8 guidelines "are not absolutes, but rather guidelines". But immediately after that it says "The following exceptions are allowed" which implies no other exceptions are allowed at all.
  • "should have automatically build documentation" should say 'built' instead
  • "hosted automatically on servcies like ReadTheDocs or internal STScI services." First, 'servcies' has a typo. Secondly I would be interested in hearing more about the internal service options for doc hosting; is there any internal equivalent to readthedocs for hosting documentation from projects on Gitlab? If so it would be good to provide a how-to for that here, or link to that info elsewhere.
  • "documnentation" typo.
  • I agree with the statement that notebooks in the docs should be included in the automatically built docs! This could helpfully refer to the nbsphinx Sphinx extension in addition to plain nbconvert.
  • In the recommended template packages it says "astropy template package with STSci specific changes", but does not explain what specific changes are intended.

from style-guides.

pllim avatar pllim commented on July 28, 2024

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.

from style-guides.

pllim avatar pllim commented on July 28, 2024

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).

from style-guides.

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.