-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API and Documentation Overhaul (#101)
* Rewrite Entire API * Add MyPy * Overhaul API and Documentation * Add index.rst files. * Add doc requires to RTD * Add changelog fragments and minor changes. * Add opencollective funding link to repo * Change description * Explicit include for py.typed file
- Loading branch information
1 parent
366af29
commit 3f925f2
Showing
465 changed files
with
14,658 additions
and
27,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,70 @@ | ||
{ | ||
"projectName": "openskill.py", | ||
"projectOwner": "OpenDebates", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"CONTRIBUTORS.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"contributorsPerLine": 7, | ||
"contributorsSortAlphabetically": false, | ||
"badgeTemplate": "![GitHub contributors (via allcontributors.org)](https://img.shields.io/github/all-contributors/OpenDebates/openskill.py?label=Contributors)", | ||
"linkToUsage": true, | ||
"skipCi": true, | ||
"contributors": [ | ||
{ | ||
"login": "vivekjoshy", | ||
"name": "Vivek Joshy", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/8206808?v=4", | ||
"profile": "https://github.com/vivekjoshy", | ||
"contributions": [ | ||
"code", | ||
"test", | ||
"review", | ||
"research", | ||
"projectManagement", | ||
"question", | ||
"maintenance", | ||
"doc", | ||
"design", | ||
"data" | ||
] | ||
}, | ||
{ | ||
"login": "CalColson", | ||
"name": "Calvin P. Colson", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/14209384?v=4", | ||
"profile": "https://github.com/CalColson", | ||
"contributions": [ | ||
"doc" | ||
] | ||
}, | ||
{ | ||
"login": "philihp", | ||
"name": "Philihp Busby", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1247668?v=4", | ||
"profile": "https://philihp.com/", | ||
"contributions": [ | ||
"code", | ||
"test", | ||
"research", | ||
"data" | ||
] | ||
}, | ||
{ | ||
"login": "martinazapletalova", | ||
"name": "Martina Zapletalová", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/91736322?v=4", | ||
"profile": "https://github.com/martinazapletalova", | ||
"contributions": [ | ||
"bug" | ||
] | ||
}, | ||
{ | ||
"login": "Erotemic", | ||
"name": "Jon Crall", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/3186211?v=4", | ||
"profile": "https://erotemic.wordpress.com/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "bstummer", | ||
"name": "bstummer", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/52933850?v=4", | ||
"profile": "https://github.com/bstummer", | ||
"contributions": [ | ||
"doc" | ||
] | ||
} | ||
], | ||
"commitConvention": "angular" | ||
"projectName": "openskill.py", | ||
"projectOwner": "OpenDebates", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": ["CONTRIBUTORS.md"], | ||
"imageSize": 100, | ||
"commit": false, | ||
"contributorsPerLine": 7, | ||
"contributorsSortAlphabetically": false, | ||
"badgeTemplate": "![GitHub contributors (via allcontributors.org)](https://img.shields.io/github/all-contributors/OpenDebates/openskill.py?label=Contributors)", | ||
"linkToUsage": true, | ||
"skipCi": true, | ||
"contributors": [ | ||
{ | ||
"login": "vivekjoshy", | ||
"name": "Vivek Joshy", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/8206808?v=4", | ||
"profile": "https://github.com/vivekjoshy", | ||
"contributions": [ | ||
"code", | ||
"test", | ||
"review", | ||
"research", | ||
"projectManagement", | ||
"question", | ||
"maintenance", | ||
"doc", | ||
"design", | ||
"data", | ||
], | ||
}, | ||
{ | ||
"login": "CalColson", | ||
"name": "Calvin P. Colson", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/14209384?v=4", | ||
"profile": "https://github.com/CalColson", | ||
"contributions": ["doc"], | ||
}, | ||
{ | ||
"login": "philihp", | ||
"name": "Philihp Busby", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/1247668?v=4", | ||
"profile": "https://philihp.com/", | ||
"contributions": ["code", "test", "research", "data"], | ||
}, | ||
{ | ||
"login": "martinazapletalova", | ||
"name": "Martina Zapletalová", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/91736322?v=4", | ||
"profile": "https://github.com/martinazapletalova", | ||
"contributions": ["bug"], | ||
}, | ||
{ | ||
"login": "Erotemic", | ||
"name": "Jon Crall", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/3186211?v=4", | ||
"profile": "https://erotemic.wordpress.com/", | ||
"contributions": ["code"], | ||
}, | ||
{ | ||
"login": "bstummer", | ||
"name": "bstummer", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/52933850?v=4", | ||
"profile": "https://github.com/bstummer", | ||
"contributions": ["doc"], | ||
}, | ||
], | ||
"commitConvention": "angular", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
github: OpenDebates | ||
open_collective: openskill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: [push] | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build draft PDF | ||
uses: openjournals/openjournals-draft-action@master | ||
with: | ||
journal: joss | ||
paper-path: paper/paper.md | ||
- name: Upload | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: paper | ||
path: paper/paper.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,3 +130,6 @@ dmypy.json | |
|
||
# IDEA Folder | ||
.idea/ | ||
|
||
# PDM | ||
/.pdm-build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cff-version: 1.2.0 | ||
title: 'OpenSkill: Multiplayer Rating System. No Friction.' | ||
message: >- | ||
If you use this software, please cite it using the | ||
metadata from this file. | ||
type: software | ||
authors: | ||
- given-names: Vivek | ||
family-names: Joshy | ||
email: vivek@opendebates.net | ||
orcid: 'https://orcid.org/0000-0003-2443-8827' | ||
identifiers: | ||
- type: doi | ||
value: 10.5281/zenodo.7806692 | ||
description: Zenodo | ||
repository-code: 'https://github.com/OpenDebates/openskill.py' | ||
url: 'https://openskill.me' | ||
abstract: >- | ||
A faster and open license asymmetric multi-team, | ||
multiplayer rating system comparable to TrueSkill. | ||
keywords: | ||
- elo | ||
- rating | ||
- python | ||
- ranking | ||
- trueskill | ||
- statistics | ||
- matchmaking | ||
- multiplayer | ||
license: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Contributing | ||
|
||
## Style Guide | ||
|
||
All pull requests to the python source must follow [PEP | ||
8](https://www.python.org/dev/peps/pep-0008/) conventions. | ||
|
||
All methods and functions must be in snake_case and not camelCase. All | ||
code must also be formatted with `black` and it's default settings. | ||
|
||
## Documentation | ||
|
||
You must document any and all objects, modules, packages and namespaces you define. | ||
You must use also use the default [sphinx format](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html#the-sphinx-docstring-format) for docstrings. | ||
|
||
## Tests | ||
|
||
You are responsible for writing tests for any code you contribute. We use | ||
[pytest](https://docs.pytest.org/en/stable/) for testing. Once you've written | ||
your tests, you should run tox to ensure that your tests pass on all supported | ||
python versions. | ||
|
||
## Towncrier | ||
|
||
To aid with the generation of `CHANGELOG.rst` as well as the releases | ||
changelog we use towncrier. | ||
|
||
You will need to install towncrier and openskill.py from source before | ||
making changelog additions. You can learn about how to install the package | ||
for contribution in the [documentation](https://openskill.me/en/stable/installation.html). | ||
|
||
For every pull request made to this project, there should be a short | ||
explanation of the change under changes/ with the following format: | ||
`{pull_request_number}.{type}.rst`, | ||
|
||
Possible types are: | ||
|
||
- breaking: Signifying a backwards incompatible change. | ||
- feature: Signifying a new feature. | ||
- bugfix: Signifying a bugfix. | ||
- doc: Signifying a documentation improvement. | ||
- deprecation: Signifying a deprecation or removal of public API. | ||
|
||
For changes that do not fall under any of the above cases, please | ||
specify the lack of the changelog in the pull request description so | ||
that a maintainer can skip the job that checks for newly added | ||
fragments. | ||
|
||
Best way to create the fragments is to run towncrier create | ||
`{pull_request_number}.{type}.rst` after creating the pull request, edit | ||
the created file and committing the changes. | ||
|
||
Multiple fragment types can be created per pull request if it covers | ||
multiple areas. | ||
|
||
## Pull Requests | ||
|
||
We follow [Github Flow](https://guides.github.com/introduction/flow/) as | ||
our workflow when creating pull requests. It is a neater and easier way | ||
to manage changes. You are also responsible for writing tests(where | ||
applicable) if you are contributing to a core module. If we see an area | ||
of code that requires tests, then we will not accept the PR until you | ||
write a test for that area of code. Tests ensure long term stability. | ||
|
||
Also note that there are CI checks in place. If any automated tests | ||
fail, please rework and resubmit your PR. | ||
|
||
## Credit Yourself | ||
|
||
Remember to follow this | ||
[guide](https://allcontributors.org/docs/en/bot/usage) to add yourself | ||
to the list of [contributors](https://github.com/OpenDebates/openskill.py/blob/main/CONTRIBUTORS.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.