-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5cfb00
commit 97e510b
Showing
71 changed files
with
1,969 additions
and
1,277 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,3 +1,3 @@ | ||
/cmrl.egg-info/ | ||
/exp/ | ||
/stable-baselines3/ | ||
/stable-baselines3/ |
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,33 +1,11 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
# pre-commit==2.13.0 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.8.0 | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
|
||
|
||
exclude: | | ||
(?x)^( | ||
etc| | ||
.*?/migrations| | ||
bmiss/settings/instance.*| | ||
.*?proto.* | ||
) | ||
- id: black |
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 @@ | ||
# Contributing | ||
|
||
In order to contibute to this repository you will need developer access to this repo. | ||
To know more about the project go to the [README](README.md) first. | ||
|
||
## Pre-commit hooks | ||
|
||
Pre-commits hooks have been configured for this project using the | ||
[pre-commit](https://pre-commit.com/) library: | ||
|
||
- [black](https://github.com/psf/black) python formatter | ||
- [flake8](https://flake8.pycqa.org/en/latest/) python linter | ||
|
||
To get them going on your side, first install pre-commit: | ||
|
||
```bash | ||
pip install pre-commit | ||
``` | ||
|
||
Then run the following commands from the root directory of this repository: | ||
|
||
```bash | ||
pre-commit install | ||
pre-commit run --all-files | ||
``` | ||
|
||
These pre-commits are applied to all the files, except the directory tmp/ | ||
(see .pre-commit-config.yaml) |
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 @@ | ||
from .core import complete_agent_cfg, load_agent, Agent, RandomAgent | ||
from .core import Agent, RandomAgent, complete_agent_cfg, load_agent |
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.