Code Monkey home page Code Monkey logo

cheshire's People

Contributors

bendnorman avatar dependabot[bot] avatar jdangerx avatar pre-commit-ci[bot] avatar zaneselvans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rmi-electricity

cheshire's Issues

Import module in top level __init__.py

Make sure that we're importing the dummy modules appropriately in the top level __init__.py so that they're available when the top level package is imported. This is always confusing and easy to forget.

Show logs during pytest run

Currently logging that takes place during Tox / pytest run isn't showing up at the console. Need to figure out how to configure that. I remember this being annoying at some point in the past when setting up new CI too. Easy to forget...

Separate tests into distinct GitHub action jobs

Running different Tox environments as separate jobs within GitHub Actions makes tests faster since they run in parallel on separate runners, and also provides more granular information about what's passing and what's failing. @jdangerx has implemented this improvement in the main PUDL repo, and we'd like to do it in other repositories too!

See this PR as an example.

Automate docstring formatting

  • Add docformatter to the template repo pre-commit hooks and configuration files, copying from this PR
  • Remove flake8-colors and use newly built in flake8 colored text functionality.

Tag and release template repo

  • Tag a release of the python-template package in git
  • To a test release of the package to the PyPI test server
  • Release to real PyPI server

Remove absolufy-imports

Absolufy imports doesn't play well with VS Code's automatic import removal and the typical way that imports are used to structure public module interfaces.

Add new repo setup instructions to README

The README is just a bunch of lists right now. Flesh it out with more specific instructions on how to go about setting up a new repository using the template. And offer some explanation as to what the different parts of the template are doing so they aren't cut-and-paste mysteries.

Add a CLI module and test

  • Add a cli.py module with the skeleton of a CLI.
  • Add an integration test module that tests all deployed entrypoints automatically running them with --help to make sure they at least kind of work.

Add a minimal Dockerfile

Bring in a basic condaforge/mambaforge based Dockerfile and set up a GitHub Action that builds it.

Look into setting up mypy type checking

If we were starting from scratch today, we'd probably want to try and use type checking everywhere.

Investigate what a sane mypy setup to start out with would be, and potentially integrate that configuration and tests into the template.

Update Code of Conduct

The Contributor Covenant Code of Conduct has been updated to v2.1. Our existing CoC is based on v1.4. Should we update?

Also, fix the Markdown / RST conflict in the CODE_OF_CONDUCT / code_of_conduct inclusion

Automate RTD builds

Connect the template repository to Read The Docs and ensure that the (minimal) documentation builds there correctly.

Switch from `setup.py` to `pyproject.toml`

We've switched to a more modern, standards-compliant way of specifying our package build system and metadata in the main PUDL repository, and we should standardize on that in our template repo too.

See catalyst-cooperative/pudl#2479 for an example of the changes.

Mostly this is just cut-and-pasting information from setup.py into pyproject.toml

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.