-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from Angryrou/jf/release_dev
release dev
- Loading branch information
Showing
16 changed files
with
215 additions
and
94 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
|
||
## Description | ||
<!--- Describe your changes in detail --> | ||
|
||
## Motivation and Context | ||
<!--- Why is this change required? What problem does it solve? --> | ||
<!--- If it fixes an open issue, please link to the issue here. --> | ||
|
||
## How Has This Been Tested? | ||
<!--- Please describe in detail how you tested your changes. --> | ||
<!--- Include details of your testing environment, the tests you ran to --> | ||
<!--- see how your change affects other areas of the code, etc. --> | ||
|
||
## Screenshots (if appropriate): | ||
|
||
## Types of Changes | ||
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> | ||
- [ ] Bug fix (non-breaking change that fixes an issue) | ||
- [ ] New feature (non-breaking change that adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
|
||
## Checklist: | ||
<!--- Go over all the following points, and put an `x` in all the boxes that apply. --> | ||
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> | ||
- [ ] My code follows the code style of this project. | ||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. |
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,52 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "main" | ||
- "dev" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
cache: "pip" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] | ||
- name: Run Pytest | ||
run: | | ||
pytest udao | ||
hooks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
cache: "pip" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] | ||
- name: Run pre-commit hooks | ||
run: pre-commit run --all-files |
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 was deleted.
Oops, something went wrong.
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,73 @@ | ||
# Contributing to `udao`` | ||
|
||
Welcome to our project! We appreciate your interest in contributing to `udao`. | ||
|
||
## Types of Contributions | ||
|
||
You can contribute to `udao` in many ways. Here are some examples: | ||
|
||
- Signaling issues. | ||
- Fixing typos and grammatical errors. | ||
- Improving the documentation. | ||
- Adding new features. | ||
- Fixing bugs. | ||
|
||
## Installing the Project for Development | ||
|
||
You can install the project for development by running the following command: | ||
|
||
``` | ||
pip install -e .[dev] | ||
``` | ||
|
||
## Pre-commit Hooks | ||
|
||
You can install pre-commit hooks by running the following command: | ||
|
||
``` | ||
pre-commit install | ||
``` | ||
|
||
Pre-commit hooks will then be run at each commit. | ||
You can also run the pre-commit hooks manually by running the following command: | ||
|
||
``` | ||
pre-commit run --all-files | ||
``` | ||
|
||
## Code Style | ||
|
||
- We use [black](https://pypi.org/project/black/) for formatting our code. | ||
- We use [mypy](https://mypy.readthedocs.io/en/stable/) for type checking. | ||
|
||
## Documentation | ||
|
||
We use [Sphinx](https://www.sphinx-doc.org/en/master/) for documentation. | ||
The documentation is hosted on github pages. | ||
|
||
To build the documentation locally, run the following command: | ||
|
||
``` | ||
cd docs | ||
make html | ||
``` | ||
|
||
## Running Tests | ||
|
||
We use [pytest](https://docs.pytest.org/en/stable/) for testing. | ||
To run the tests, run the following command: | ||
|
||
``` | ||
pytest udao | ||
``` | ||
|
||
## Submitting a Pull Request | ||
|
||
- Ensure your code passes all CI checks (pre-commit hooks, tests and documentation build) | ||
- Submit your PR with a detailed description. | ||
|
||
## Questions or Need Help? | ||
|
||
- Contact us at chenghao@cs.umass.edu | ||
|
||
Thank you for contributing to udao! |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.