Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Black to fix linting #1842

Merged
merged 3 commits into from
Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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==20.8b1 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