-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding in new formatting guidelines / tools.
- Loading branch information
Showing
9 changed files
with
270 additions
and
392 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,6 @@ | ||
unity/Dependencies/ | ||
unity/Assets/MagicMirror | ||
unity/Assets/MessagePack | ||
unity/Assets/MIConvexHull | ||
unity/Assets/Priority Queue | ||
unity/Assets/Plugins |
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,10 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: psf/black@23.12.1 # If version changed, update requirements-dev.txt |
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,22 @@ | ||
# Contributing | ||
|
||
We welcome contributions from the greater community. If you would like to make such a contributions we recommend first submitting an [issue](https://github.com/allenai/ai2thor/issues) describing your proposed improvement. Doing so can ensure we can validate your suggestions before you spend a great deal of time upon them. Improvements and bug fixes should be made via a pull request from your fork of the repository at [https://github.com/allenai/ai2thor](https://github.com/allenai/ai2thor). | ||
|
||
All code in pull requests should adhere to the following guidelines. | ||
|
||
## Found a bug or want to suggest an enhancement? | ||
|
||
Please submit an [issue](https://github.com/allenai/ai2thor/issues) in which you note the steps | ||
to reproduce the bug or in which you detail the enhancement. | ||
|
||
## Making a pull request? | ||
|
||
When making a pull request we require that any code respects the following guidelines. | ||
|
||
### Auto-formatting | ||
|
||
All Python and C# must be auto-formatted. To do this, simply run | ||
```bash | ||
invoke format | ||
``` | ||
from the root of the repository. |
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,21 @@ | ||
[tool.black] | ||
line-length = 100 | ||
|
||
include = '\.pyi?$' | ||
|
||
exclude = ''' | ||
( | ||
__pycache__ | ||
| \.git | ||
| \.mypy_cache | ||
| \.pytest_cache | ||
| \.vscode | ||
| \.venv | ||
| \bdist\b | ||
| \bdoc\b | ||
) | ||
''' | ||
|
||
[tool.isort] | ||
profile = "black" | ||
multi_line_output = 3 |
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,8 @@ | ||
pytest | ||
pytest-timeout | ||
pytest-cov | ||
jsonschema | ||
shapely | ||
pytest-mock | ||
dictdiffer | ||
black==23.12.1 # If version changed, update .github/workflows/black.yaml |
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
Oops, something went wrong.