summaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml (unfollow)
Commit message (Collapse)AuthorLines
12 daysrelease: Version 0.3.00.3.0Wolfgang Müller-1/+1
12 daysbackend/lint: Do not shadow certain builtinsWolfgang 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.
12 daysbackend/tests: Add tests for the E-Hentai APIWolfgang Müller-0/+1
13 daysbackend/tests: Add tests for gallery_dl scrapersWolfgang Müller-1/+1
13 daysbuild/deps: Remove black as a development dependencyWolfgang Müller-1/+0
We can do formatting now with ruff(1).
13 daysbuild/deps: Update sphinx to 8.1.3 and sphinx-issues to 5.0.0Wolfgang Müller-2/+2
13 daysbuild/deps: Update strawberry-graphql to 0.248.1Wolfgang Müller-1/+1
13 daysbuild/deps: Update uvicorn to 0.32.0Wolfgang Müller-1/+1
13 daysbuild/deps: Update starlette to 0.41.2Wolfgang Müller-1/+1
13 daysbuild/deps: Update pytest-cov to 6.0.0Wolfgang Müller-1/+1
13 daysbackend/lint: Ignore B007Wolfgang 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.
13 daysbackend/lint: Ignore SIM102 and SIM108Wolfgang 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.
13 daysbackend/lint: Add some more useful lintersWolfgang Müller-2/+12
These should come in handy in the general case, especially bugbear.
13 daysbuild/deps: Update ruff to 0.7.3Wolfgang Müller-1/+1
13 daysbuild/deps: Update pillow to 11.0.0Wolfgang Müller-1/+1
2024-07-22release: Version 0.2.00.2.0Wolfgang Müller-1/+1
2024-07-22docs: Use sphinx_issues to link to commitsWolfgang Müller-0/+1
2024-07-12build/deps: Update strawberry-graphql to 0.235.2Wolfgang Müller-1/+1
2024-07-12build/deps: Update uvicorn to 0.30.1Wolfgang Müller-1/+1
2024-07-12build/deps: Update ruff to 0.5.1Wolfgang Müller-1/+1
2024-05-03build/deps: Update ruff to 0.4.2Wolfgang Müller-1/+1
2024-05-03build/deps: Update strawberry-graphql to 0.227.3Wolfgang Müller-1/+1
2024-03-31release: Version 0.1.10.1.1Wolfgang Müller-1/+1
2024-03-31build/deps: Update strawberry-graphql to 0.224.1Wolfgang Müller-1/+1
2024-03-31build/deps: Update pytest-cov to 5.0.0Wolfgang Müller-1/+1
2024-03-21build/deps: Update Python dependenciesWolfgang 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.