Giter VIP home page Giter VIP logo

kite-utils's Introduction

KiTE CI Documentation Test .github/workflows/update-docs.yml

(Summary)

  • To format code, run black .
  • To lint code, run flake8 .
  • To install requirements, run pip install -r requirements.txt
  • To run tests, run pytest -s KiTE

Contributing

  1. Fork this Repo
  2. Clone the Repo onto your computer -- You may need to setup an SSH Key on your device.
  • Run pip install -r requirements.txt to get all the packages you need.
  1. Create a branch (git checkout -b new-feature)
  2. Make Changes
  3. Run necessary quality assurance tools
  1. Add your changes (git commit -am "Commit Message" or git add <whatever files/folders you want to add> followed by git commit -m "Commit Message")
  2. Push your changes to the repo (git push origin new-feature)
  3. Create a pull request

You can locally build the package with pip install -e . and run unit tests with pytest -s KiTE.


Code Quality Tools

black formatter automatically formats code

  1. Run pip install black to get the package.
  2. After making changes, run black ./.

flake8 lints code

Notifies you if any code is not currently up to Python standards.

  1. Run pip install flake8 to get the package.
  2. After making changes, run flake8.

pytest runs unit tests

  1. Run pip install pytest to get the package.
  2. After making changes, you can run pytest -s KiTE to run all unit tests

Update Documentation

We use pdoc to create KiTE's documentation.

  1. pip install pdoc into your working environment
  2. Preview edits with pdoc -t doc_template --docformat numpy KiTE.
    • This will locally host the documentation site (that will update as you make edits)
  3. Edit documentation by adding/modifying docstrings in KiTE

kite-utils's People

Contributors

pingle14 avatar

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.