Skip to content

Commit 11bf4d0

Browse files
committed
bump black, fix issues
1 parent 012b083 commit 11bf4d0

29 files changed

+43
-15
lines changed

examples/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Utilities for yapapi example scripts."""
2+
23
import argparse
34
import asyncio
45
import tempfile

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sphinx-rtd-theme = { version = "^1.0.0", optional = true}
4848
docs = ['sphinx', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme']
4949

5050
[tool.poetry.group.dev.dependencies]
51-
black = "^23.1.0"
51+
black = "^24.4.2"
5252
factory-boy = "^3.2.0"
5353
isort = "^5.10.1"
5454
liccheck = "^0.4.7"

tests/engine/test_engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Unit tests for `yapapi.engine` module."""
2+
23
from unittest.mock import Mock
34

45
import pytest

tests/goth_tests/___test_resubscription.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test if subscription expiration is handled correctly by Golem."""
2+
23
import logging
34
import os
45
import time

tests/goth_tests/assertions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
the string "Agreement confirmed by provider P", for any name P, then
77
eventually it will also print a line containing "Accepted invoice from P".
88
"""
9+
910
import logging
1011
import re
1112
from typing import Set

tests/goth_tests/test_agreement_termination/test_agreement_termination.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A goth test scenario for agreement termination."""
2+
23
import logging
34
import os
45
import re

tests/goth_tests/test_mid_agreement_payments/test_mid_agreement_payments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A goth test scenario for mid-agreement payments."""
2+
23
import logging
34
import os
45
import re

tests/goth_tests/test_multiactivity_agreement/test_multiactivity_agreement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A goth test scenario for multi-activity agreements."""
2+
23
import logging
34
import os
45
import re

tests/goth_tests/test_recycle_ip/test_recycle_ip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""An integration test scenario that runs the SSH example requestor app."""
2+
23
import asyncio
34
import logging
45
import os

tests/goth_tests/test_run_custom_usage_counter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""An integration test scenario that runs custom usage counter example requestor app."""
2+
23
import logging
34
import os
45
import re

0 commit comments

Comments
 (0)