Commit Graph

1090 Commits

Author SHA1 Message Date
OMEGARAZER
c4bece2f58
Add flake8 to precommit
adds flake8 to pre-commit and dev requirements.
2022-12-31 09:09:48 -05:00
OMEGARAZER
2bafb1b99b
Consolidate flake8 settings
Consolidates sane flake8 settings to pyproject with the Flake8-pyproject plugin.

Does not change logic of test workflow but allows base settings to live in pyproject for anyone using flake8 as an external linter (e.g. vscode)

Also fixes some flake8 errors that were not being picked up by current testing, mostly unused imports.
2022-12-28 10:00:43 -05:00
Serene
0bb94040d6
Merge pull request #733 from Soulsuck24/development 2022-12-27 12:04:41 +10:00
Soulsuck24
13887ca7e1
Redgif updates
Coverage for direct links.

The direct link won't work because it will have the wrong auth anyway but this will at least end up with the right API call.
2022-12-26 20:25:20 -05:00
Serene
7cd1a70f59
Merge pull request #731 from Soulsuck24/development 2022-12-26 14:51:53 +10:00
Soulsuck24
fe9cc7f29f
Redgifs updates
Update Redgifs regex for further edge case.

Add test for checking ID.
2022-12-24 20:52:45 -05:00
Serene
816b7e2726
Merge pull request #730 from OMEGARAZER/completion 2022-12-23 14:48:47 +10:00
OMEGA_RAZER
e92929ef07
Merge branch 'aliparlakci:development' into completion 2022-12-22 23:46:06 -05:00
Serene
c63a8842d9
Merge pull request #729 from OMEGARAZER/development 2022-12-22 18:11:16 +10:00
OMEGA_RAZER
7fef403757
Update completion.py 2022-12-20 13:32:43 -05:00
OMEGARAZER
2aea7d0d48
Move completion to pathlib 2022-12-20 13:05:50 -05:00
OMEGARAZER
57ac0130a6
revert init files 2022-12-20 12:16:31 -05:00
Serene
00c4307694
Merge pull request #728 from OMEGARAZER/patch-1
fix https://github.com/aliparlakci/bulk-downloader-for-reddit/issues/724
2022-12-20 21:58:12 +10:00
OMEGA_RAZER
da74096cde
Update test_download_factory.py 2022-12-19 22:04:49 -05:00
OMEGA_RAZER
b3e4777206
Update download_factory.py
Attempt to fix #724

Narrows down characters available to extensions in the regex. Outside of  3 and 4, the only extensions that I can think of this doesn't hit are bz2 and 7z (which wasn't caught before).
2022-12-19 22:02:16 -05:00
Serene
8d43cdeef7
Merge pull request #726 from Soulsuck24/development 2022-12-20 10:28:10 +10:00
Serene
db11e57111
Merge pull request #727 from OMEGARAZER/development 2022-12-20 10:27:47 +10:00
OMEGARAZER
83f45e7f60
Standardize shebang and coding declaration
Standardizes shebang and coding declarations.

Coding matches what's used by install tools such as pip(x).

Removes a few init files that were not needed.
2022-12-19 18:32:37 -05:00
OMEGARAZER
5d3a539eda
Fix install of completion if dirs missing
Fixes situations if completion directories are missing and adds tests for installer.
2022-12-19 17:54:34 -05:00
OMEGARAZER
2e2dfe671b
Fix fish/zsh completions
fixes mistake in fish/zsh completions.
2022-12-19 17:33:07 -05:00
Soulsuck24
603e7de04d
Redgifs fix
Handle redgifs link with trailing / causing id to return empty string.
2022-12-19 11:02:06 -05:00
Serene
7cf096012e
Merge pull request #722 from OMEGARAZER/development 2022-12-18 13:13:23 +10:00
OMEGARAZER
af6222e06c
Cleanup tests
Cleans up test args on new tests.

Add log path to default config test so as not to mangle default log outside of tests.

Match setup functions to archive/clone.

Remove testing marker that was commited in error.
2022-12-17 20:35:58 -05:00
Serene
4e131640ad
Merge pull request #720 from OMEGARAZER/development 2022-12-17 16:50:04 +10:00
OMEGARAZER
8c01a9e7a0
Consolidate to pyproject
Consolidates configs to pyproject.toml and updates workflows accordingly as well as sets sane minimums for dev requirements.

adds version check to main script.
2022-12-16 23:45:36 -05:00
Serene
d0da9be376
Merge pull request #719 from OMEGARAZER/development 2022-12-17 09:33:45 +10:00
OMEGARAZER
e32d322dbd
Add shell completions 2022-12-16 14:56:44 -05:00
Serene
58e1d1a8f9
Merge pull request #713 from OMEGARAZER/development 2022-12-16 10:59:35 +10:00
OMEGARAZER
4ba5df6b37
5xx error tests 2022-12-14 23:19:15 -05:00
Serene
b4fccd7ef8
Merge pull request #716 from Soulsuck24/development 2022-12-12 10:03:42 +10:00
Soulsuck24
15a9d25a9d
Imgur webp coverage
update regex to catch _d in webp links from imgur.
2022-12-11 14:20:04 -05:00
OMEGARAZER
ac91c9089c
Add 5xx soft fail for clone/archive 2022-12-10 21:19:29 -05:00
OMEGARAZER
3aa740e979
Add soft fail on 5xx Prawcore errors. 2022-12-10 12:36:54 -05:00
Serene-Arc
1bc20f238e Update CONTRIBUTING to include new tools 2022-12-08 15:46:58 +10:00
Serene-Arc
628739d0b8 Add markdownlint default file 2022-12-08 15:46:53 +10:00
Serene-Arc
7e3b11caf8 Add support for pre-commit 2022-12-04 15:05:35 +10:00
Serene-Arc
8af00b20bc Move formatter settings 2022-12-04 15:05:35 +10:00
Serene
76b441cd62
Merge pull request #711 from OMEGARAZER/development 2022-12-04 11:02:24 +10:00
OMEGARAZER
d4bfe8fa19
Formatting cleanup
Cleanup some formatting from switch to Black
2022-12-03 14:49:39 -05:00
Serene-Arc
614c19be10 Fix workflow error 2022-12-03 16:56:44 +10:00
Serene-Arc
8cfc314038 Install mdl in workflow 2022-12-03 16:51:18 +10:00
Serene-Arc
47e49a2e98 Reorder workflow dependencies 2022-12-03 16:48:11 +10:00
Serene-Arc
8feb6517f1 Format supporting documents correctly 2022-12-03 16:46:45 +10:00
Serene-Arc
bfd2d31b7b Update markdown style 2022-12-03 16:46:32 +10:00
Serene-Arc
921b2d0888 Fix indents 2022-12-03 16:34:52 +10:00
Serene-Arc
5427ceb29a Add markdown linter to format check 2022-12-03 16:34:23 +10:00
Serene-Arc
ee095d4814 Expand action scope 2022-12-03 15:50:35 +10:00
Serene-Arc
9c3c5436b5 Add formatting check option for code 2022-12-03 15:49:41 +10:00
Serene-Arc
82230a97bc Add formatting check option 2022-12-03 15:33:13 +10:00
Serene-Arc
c4f636c388 Fix import formatting 2022-12-03 15:33:13 +10:00