Skip to content

Commit

Permalink
add "the the" to precommit spell check (Unity-Technologies#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Elion authored Jun 3, 2020
1 parent 5d02292 commit 2b8c27f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-search-and-replace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
search: /ML[ -]Agents toolkit/
replacement: ML-Agents Toolkit
insensitive: true
- description: Replace "the the"
search: /the the/
replacement: the
insensitive: true
2 changes: 1 addition & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Please make sure you enable 'Preview Packages' in the 'Advanced' dropdown in
order to find it.

**NOTE:** If you do not see the ML-Agents package listed in the Package Manager
please follow the the [advanced installation instructions](#advanced-local-installation-for-development) below.
please follow the [advanced installation instructions](#advanced-local-installation-for-development) below.

#### Advanced: Local Installation for Development

Expand Down
2 changes: 1 addition & 1 deletion docs/Migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ vector observations to be used simultaneously.
`RayPerception3d.Perceive()` that was causing the `endOffset` to be used
incorrectly. However this may produce different behavior from previous
versions if you use a non-zero `startOffset`. To reproduce the old behavior,
you should increase the the value of `endOffset` by `startOffset`. You can
you should increase the value of `endOffset` by `startOffset`. You can
verify your raycasts are performing as expected in scene view using the debug
rays.
- If you use RayPerception3D, replace it with RayPerceptionSensorComponent3D
Expand Down
2 changes: 1 addition & 1 deletion docs/Training-on-Amazon-Web-Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ X.Org X Server 1.18.4
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
Please consult the X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Expand Down
2 changes: 1 addition & 1 deletion ml-agents/mlagents/trainers/ghost/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(
)
)

# Counts the The number of steps of the ghost policies. Snapshot swapping
# Counts the number of steps of the ghost policies. Snapshot swapping
# depends on this counter whereas snapshot saving and team switching depends
# on the wrapped. This ensures that all teams train for the same number of trainer
# steps.
Expand Down
2 changes: 1 addition & 1 deletion ml-agents/mlagents/trainers/sac/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
:param training: Whether the trainer is set for training.
:param load: Whether the model should be loaded.
:param seed: The seed the model will be initialized with
:param run_id: The The identifier of the current run
:param run_id: The identifier of the current run
"""
super().__init__(
brain_name, trainer_settings, training, run_id, reward_buff_cap
Expand Down

0 comments on commit 2b8c27f

Please sign in to comment.