1
0
Fork 0
mirror of synced 2024-10-01 09:41:03 +13:00
Commit graph

13 commits

Author SHA1 Message Date
OMEGARAZER
68b2b96295
Update versions 2023-06-13 22:21:24 -04:00
OMEGARAZER
288c42f392
RUF001 2023-06-04 17:46:51 -04:00
OMEGARAZER
905f54f5c0
Add ruff
Adds ruff settings, tests and pre-commit.
2023-03-05 16:33:51 -05:00
OMEGARAZER
98aa3d7cb6
Quote cleanup
cleanup of some strings to prioritize outer double quotes when both are present or switch to double quotes when only single is present.
2023-02-18 16:06:32 -05:00
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