Skip to content

Commit

Permalink
formatting after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
approxit committed Mar 7, 2023
1 parent 6e0ad7e commit 57f171c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
7 changes: 4 additions & 3 deletions tests/payload/test_manifest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from datetime import datetime
from dateutil.tz import UTC
import json
import pytest
from datetime import datetime
from unittest import mock

import pytest
from dateutil.tz import UTC

from yapapi.payload.manifest import (
CompManifest,
CompManifestNet,
Expand Down
11 changes: 6 additions & 5 deletions yapapi/payload/manifest.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
from datetime import datetime
from dateutil.tz import UTC
import sys
from datetime import datetime
from typing import Dict, List, Optional

from yapapi.payload import vm
from yapapi.utils import explode_dict
from dataclasses import dataclass, field

if sys.version_info >= (3, 8):
from typing import Literal
else:
from typing_extensions import Literal

from dataclasses import dataclass, field
from dateutil.tz import UTC

from yapapi.payload import vm
from yapapi.utils import explode_dict


@dataclass
Expand Down
4 changes: 2 additions & 2 deletions yapapi/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Utility functions and classes used within yapapi."""
import asyncio
from datetime import datetime, timezone, tzinfo
import enum
import functools
import logging
from typing import AsyncContextManager, Callable, Dict, List, Optional, Union
import warnings
from datetime import datetime, timezone, tzinfo
from typing import AsyncContextManager, Callable, Dict, List, Optional, Union

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 57f171c

Please sign in to comment.