Commit Graph

31 Commits

Author SHA1 Message Date
deepsource-autofix[bot] 86d0ae5fc2
style: format code with black and isort
Format code with black and isort

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

Details: https://app.deepsource.com/gh/slashtechno/cloudflare-gateway-adblocking/transform/140ba183-64cc-487b-8647-7ec70640c747/
2023-08-07 21:48:16 +00:00
slashtechno fc08c858e1 Add basic `async` support 2023-08-07 17:47:51 -04:00
slashtechno ce5c516de1 Added `--log-level` flag 2023-08-07 17:47:51 -04:00
slashtechno 6b8c0d3200 Uncomment installation in README.md 2023-08-07 17:47:51 -04:00
slashtechno e2ce13ebe2 Minor changes 2023-08-07 17:47:51 -04:00
/techno 61990cfa4b
Merge pull request #3 from slashtechno/deepsource-autofix-908ab65d
refactor unnecessary `else` / `elif` when `if` block has a `raise` statement
2023-08-06 19:04:03 -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
/techno 36f2b87823
Merge pull request #1 from slashtechno/restructure-project
Restructure project
2023-08-06 18:38:34 -04:00
/techno 3c7f61fb37
Delete utils.py 2023-08-06 18:37:17 -04:00
slashtechno b9013e051d
Merge branch 'master' into restructure-project 2023-08-06 18:36:34 -04: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
/techno 263a970edb
Merge pull request #2 from slashtechno/deepsource-transform-200a61ec
format code with black and isort
2023-08-06 17:55:45 -04:00
deepsource-autofix[bot] 7cad46cf8a
style: Format code with black and isort 2023-08-06 21:55:19 +00:00
/techno 0ec3e62c03
Updated README.md 2023-08-06 17:50:44 -04:00
/techno bc94e67635
Use regex for extracting hosts 2023-08-06 17:50:33 -04:00
deepsource-autofix[bot] 4bb9c47e6c
style: format code with black and isort
Format code with black and isort

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

Details: https://app.deepsource.com/gh/slashtechno/cloudflare-gateway-adblocking/transform/f9f81019-cc0f-4300-8f90-5884a2afa39a/
2023-08-06 18:46:14 +00:00
deepsource-io[bot] cdbd7dd369
ci: Add .deepsource.toml 2023-08-06 18:46:02 +00: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
slashtechno 0ce7446c37
Added deletion of DNS Policy 2023-03-26 22:16:26 +00:00
slashtechno 2f64bbca27
Migrated `apply_whitelist()` 2023-03-20 14:42:05 -04:00
slashtechno 700d8ceafc
Basic functionality implemented 2023-03-20 14:40:08 -04:00