Skip to content

Commit

Permalink
Make 'black' happy
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvossen committed Nov 6, 2020
1 parent 216b684 commit 7a04918
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pip install -e ".[test]"
- name: Code formatting
run: |
pip install black
pip install black==20.8b1
black --check .
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pip install -e ".[test]"
- name: Code formatting
run: |
pip install black
pip install black==20.8b1
black --check .
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion kloppy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def camelcase_to_snakecase(name):


def removes_suffix(string, suffix):
if string[-len(suffix):] == suffix:
if string[-len(suffix) :] == suffix:
return string[: -len(suffix)]
else:
return string

0 comments on commit 7a04918

Please sign in to comment.