Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26b203c

Browse files
!drop debugging PR check failure..
1 parent 7180cda commit 26b203c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/languages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: install deps
7272
run: python -mpip install -e . -r requirements-dev.txt
7373
- name: run tests
74-
run: coverage run -m pytest tests/languages/${{ matrix.language }}_test.py
74+
run: coverage run -m pytest -s tests/languages/${{ matrix.language }}_test.py
7575
- name: check coverage
7676
run: coverage report --include pre_commit/languages/${{ matrix.language }}.py,tests/languages/${{ matrix.language }}_test.py
7777
collector:

pre_commit/languages/docker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,13 @@ def _is_rootless_docker() -> bool: # pragma: win32 no cover
107107
retcode, out, _ = cmd_output_b(
108108
'docker', 'system', 'info', '--format', '{{ json .SecurityOptions }}',
109109
)
110+
print(retcode, out)
110111
# some failures are to be expected, e.g. for 'podman' aliased as 'docker'
111112
if retcode != 0:
112113
return False
113114

114115
info = json.loads(out)
116+
print(info)
115117
return any(opt == 'name=rootless' for opt in info)
116118

117119

0 commit comments

Comments
 (0)