1
0
Fork 0
mirror of synced 2024-10-02 01:57:20 +13:00
Commit graph

9 commits

Author SHA1 Message Date
OMEGARAZER
9eeff73a12
Update yt-dlp
Update yt-dlp to 2023.2.17 as it contains updates to vreddit downloading for better coverage.
2023-02-17 14:50:40 -05:00
OMEGARAZER
0e28c7ed7c
Gfycat API
Moves Gfycat to use API via site access key.

Adds cachetools as dependency to reuse API keys for Gfycat/Redgifs at 95% of their TTL. Include tests to verify caching.

Updates versions of requests/yt-dlp/black/isort/pytest.

Added default timeout to requests calls.

Adds validate-pyproject and blacken-docs to pre-commit as well as updates versions.
2023-02-11 15:23:08 -05:00
OMEGARAZER
730856934b
Update unsaveposts.py
Make some updates to the unsaveposts script and updated flake8 exclude now that there is a python script in the scripts directory.

Also added the scripts directory to actions test ignore as any changes in there shouldn't have any affect on the tests that are performed.
2023-02-01 14:18:20 -05:00
OMEGARAZER
3fdaf35306
Update black/isort 2023-01-01 08:59:34 -05:00
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
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
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-Arc
8af00b20bc Move formatter settings 2022-12-04 15:05:35 +10:00