Skip to content

December update and refresh#781

Merged
seapagan merged 9 commits intomainfrom
december-refresh
Dec 21, 2025
Merged

December update and refresh#781
seapagan merged 9 commits intomainfrom
december-refresh

Conversation

@seapagan
Copy link
Owner

@seapagan seapagan commented Dec 21, 2025

This pull request includes several dependency and configuration updates, as well as some minor bug fixes and code improvements. The most significant changes are grouped below by theme.

Dependency and Tooling Updates:

  • Upgraded several development and runtime dependencies, including fastapi (to 0.126.0), fastapi-pagination, mypy (to 1.19.1), ruff (to 0.14.10), and others in requirements-dev.txt, .pre-commit-config.yaml, and pyproject.toml. Also added new dependencies such as ty and pydantic-extra-types. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Updated .pre-commit-config.yaml to use newer versions of ruff, mypy, and uv-pre-commit. [1] [2] [3]
  • Updated pyproject.toml to use the new [dependency-groups] format and added ty to the lint sequence and as a dev dependency. [1] [2] [3]

Code and API Improvements:

  • Changed usage of fastapi_pagination.ext.sqlalchemy.paginate to apaginate in app/resources/user.py for async compatibility. [1] [2]
  • Updated the mypy-type-checker.importStrategy in .vscode/settings.json from useBundled to fromEnvironment for improved type checking behavior.

Bug Fixes and Status Code Consistency:

  • Replaced usage of deprecated or incorrect HTTP status code HTTP_422_UNPROCESSABLE_ENTITY with HTTP_422_UNPROCESSABLE_CONTENT throughout the codebase and tests for better standards compliance. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Minor CLI and Typing Adjustments:

  • Removed flag_value=True and is_flag=True from several Typer CLI command arguments in app/commands/user.py for improved CLI argument handling. [1] [2] [3] [4]

Testing and Code Quality:

  • Added a new test class for hashing mechanism validation in tests/unit/test_api_key_manager.py.

These changes collectively improve code quality, dependency management, and standards compliance across the project.

Signed-off-by: Grant Ramsay <seapagan@gmail.com>
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
This is still beta but usable

Signed-off-by: Grant Ramsay <seapagan@gmail.com>
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
@codacy-production
Copy link

codacy-production bot commented Dec 21, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%) 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (63e1a4a) 1544 1544 100.00%
Head commit (76a8b48) 1544 (+0) 1544 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#781) 2 2 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@seapagan seapagan changed the title December refresh December update and refresh Dec 21, 2025
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
@seapagan seapagan self-assigned this Dec 21, 2025
@seapagan seapagan added the enhancement New feature or request label Dec 21, 2025
@seapagan seapagan marked this pull request as ready for review December 21, 2025 14:28
@seapagan seapagan merged commit f6e7789 into main Dec 21, 2025
15 checks passed
@seapagan seapagan deleted the december-refresh branch December 21, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant