Skip to content

Commit 6063a08

Browse files
committed
Merge branch 'develop' into fix-doc-builds
2 parents 381a2b4 + 0084a7d commit 6063a08

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ chardet==4.0.0
99
charset-normalizer==2.0.12
1010
click==8.0.4
1111
colorama==0.4.4
12-
commoncode==30.0.0
12+
commoncode==30.1.1
1313
construct==2.10.68
1414
cryptography==36.0.1
1515
debian-inspector==30.0.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ install_requires =
6969
chardet >= 3.0.0
7070
click >= 6.7, !=7.0
7171
colorama >= 0.3.9
72-
commoncode >= 30.0.0
72+
commoncode >= 30.1.1
7373
debian-inspector >= 30.0.0
7474
dparse2 >= 0.6.0
7575
fasteners

src/scancode/cli_test_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def run_scan_click(
9494
If retry is True, wait 10 seconds after a failure and retry once
9595
"""
9696
import click
97+
import shutil
9798
from click.testing import CliRunner
9899
from scancode import cli
99100

@@ -104,7 +105,7 @@ def run_scan_click(
104105

105106
if monkeypatch:
106107
monkeypatch.setattr(click._termui_impl, 'isatty', lambda _: True)
107-
monkeypatch.setattr(click , 'get_terminal_size', lambda : (80, 43,))
108+
monkeypatch.setattr(shutil , 'get_terminal_size', lambda : (80, 43,))
108109

109110
if not env:
110111
env = dict(os.environ)

0 commit comments

Comments
 (0)