mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
update docstrings to match changes
This commit is contained in:
+3
-2
@@ -99,7 +99,7 @@ def ensure_project(three=None, python=None):
|
||||
|
||||
|
||||
def ensure_proper_casing():
|
||||
"""Ensures proper casing of Pipfile packages, writes to disk."""
|
||||
"""Ensures proper casing of Pipfile packages, writes changes to disk."""
|
||||
p = project.parsed_pipfile
|
||||
|
||||
def proper_case_section(section):
|
||||
@@ -257,11 +257,12 @@ def do_download_dependencies(dev=False, only=False, bare=False):
|
||||
|
||||
return name_map
|
||||
|
||||
|
||||
def parse_install_output(output):
|
||||
"""Parse output from pip download to get name and file mappings
|
||||
for all dependencies and their sub dependencies.
|
||||
|
||||
This is required for proper file hashing with --require-hashes
|
||||
This is required for proper file hashing with --require-hashes.
|
||||
"""
|
||||
output_sections = output.split('Collecting ')
|
||||
names = []
|
||||
|
||||
+1
-1
@@ -15,7 +15,6 @@ def format_toml(data):
|
||||
return '\n'.join(data)
|
||||
|
||||
|
||||
|
||||
def multi_split(s, split):
|
||||
"""Splits on multiple given separators."""
|
||||
for r in split:
|
||||
@@ -131,6 +130,7 @@ def mkdir_p(newdir):
|
||||
if tail:
|
||||
os.mkdir(newdir)
|
||||
|
||||
|
||||
def is_required_version(version, specified_version):
|
||||
"""Check to see if there's a hard requirement for version
|
||||
number provided in the Pipfile.
|
||||
|
||||
Reference in New Issue
Block a user