Skip to content

Commit

Permalink
bump version to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
atw1020 committed Aug 15, 2021
1 parent 55f1ddc commit 825985c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
author = 'Arthur Wesley'

# The full version, including alpha/beta/rc tags
release = '0.1.4'
with open("version.txt") as file:
release = file.read().strip()


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def read_file(filename):

setup(
name="sente",
version="0.1.4",
version=read_file("version.txt"),
author="Arthur Wesley",
license="MIT",
url="https://github.com/atw1020/sente",
Expand Down
12 changes: 6 additions & 6 deletions tests/test_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test__str__(self):
board.play(Move(0, 18, stone.BLACK))
board.play(Move(15, 3, stone.WHITE))

correct = " 1 . . . . . . . . . . . . . . . . . . ⚫ \n" \
correct = " 1 . . . . . . . . . . . . . . . . . . ⚫ \n" \
" 2 . . . . . . . . . . . . . . . . . . . \n" \
" 3 . . . . . . . . . . . . . . . . . . . \n" \
" 4 . . . * . . . . . * . . . . . * . . . \n" \
Expand All @@ -91,7 +91,7 @@ def test__str__(self):
"13 . . . . . . . . . . . . . . . . . . . \n" \
"14 . . . . . . . . . . . . . . . . . . . \n" \
"15 . . . . . . . . . . . . . . . . . . . \n" \
"16 . . . ⚪ . . . . . * . . . . . * . . . \n" \
"16 . . . ⚪ . . . . . * . . . . . * . . . \n" \
"17 . . . . . . . . . . . . . . . . . . . \n" \
"18 . . . . . . . . . . . . . . . . . . . \n" \
"19 . . . . . . . . . . . . . . . . . . . \n" \
Expand Down Expand Up @@ -170,15 +170,15 @@ def test__str__(self):
board.play(Move(0, 0, stone.BLACK))
board.play(Move(8, 3, stone.WHITE))

correct = " 1 ⚫ . . . . . . . . . . . . \n" \
correct = " 1 ⚫ . . . . . . . . . . . . \n" \
" 2 . . . . . . . . . . . . . \n" \
" 3 . . . . . . . . . . . . . \n" \
" 4 . . . * . . . . . * . . . \n" \
" 5 . . . . . . . . . . . . . \n" \
" 6 . . . . . . . . . . . . . \n" \
" 7 . . . . . . * . . . . . . \n" \
" 8 . . . . . . . . . . . . . \n" \
" 9 . . . ⚪ . . . . . . . . . \n" \
" 9 . . . ⚪ . . . . . . . . . \n" \
"10 . . . * . . . . . * . . . \n" \
"11 . . . . . . . . . . . . . \n" \
"12 . . . . . . . . . . . . . \n" \
Expand Down Expand Up @@ -258,15 +258,15 @@ def test__str__(self):
board.play(Move(0, 0, stone.BLACK))
board.play(Move(8, 3, stone.WHITE))

correct = " 1 ⚫ . . . . . . . . \n" \
correct = " 1 ⚫ . . . . . . . . \n" \
" 2 . . . . . . . . . \n" \
" 3 . . * . . . * . . \n" \
" 4 . . . . . . . . . \n" \
" 5 . . . . * . . . . \n" \
" 6 . . . . . . . . . \n" \
" 7 . . * . . . * . . \n" \
" 8 . . . . . . . . . \n" \
" 9 . . . ⚪ . . . . . \n" \
" 9 . . . ⚪ . . . . . \n" \
" A B C D E F G H J\n"

"""if platform == "win32":
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.5

0 comments on commit 825985c

Please sign in to comment.