From 150e84192c031ebb243292ee5c32e51dc30c4dcf Mon Sep 17 00:00:00 2001 From: alexpdev Date: Sun, 27 Aug 2023 21:50:08 -0700 Subject: [PATCH] fixing warnings --- docs/Source/mixins/index.html | 48 +-- docs/coverage/covindex.html | 12 +- .../d_1bc82e0ab2fcb2ec___init___py.html | 4 +- .../d_1bc82e0ab2fcb2ec___main___py.html | 4 +- docs/coverage/d_1bc82e0ab2fcb2ec_cli_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_commands_py.html | 4 +- docs/coverage/d_1bc82e0ab2fcb2ec_edit_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_hasher_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_interactive_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_mixins_py.html | 300 +++++++++--------- .../d_1bc82e0ab2fcb2ec_rebuild_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_recheck_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_torrent_py.html | 4 +- .../coverage/d_1bc82e0ab2fcb2ec_utils_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_version_py.html | 4 +- .../d_a44f0ac069e85531___init___py.html | 4 +- .../d_a44f0ac069e85531_test_cli_py.html | 4 +- .../d_a44f0ac069e85531_test_commands_py.html | 4 +- .../d_a44f0ac069e85531_test_edit_py.html | 4 +- ..._a44f0ac069e85531_test_interactive_py.html | 4 +- .../d_a44f0ac069e85531_test_rebuild_py.html | 4 +- .../d_a44f0ac069e85531_test_recheck_py.html | 4 +- .../d_a44f0ac069e85531_test_torrent_py.html | 4 +- .../d_a44f0ac069e85531_test_utils_py.html | 4 +- docs/coverage/status.json | 2 +- .../d_1bc82e0ab2fcb2ec___init___py.html | 4 +- .../d_1bc82e0ab2fcb2ec___main___py.html | 4 +- docs/htmlcov/d_1bc82e0ab2fcb2ec_cli_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_commands_py.html | 4 +- docs/htmlcov/d_1bc82e0ab2fcb2ec_edit_py.html | 4 +- .../htmlcov/d_1bc82e0ab2fcb2ec_hasher_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_interactive_py.html | 4 +- .../htmlcov/d_1bc82e0ab2fcb2ec_mixins_py.html | 300 +++++++++--------- .../d_1bc82e0ab2fcb2ec_rebuild_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_recheck_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_torrent_py.html | 4 +- docs/htmlcov/d_1bc82e0ab2fcb2ec_utils_py.html | 4 +- .../d_1bc82e0ab2fcb2ec_version_py.html | 4 +- .../d_a44f0ac069e85531___init___py.html | 4 +- .../d_a44f0ac069e85531_test_cli_py.html | 4 +- .../d_a44f0ac069e85531_test_commands_py.html | 4 +- .../d_a44f0ac069e85531_test_edit_py.html | 4 +- ..._a44f0ac069e85531_test_interactive_py.html | 4 +- .../d_a44f0ac069e85531_test_rebuild_py.html | 4 +- .../d_a44f0ac069e85531_test_recheck_py.html | 4 +- .../d_a44f0ac069e85531_test_torrent_py.html | 4 +- .../d_a44f0ac069e85531_test_utils_py.html | 4 +- docs/htmlcov/index.html | 12 +- docs/htmlcov/status.json | 2 +- docs/search/search_index.json | 2 +- docs/sitemap.xml.gz | Bin 334 -> 334 bytes torrentfile/mixins.py | 6 +- 52 files changed, 435 insertions(+), 417 deletions(-) diff --git a/docs/Source/mixins/index.html b/docs/Source/mixins/index.html index 3eee0af..de58441 100644 --- a/docs/Source/mixins/index.html +++ b/docs/Source/mixins/index.html @@ -953,6 +953,10 @@

update(value) + + + staticmethod + #
@@ -1001,8 +1005,7 @@
Source code in torrentfile\mixins.py -
204
-205
+        
205
 206
 207
 208
