Skip to content

Commit 3ad7f7f

Browse files
authored
Merge pull request #273 from vcs-python/update-black
Update black
2 parents 1a97050 + e9a9ad4 commit 3ad7f7f

File tree

5 files changed

+89
-45
lines changed

5 files changed

+89
-45
lines changed

libvcs/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def chomp_protocol(url):
394394
395395
Parameters
396396
----------
397-
url : str
397+
url : str
398398
PIP-style url
399399
400400
Returns
@@ -447,7 +447,7 @@ def status(self):
447447
--------
448448
449449
>>> git_repo.status()
450-
{
450+
{
451451
"branch_oid": 'de6185fde0806e5c7754ca05676325a1ea4d6348',
452452
"branch_head": 'fix-current-remote-name',
453453
"branch_upstream": 'origin/fix-current-remote-name',

libvcs/util.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def run(
123123
check_returncode=True,
124124
callback=None,
125125
):
126-
""" Run 'cmd' in a shell and return the combined contents of stdout and
126+
"""Run 'cmd' in a shell and return the combined contents of stdout and
127127
stderr (Blocking). Throws an exception if the command exits non-zero.
128128
129129
Parameters
@@ -159,7 +159,11 @@ def progress_cb(output, timestamp):
159159
run(['git', 'pull'], callback=progrses_cb)
160160
"""
161161
proc = subprocess.Popen(
162-
cmd, shell=shell, stderr=subprocess.PIPE, stdout=subprocess.PIPE, cwd=cwd,
162+
cmd,
163+
shell=shell,
164+
stderr=subprocess.PIPE,
165+
stdout=subprocess.PIPE,
166+
cwd=cwd,
163167
)
164168

165169
all_output = []

poetry.lock

Lines changed: 59 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pytest-cov = [
6767
]
6868

6969
### Format ###
70-
black = {version="==19.10b0", python="^3.6"}
70+
black = {version="==20.08b1", python="^3.6"}
7171
isort = [
7272
{version="<5", python="<3.6"},
7373
{version="*", python=">=3.6"}

0 commit comments

Comments
 (0)