Skip to content

Commit

Permalink
update changelog, bump version to 2.2.12.dev3 and remove dash from do…
Browse files Browse the repository at this point in the history
…cker-compose
  • Loading branch information
OlteanuRares committed Aug 8, 2024
1 parent 22c7074 commit d120677
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Changelog
2.2.12
^^^^^^
- Mid-row codes only add spaces only if there isn't one before and it
- Mid-row codes only add spaces only if the previous command ois not break
- Mid-row codes only add spaces only if the previous command is not break
- Remove spaces to the end of the lines
- CaptionLineLengthError is now raised if the cursor goes after column 32 instead of string length over 32
- Close italics on receiving another style setting command.
Expand Down
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
DOCKER_CMD="docker-compose -p pycaption"
DOCKER_CMD="docker compose -p pycaption"

SERVICE="test_py312"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='pycaption',
version='2.2.12.dev2',
version='2.2.12.dev3',
description='Closed caption converter',
long_description=open(README_PATH).read(),
author='Joe Norton',
Expand Down
4 changes: 1 addition & 3 deletions tests/test_scc.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def check_cursor_placement(node_creator):
node_creator.add_chars("aaa ")
node_creator.interpret_command("91ae")
node_creator.add_chars("bbb")
# 15 + 4 + 3 = 23
# 15 + 4 + 3 = 22
assert node_creator._cursor_position == 22
# break again
node_creator.interpret_command("9254") # row 03, column 08
Expand Down Expand Up @@ -922,8 +922,6 @@ def test_ensure_final_italics_node_closes(self):
assert new_collection[-1].sets_italics_off()




class CaptionDummy:
"""Mock for pycaption.base.Caption"""

Expand Down

0 comments on commit d120677

Please sign in to comment.