A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://excalibur-py.readthedocs.io/en/master/dev/contributing.html below:

Contributor’s Guide — Excalibur 0.4.3 documentation

Contributor’s Guide

If you’re reading this, you’re probably looking to contributing to Excalibur. Time is the only real currency, and the fact that you’re considering spending some here is very generous of you. Thank you very much!

This document will help you get started with contributing documentation, code, testing and filing issues. If you have any questions, feel free to reach out to Vinayak Mehta, the author and maintainer.

Code Of Conduct

The following quote sums up the Code Of Conduct.

Be cordial or be on your way. –Kenneth Reitz

Kenneth Reitz has also written an essay on this topic, which you should read.

As the Requests Code Of Conduct states, all contributions are welcome, as long as everyone involved is treated with respect.

Your first contribution

A great way to start contributing to Excalibur is to pick an issue tagged with the help wanted or the good first issue tags. If you’re unable to find a good first issue, feel free to contact the maintainer.

Setting up a development environment

After installing the dependencies, which include Tkinter and ghostscript, you can install the dev extra using pip:

$ pip install excalibur-py[dev]

Alternatively, you can clone the project repository, and install the dev extra using pip:

$ pip install -e ".[dev]"
Pull Requests Submit a pull request

The preferred workflow for contributing to Excalibur is to fork the project repository on GitHub, clone, develop on a branch and then finally submit a pull request. Here are the steps:

  1. Fork the project repository. Click on the ‘Fork’ button near the top of the page. This creates a copy of the code under your account on the GitHub.

  2. Clone your fork of Excalibur from your GitHub account:

    $ git clone https://www.github.com/[username]/excalibur
    
  3. Create a branch to hold your changes:

    $ git checkout -b my-feature
    

Always branch out from master to work on your contribution. It’s good practice to never work on the master branch!

Note

git stash is a great way to save the work that you haven’t committed yet, to move between branches.

  1. Work on your contribution. Add changed files using git add and then git commit them:

    $ git add modified_files
    $ git commit
    
  2. Finally, push them to your GitHub fork:

    $ git push -u origin my-feature
    

Now it’s time to go to the your fork of Excalibur and create a pull request! You can follow these instructions to do the same.

Work on your pull request

We recommend that your pull request complies with the following guidelines:

Writing Documentation

Writing documentation, function docstrings, examples and tutorials is a great way to start contributing to open-source software! The documentation is present inside the docs/ directory of the source code repository.

The documentation is written in reStructuredText, with Sphinx used to generate these lovely HTML files that you’re currently reading (unless you’re reading this on GitHub). You can edit the documentation using any text editor and then generate the HTML output by running make html in the docs/ directory.

The function docstrings are written using the numpydoc extension for Sphinx. Make sure you check out how its format guidelines before you start writing one.

Filing Issues

We use GitHub issues to keep track of all issues and pull requests. Before opening an issue (which asks a question or reports a bug), please use GitHub search to look for existing issues (both open and closed) that may be similar.

Questions

Please don’t use GitHub issues for support questions. A better place for them would be Stack Overflow. Make sure you tag them using the python-excalibur tag.

Bug Reports

In bug reports, make sure you include:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4