Skip to content

Commit

Permalink
test: formatting
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Aug 20, 2024
1 parent 1a48f0c commit d6c51cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
import tempfile
from pathlib import Path

import pypi_attestations._cli
import pytest
import sigstore.oidc
from sigstore.oidc import IdentityError

import pypi_attestations._cli
from pypi_attestations._cli import (
_logger,
_validate_files,
get_identity_token,
main,
)
from pypi_attestations._impl import Attestation
from sigstore.oidc import IdentityError

ONLINE_TESTS = "CI" in os.environ or "TEST_INTERACTIVE" in os.environ
online = pytest.mark.skipif(not ONLINE_TESTS, reason="online tests not enabled")
Expand Down
3 changes: 2 additions & 1 deletion test/test_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from typing import Any

import pretend
import pypi_attestations._impl as impl
import pytest
import sigstore
from pydantic import TypeAdapter, ValidationError
Expand All @@ -17,6 +16,8 @@
from sigstore.sign import SigningContext
from sigstore.verify import Verifier, policy

import pypi_attestations._impl as impl

ONLINE_TESTS = "CI" in os.environ or "TEST_INTERACTIVE" in os.environ

online = pytest.mark.skipif(not ONLINE_TESTS, reason="online tests not enabled")
Expand Down

0 comments on commit d6c51cf

Please sign in to comment.