@@ -1015,7 +1018,10 @@ 
215 216 217 -218
def update(self, value):
+218
+219
+220
@staticmethod
+def update(value):
     """
     Return the value.
 
@@ -1117,9 +1123,7 @@ 

Source code in torrentfile\mixins.py -
220
-221
-222
+        
222
 223
 224
 225
@@ -1134,7 +1138,9 @@ 

234 235 236 -237

def get_progress_tracker(self, total: int, message: str):
+237
+238
+239
def get_progress_tracker(self, total: int, message: str):
     """Return the progress bar object for external management.
 
     Parameters
@@ -1341,6 +1347,10 @@ 

close_out() + + + staticmethod + #

@@ -1361,7 +1371,9 @@

140 141 142 -143

def close_out(self):
+143
+144
@staticmethod
+def close_out():
     """
     Finalize the last bits of progress bar.
 
@@ -1561,8 +1573,7 @@ 

Source code in torrentfile\mixins.py -
162
-163
+        
163
 164
 165
 166
@@ -1589,7 +1600,8 @@ 

187 188 189 -190

@classmethod
+190
+191
@classmethod
 def new(cls, total: int, path: str, length: int = 50, unit: str = "bytes"):
     """
     Generate a new progress bar for the given file path.
@@ -1664,8 +1676,7 @@ 

Source code in torrentfile\mixins.py -
145
-146
+        
146
 147
 148
 149
@@ -1679,7 +1690,8 @@ 

157 158 159 -160

def update(self, val: int):
+160
+161
def update(self, val: int):
     """
     Update progress bar.
 
@@ -1777,9 +1789,7 @@ 

Source code in torrentfile\mixins.py -
- + - + @@ -219,10 +219,10 @@

Coverage report:

- + - +
240
-241
-242
+        
- + - + @@ -219,10 +219,10 @@

Coverage report:

- + - +
242
 243
 244
 245
@@ -1817,7 +1827,9 @@ 

277 278 279 -280

def waiting(msg: str, flag: list, timeout: int = 20):
+280
+281
+282
def waiting(msg: str, flag: list, timeout: int = 20):
     """
     Show loading message while thread completes processing.
 
diff --git a/docs/coverage/covindex.html b/docs/coverage/covindex.html
index cf6710d..1061475 100644
--- a/docs/coverage/covindex.html
+++ b/docs/coverage/covindex.html
@@ -45,7 +45,7 @@ 

Coverage report:

coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

@@ -175,10 +175,10 @@

Coverage report:

torrentfile\mixins.py105107 0 4100%100%
torrentfile\rebuild.py
Total30293031 0 69100%100%
@@ -234,7 +234,7 @@

Coverage report:

coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

diff --git a/docs/coverage/d_1bc82e0ab2fcb2ec___main___py.html b/docs/coverage/d_1bc82e0ab2fcb2ec___main___py.html index 9171636..13423fa 100644 --- a/docs/coverage/d_1bc82e0ab2fcb2ec___main___py.html +++ b/docs/coverage/d_1bc82e0ab2fcb2ec___main___py.html @@ -65,7 +65,7 @@

» next       coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

diff --git a/docs/coverage/d_1bc82e0ab2fcb2ec_cli_py.html b/docs/coverage/d_1bc82e0ab2fcb2ec_cli_py.html index 44afe4a..f241c7d 100644 --- a/docs/coverage/d_1bc82e0ab2fcb2ec_cli_py.html +++ b/docs/coverage/d_1bc82e0ab2fcb2ec_cli_py.html @@ -65,7 +65,7 @@

» next       coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

- 105 statements   - + 107 statements   +

@@ -65,7 +65,7 @@

» next       coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

- 105 statements   - + 107 statements   +

@@ -65,7 +65,7 @@

» next       coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700

torrentfile\mixins.py105107 0 4100%100%
torrentfile\rebuild.py
Total30293031 0 69100%100%
@@ -234,7 +234,7 @@

Coverage report:

coverage.py v7.3.0, - created at 2023-08-27 21:04 -0700 + created at 2023-08-27 21:50 -0700