Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
3 days | release: Version 0.3.0HEAD0.3.0trunk | Wolfgang Müller | -1/+1 | |
3 days | backend/lint: Do not shadow certain builtins | Wolfgang Müller | -0/+4 | |
This commit enables ruff's flake8-builtin linter that emits warnings when builtin functions are shadowed. This is useful for builtins like "dict", "list", or "str" which we use often. Given the nature of this program we historically rely a lot on the usage of "id", "hash", and "filter" as variable names which also shadow Python builtins. For now let's ignore those, we have not used any of them in our code and the impact to the codebase would be considerable. This might be revisited in the future. | ||||
3 days | backend/tests: Add tests for the E-Hentai API | Wolfgang Müller | -0/+1 | |
4 days | backend/tests: Add tests for gallery_dl scrapers | Wolfgang Müller | -1/+1 | |
4 days | build/deps: Remove black as a development dependency | Wolfgang Müller | -1/+0 | |
We can do formatting now with ruff(1). | ||||
4 days | build/deps: Update sphinx to 8.1.3 and sphinx-issues to 5.0.0 | Wolfgang Müller | -2/+2 | |
4 days | build/deps: Update strawberry-graphql to 0.248.1 | Wolfgang Müller | -1/+1 | |
4 days | build/deps: Update uvicorn to 0.32.0 | Wolfgang Müller | -1/+1 | |
4 days | build/deps: Update starlette to 0.41.2 | Wolfgang Müller | -1/+1 | |
4 days | build/deps: Update pytest-cov to 6.0.0 | Wolfgang Müller | -1/+1 | |
4 days | backend/lint: Ignore B007 | Wolfgang Müller | -1/+1 | |
B007 is "unused-loop-control-variable", which is only enabled by default because an unused variable in a loop statement "can confuse readers". The only couple of places that happens in this codebase is when unpacking os.walk, which really shouldn't be a problem. | ||||
4 days | backend/lint: Ignore SIM102 and SIM108 | Wolfgang Müller | -0/+2 | |
SIM102 is "collapsible-if", which we always follow except a few specific cases where we believe nested ifs are easier to read. Since we'd have to manually ignore all those instances, disable the whole rule instead. SIM108 is "if-else-block-instead-of-if-exp" which suggests the use of the ternary operator instead of an if/else block. We generally dislike how the ternary operator is less readable than a simple if/else block, so we disable this rule. | ||||
4 days | backend/lint: Add some more useful linters | Wolfgang Müller | -2/+12 | |
These should come in handy in the general case, especially bugbear. | ||||
4 days | build/deps: Update ruff to 0.7.3 | Wolfgang Müller | -1/+1 | |
4 days | build/deps: Update pillow to 11.0.0 | Wolfgang Müller | -1/+1 | |
2024-07-22 | release: Version 0.2.00.2.0 | Wolfgang Müller | -1/+1 | |
2024-07-22 | docs: Use sphinx_issues to link to commits | Wolfgang Müller | -0/+1 | |
2024-07-12 | build/deps: Update strawberry-graphql to 0.235.2 | Wolfgang Müller | -1/+1 | |
2024-07-12 | build/deps: Update uvicorn to 0.30.1 | Wolfgang Müller | -1/+1 | |
2024-07-12 | build/deps: Update ruff to 0.5.1 | Wolfgang Müller | -1/+1 | |
2024-05-03 | build/deps: Update ruff to 0.4.2 | Wolfgang Müller | -1/+1 | |
2024-05-03 | build/deps: Update strawberry-graphql to 0.227.3 | Wolfgang Müller | -1/+1 | |
2024-03-31 | release: Version 0.1.10.1.1 | Wolfgang Müller | -1/+1 | |
2024-03-31 | build/deps: Update strawberry-graphql to 0.224.1 | Wolfgang Müller | -1/+1 | |
2024-03-31 | build/deps: Update pytest-cov to 5.0.0 | Wolfgang Müller | -1/+1 | |
2024-03-21 | build/deps: Update Python dependencies | Wolfgang Müller | -2/+2 | |
Update all Python dependencies to their latest compatible versions. Additionally, update strawberry-graphql to 0.220.0 and uvicorn to 0.29.0. |