Skip to content

Commit

Permalink
Merge pull request #1 from ca-scribner/fix-linting
Browse files Browse the repository at this point in the history
fix: unpin `black`, fix formatting errors
  • Loading branch information
jardon authored Apr 4, 2022
2 parents d9c9bc1 + 449b367 commit 5f1f3b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-charmed-katib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
set -eux
sudo apt update
sudo apt install python3-setuptools
sudo pip3 install black==22.3.0 flake8
sudo pip3 install black flake8
- name: Check black
run: black --check operators
Expand Down
2 changes: 1 addition & 1 deletion operators/katib-controller/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class CheckFailed(Exception):
""" Raise this exception if one of the checks in main fails. """
"""Raise this exception if one of the checks in main fails."""

def __init__(self, msg, status_type=None):
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion operators/katib-db-manager/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class CheckFailed(Exception):
""" Raise this exception if one of the checks in main fails. """
"""Raise this exception if one of the checks in main fails."""

def __init__(self, msg, status_type=None):
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion operators/katib-ui/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


class CheckFailed(Exception):
""" Raise this exception if one of the checks in main fails. """
"""Raise this exception if one of the checks in main fails."""

def __init__(self, msg, status_type=None):
super().__init__()
Expand Down

0 comments on commit 5f1f3b3

Please sign in to comment.