Skip to content

Commit

Permalink
format, use ReST for docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Apr 29, 2024
1 parent ed21f6b commit 522b4b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
import pytest
import requests

from twine import cli, exceptions
from twine import cli
from twine import exceptions
from twine import package as package_file
from twine.commands import upload

Expand Down
4 changes: 2 additions & 2 deletions twine/commands/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def _split_inputs(
buckets: upload files (i.e. dists), signatures, and attestations.
Upload files are returned as a linear list, signatures are returned as a
dict of `basename -> path`, and attestations are returned as a dict of
`dist-path -> [attestation-path]`.
dict of ``basename -> path``, and attestations are returned as a dict of
``dist-path -> [attestation-path]``.
"""

signatures = {os.path.basename(i): i for i in fnmatch.filter(inputs, "*.asc")}
Expand Down

0 comments on commit 522b4b3

Please sign in to comment.