Skip to content

Commit 5f1f3b3

Browse files
authored
Merge pull request #1 from ca-scribner/fix-linting
fix: unpin `black`, fix formatting errors
2 parents d9c9bc1 + 449b367 commit 5f1f3b3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/test-charmed-katib.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
set -eux
1919
sudo apt update
2020
sudo apt install python3-setuptools
21-
sudo pip3 install black==22.3.0 flake8
21+
sudo pip3 install black flake8
2222
2323
- name: Check black
2424
run: black --check operators

operators/katib-controller/src/charm.py

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

1616

1717
class CheckFailed(Exception):
18-
""" Raise this exception if one of the checks in main fails. """
18+
"""Raise this exception if one of the checks in main fails."""
1919

2020
def __init__(self, msg, status_type=None):
2121
super().__init__()

operators/katib-db-manager/src/charm.py

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

1212

1313
class CheckFailed(Exception):
14-
""" Raise this exception if one of the checks in main fails. """
14+
"""Raise this exception if one of the checks in main fails."""
1515

1616
def __init__(self, msg, status_type=None):
1717
super().__init__()

operators/katib-ui/src/charm.py

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

1717

1818
class CheckFailed(Exception):
19-
""" Raise this exception if one of the checks in main fails. """
19+
"""Raise this exception if one of the checks in main fails."""
2020

2121
def __init__(self, msg, status_type=None):
2222
super().__init__()

0 commit comments

Comments
 (0)