Skip to content

Commit

Permalink
Fix test_TextClip with pre-commit
Browse files Browse the repository at this point in the history
- style: change code style with pre-commit
- chore: change pre-commit's version from python3.6 to python3 since python3 is more general
  • Loading branch information
isu-kim committed Aug 24, 2022
1 parent 57c3dd9 commit 8f9aab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -3,7 +3,7 @@ repos:
rev: 22.3.0
hooks:
- id: black
language_version: python3.6
language_version: python3
files: \.py$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_TextClip.py
Expand Up @@ -51,7 +51,7 @@ def test_if_textclip_crashes_in_caption_mode(util):
def test_if_textclip_crashes_in_label_mode(util):
TextClip(text="foo", method="label", font=util.FONT).close()


def test_empty_string_as_text(util):
TextClip(text="").close()

Expand Down

0 comments on commit 8f9aab9

Please sign in to comment.