Skip to content

Commit 130e14c

Browse files
committed
Rename main branch and references to it.
1 parent d92d14e commit 130e14c

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.azure/pipelines/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
55

66
trigger:
7-
- master
7+
- main
88

99
pool:
1010
vmImage: 'ubuntu-latest'

.azure/pipelines/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Release code in the master branch to PyPi
1+
# Release code in the main branch to PyPi
22

33
stages:
44
- stage: Prerelease_on_PyPi

.azure/pipelines/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Release code in the master branch to PyPi
1+
# Release code in the main branch to PyPi
22

33
jobs:
44
- job:

.azure/pipelines/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run the Component Governance Detection task
22

33
trigger:
4-
- master
4+
- main
55

66
pool:
77
vmImage: 'ubuntu-latest'

.azure/pipelines/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
trigger:
2-
- master
2+
- main
33

44
stages:
55
- stage: Test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TextWorld
22

3-
[![Build Status](https://dev.azure.com/maluuba/TextWorld/_apis/build/status/microsoft.TextWorld?branchName=master)](https://dev.azure.com/maluuba/TextWorld/_build/latest?definitionId=180&branchName=master) [![PyPI version](https://badge.fury.io/py/textworld.svg)](https://badge.fury.io/py/textworld) [![Documentation Status](https://readthedocs.org/projects/textworld/badge/?version=latest)](https://textworld.readthedocs.io/en/stable/?badge=stable) [![Join the chat at https://gitter.im/Microsoft/TextWorld](https://badges.gitter.im/Microsoft/TextWorld.svg)](https://gitter.im/Microsoft/TextWorld?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
[![Build Status](https://dev.azure.com/maluuba/TextWorld/_apis/build/status/microsoft.TextWorld?branchName=main)](https://dev.azure.com/maluuba/TextWorld/_build/latest?definitionId=180&branchName=main) [![PyPI version](https://badge.fury.io/py/textworld.svg)](https://badge.fury.io/py/textworld) [![Documentation Status](https://readthedocs.org/projects/textworld/badge/?version=latest)](https://textworld.readthedocs.io/en/stable/?badge=stable) [![Join the chat at https://gitter.im/Microsoft/TextWorld](https://badges.gitter.im/Microsoft/TextWorld.svg)](https://gitter.im/Microsoft/TextWorld?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

55
A text-based game generator and extensible sandbox learning environment for training and testing reinforcement learning (RL) agents. Also check out [aka.ms/textworld](https://aka.ms/textworld/) for more info about TextWorld and its creators. Have questions or feedback about TextWorld? Send them to textworld@microsoft.com or use the Gitter channel listed above.
66

textworld/challenges/tw_cooking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
The development branch of TextWorld can be installed using
88

9-
pip install https://github.com/Microsoft/TextWorld/archive/master.zip
9+
pip install https://github.com/Microsoft/TextWorld/archive/main.zip
1010

1111
## Usage
1212

textworld/generator/game.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,12 +1037,12 @@ def winning_policy(self) -> Optional[List[Action]]:
10371037
# Some quests don't have triggering policy.
10381038
return None
10391039

1040-
master_quest_tree = ActionDependencyTree(kb=self.game.kb,
1041-
element_type=ActionDependencyTreeElement,
1042-
trees=trees)
1040+
main_quest_tree = ActionDependencyTree(kb=self.game.kb,
1041+
element_type=ActionDependencyTreeElement,
1042+
trees=trees)
10431043

10441044
# Discard all "trigger" actions.
1045-
return tuple(a for a in master_quest_tree.flatten() if a.name != "trigger")
1045+
return tuple(a for a in main_quest_tree.flatten() if a.name != "trigger")
10461046

10471047
def update(self, action: Action) -> None:
10481048
""" Update the state of the game given the provided action.

0 commit comments

Comments
 (0)