Commit Graph

22 Commits

Author SHA1 Message Date
slashtechno 5fd2ce94ab
Added flag 2023-08-19 15:05:41 -04:00
deepsource-autofix[bot] c8e8ab7dda remove commented out code (#7)
* refactor: remove commented out code

It is recommended to remove any commented code in your codebase.

* style: Format code with black and isort

---------

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2023-08-18 21:07:46 -04:00
slashtechno 7e98125597
Duplicate hosts are now omitted 2023-08-18 21:06:25 -04:00
/techno 50683e1543
Add basic `async` support (#6) 2023-08-08 15:50:02 -04:00
deepsource-autofix[bot] 7931374e4e
style: format code with black and isort
Format code with black and isort

This commit fixes the style issues introduced in ce5c516 according to the output
from Black and isort.

Details: None
2023-08-08 14:43:09 +00:00
slashtechno ce5c516de1 Added `--log-level` flag 2023-08-07 17:47:51 -04:00
slashtechno e2ce13ebe2 Minor changes 2023-08-07 17:47:51 -04:00
deepsource-autofix[bot] ed8a4755c1
refactor: refactor unnecessary `else` / `elif` when `if` block has a `raise` statement
`raise` causes control flow to be disrupted, as it will exit the block.
It is recommended to check other conditions using another `if` statement, and get rid of `else` statements as they are unnecessary.
2023-08-06 23:03:35 +00:00
deepsource-autofix[bot] 79ca52987b
style: Format code with black and isort 2023-08-06 22:26:16 +00:00
slashtechno 3a18a4536c
Updated `main()` for `delete.py` and `upload.py`
Also added information on whitelists to `README.md`
2023-08-06 18:25:55 -04:00
deepsource-autofix[bot] 7cad46cf8a
style: Format code with black and isort 2023-08-06 21:55:19 +00:00
/techno bc94e67635
Use regex for extracting hosts 2023-08-06 17:50:33 -04:00
slashtechno df2a598c9e
Remove unused imports 2023-08-01 12:20:18 -05:00
slashtechno 32f1cf588e
Allow directory to be passed as `--whitelist`
Improve error handling
2023-08-01 12:16:31 -05:00
slashtechno 3eedaf77e2
Allow `src/utils/__init__.py` to be empty 2023-08-01 11:18:24 -05:00
slashtechno b971b8b0ae
Fixed `upload` not executing properly 2023-08-01 10:58:52 -05:00
slashtechno 9b3e17997d
Fix packaging 2023-08-01 10:43:03 -05:00
slashtechno ca35c09c4d
Changed folder structure 2023-08-01 00:55:57 -05:00
slashtechno 8d2d481de1
Renamed files 2023-08-01 00:08:55 -05:00
slashtechno a6609c1972
Updated `cmd.py` to call functions 2023-08-01 00:06:22 -05:00
slashtechno f3cf25dfd7
Added `cmd.py`
Removed dependence on `utils.py` for loading API credentials
2023-07-31 22:39:12 -05:00
slashtechno a1ca75a5dc
Reinitialized project with Poetry 2023-07-31 13:07:55 -05:00