-
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
Showing
1,755 changed files
with
115,027 additions
and
21,914 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,10 @@ | ||
[run] | ||
branch = True | ||
|
||
# there is some weird error 'no source for code .../config-3.py' the file doesnt exist. | ||
# It might be related to opencv? or gyms entry point mechanism... | ||
|
||
[report] | ||
ignore_errors = True | ||
include = | ||
worldofbugs/worldofbugs/* |
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,6 @@ | ||
[submodule "com.worldofbugs.worldofbugs/External/NavMeshComponents"] | ||
path = com.worldofbugs.worldofbugs/External/NavMeshComponents | ||
url = https://github.com/Unity-Technologies/NavMeshComponents.git | ||
[submodule "com.worldofbugs.worldofbugs/External/ClassTypeReference-for-Unity"] | ||
path = com.worldofbugs.worldofbugs/External/ClassTypeReference-for-Unity | ||
url = https://github.com/SolidAlloy/ClassTypeReference-for-Unity.git |
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,4 @@ | ||
[settings] | ||
multi_line_output=3 | ||
include_trailing_comma=True | ||
line_length=88 |
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,62 @@ | ||
exclude : '.*(\.(asset|meta|mat|unity|prefab))' | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
files : .*(\.py|\.cs) | ||
#exclude : '(isort\.cfg|*.(\.svg))' # some weird conflict that is never resolved... | ||
- id: trailing-whitespace | ||
|
||
# python tests / linting etc | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
name: black | ||
language_version: python3.8 | ||
types: [python] | ||
stages: [commit] | ||
|
||
- repo: local | ||
hooks: | ||
- id: lint # python linting | ||
name: lint | ||
entry: python worldofbugs/worldofbugs/test/lint.py | ||
language: system | ||
pass_filenames: false | ||
log_file: logs/lint.log | ||
|
||
|
||
# TODO it would be nice to have a report here... | ||
- id : unit-test | ||
name : unit-test | ||
entry : coverage run -m unittest discover -s worldofbugs/worldofbugs/test/unit -v | ||
language: system | ||
pass_filenames: false | ||
log_file : logs/unit-test.log | ||
|
||
|
||
# c-sharp code formatting | ||
- id: astyle | ||
name: astyle | ||
entry: bash worldofbugs/worldofbugs/test/scripts/astyle.sh | ||
language: system | ||
pass_filenames: false | ||
log_file: logs/astyle.log | ||
|
||
# run | ||
- id : unity-runtime-test | ||
name : unity-runtime-test | ||
entry : python worldofbugs/worldofbugs/test/unity-test.py | ||
language : system | ||
pass_filenames : false | ||
log_file: logs/unity-test.log |
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 @@ | ||
[MASTER] | ||
disable= | ||
C0301, # missing-module-docstring | ||
C0415, # import-outside-toplevel | ||
R0903, # too-few-public-methods | ||
good-names-rgxs=^[_a-z][_a-z0-9]?$ |
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,12 @@ | ||
{ | ||
"python.linting.enabled": true | ||
} | ||
"python.linting.enabled": true, | ||
"ltex.language": "en-GB", | ||
"ltex.dictionary": { | ||
"en-GB": [ | ||
"WOB", | ||
"ML-Agents", | ||
"recognised", | ||
"completionist", | ||
] | ||
} | ||
} |
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,5 @@ | ||
* add tests to com.worldofbugs.worldofbugs, there should be a specific means to test new kinds of bugs? | ||
* test all sample environments and build them | ||
* create c# code reference documentation | ||
* create first release | ||
* add to Unity open package registry |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.