Skip to content

Commit

Permalink
Upgrade black rules
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius authored and oz123 committed Sep 13, 2024
1 parent 0cfd384 commit 1173651
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions pipenv/utils/fileutils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A collection for utilities for working with files and paths."""

import atexit
import io
import os
Expand Down
1 change: 1 addition & 0 deletions pipenv/utils/funktools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A small collection of useful functional tools for working with iterables.
"""

import errno
import locale
import os
Expand Down
8 changes: 5 additions & 3 deletions pipenv/utils/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ def get_source_list(

if pypi_mirror:
sources = [
create_mirror_source(pypi_mirror, source["name"])
if is_pypi_url(source["url"])
else source
(
create_mirror_source(pypi_mirror, source["name"])
if is_pypi_url(source["url"])
else source
)
for source in sources
]
return sources
Expand Down
1 change: 0 additions & 1 deletion pipenv/utils/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def get_package_finder(


class HashCacheMixin:

"""Caches hashes of PyPI artifacts so we do not need to re-download them.
Hashes are only cached when the URL appears to contain a hash in it and the
Expand Down

0 comments on commit 1173651

Please sign in to comment.