idlesign / torrt

Automates torrent updates for you
https://github.com/idlesign/torrt
BSD 3-Clause "New" or "Revised" License
112 stars 19 forks source link

Added non-zero exit code to run_bots if there is no bots to actually run #78

Closed NecroKote closed 2 years ago

NecroKote commented 2 years ago

Nice addition to #76

(duplicate of #77, as for some reason it didn't pull latest commit)

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1800466733


Changes Missing Coverage Covered Lines Changed/Added Lines %
torrt/toolbox.py 12 13 92.31%
<!-- Total: 17 18 94.44% -->
Files with Coverage Reduction New Missed Lines %
torrt/utils.py 1 87.21%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 1798299692: 1.6%
Covered Lines: 1158
Relevant Lines: 1672

💛 - Coveralls
NecroKote commented 2 years ago

@idlesign I think this one is done. Please review it again.

I've added a bunch of tests for new logic:

PS: Python 3.6 failing because of dependency shift. I'll prepare basic 'housekeeping' PR - shifting dates to 2022, removing 3.6 support etc..

idlesign commented 2 years ago

Thank you. Merged.