-
Notifications
You must be signed in to change notification settings - Fork 71
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 #168 from edbeeching/code-quality
Adds code quality
- Loading branch information
Showing
31 changed files
with
427 additions
and
438 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,29 @@ | ||
name: Quality | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
check_code_quality: | ||
name: Check code quality | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Setup Python environment | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.10.10 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install ".[dev]" | ||
- name: Code quality | ||
run: | | ||
make quality |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,33 @@ Godot RL Agents supports 4 different RL training frameworks, the links below det | |
- [CleanRL](docs/ADV_CLEAN_RL.md) (Windows, Mac, Linux) | ||
- [Ray rllib](docs/ADV_RLLIB.md) (Windows, Mac, Linux) | ||
|
||
## Contributing | ||
We welcome new contributions to the library, such as: | ||
- New environments made in Godot | ||
- Improvements to the readme files | ||
- Additions to the python codebase | ||
|
||
Start by forking the repo and then cloning it to your machine, creating a venv and performing an editable installation. | ||
|
||
``` | ||
# If you want to PR, you should fork the lib or ask to be a contibutor | ||
git clone [email protected]:YOUR_USERNAME/godot_rl_agents.git | ||
cd godot_rl_agents | ||
python -m venv venv | ||
pip install -e ".[dev]" | ||
# check tests run | ||
make test | ||
``` | ||
|
||
Then add your features. | ||
Format your code with: | ||
``` | ||
make style | ||
make quality | ||
``` | ||
Then make a PR against main on the original repo. | ||
|
||
|
||
## FAQ | ||
|
||
### Why have we developed Godot RL Agents? | ||
|
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.