Skip to content

Commit f49733f

Browse files
committed
update CI version of black linter
Signed-off-by: Marques Johansson <[email protected]>
1 parent 8c4fe6f commit f49733f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
- id: fmt_and_lint
2222
run: |
23-
pip install black==19.3b0 pylama
23+
pip install black==22.6.0 pylama
2424
black --check --diff .
2525
pylama packet test setup.py
2626

packet/Volume.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ def delete(self):
142142
def update_snapshot_policy(self, frequency, count):
143143
"""Updates the volume snapshot policy.
144144
145-
:param frequency: (required) Snapshot frequency
146-
147-
Validation of `frequency` is left to the packet api to avoid going out
148-
of date if any new value is introduced.
149-
The currently known values are:
150-
- 1hour,
151-
- 1day
152-
- 1week
153-
- 1month
154-
- 1year
155-
"""
145+
:param frequency: (required) Snapshot frequency
146+
147+
Validation of `frequency` is left to the packet api to avoid going out
148+
of date if any new value is introduced.
149+
The currently known values are:
150+
- 1hour,
151+
- 1day
152+
- 1week
153+
- 1month
154+
- 1year
155+
"""
156156
data = self.policy.manager.call_api(
157157
"storage/snapshot-policies/{0}?snapshot_frequency={1}&snapshot_count={2}".format(
158158
self.id, frequency, count

packet/baseapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class JSONReadError(Error):
4848

4949
class BaseAPI(object):
5050
"""
51-
Basic api class for
51+
Basic api class for
5252
"""
5353

5454
def __init__(self, auth_token, consumer_token, user_agent=""):

0 commit comments

Comments
 (0)