pypa / bandersnatch

A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Academic Free License v3.0
448 stars 141 forks source link

Fix the command execution by runner.py #1753

Closed vajdera closed 3 months ago

vajdera commented 3 months ago

When no --force-check option is specified when using the runner.py the argument list for running bandersnatch command consists of '' at the end which breaks the bandersnatch command execution: bandersnatch: error: unrecognized arguments:. This commit fixes this by only appending the "--force-check" argument if specified in runner.py call.

Closes #1754

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.40%. Comparing base (4d020e8) to head (abd0db5). Report is 112 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1753 +/- ## ========================================== + Coverage 79.69% 83.40% +3.71% ========================================== Files 31 33 +2 Lines 4324 4381 +57 Branches 780 783 +3 ========================================== + Hits 3446 3654 +208 + Misses 721 537 -184 - Partials 157 190 +33 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.