-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add stapi-fastapi #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
67a491f
just copy over
toro-berlin e1c6567
move to uv
toro-berlin c18c131
add fastapi to top project
toro-berlin 0a6de72
move ruff & remove poetry stuff
toro-berlin f3f3c4d
add uv lock
toro-berlin 2f39ee3
move pre-commit
toro-berlin f6b3e7e
make mypy and ruff work
toro-berlin 84528ec
remove custom bins for mypy and ruff
toro-berlin 3d693ca
get pytest qworking
toro-berlin 81de4af
remove duplicate files
toro-berlin 2f89d35
move linter settings
toro-berlin a9fbe11
remove linting scripts
toro-berlin fa12e23
removing abandond command
toro-berlin 0f3436e
adding hatch target for pydantic
toro-berlin 2523599
Merge branch 'main' into add-fastapi
gadomski b348cc4
Update stapi-fastapi/pyproject.toml
toro-berlin d08eb34
Update stapi-fastapi/pyproject.toml
toro-berlin c2b986b
remove nox
toro-berlin 6f26f34
run pre-commit hooks through uv run
toro-berlin e0d587b
comment ruff rules
toro-berlin 83106d3
remove explicit ruff includes
toro-berlin d2a9d20
change order of ruff hooks
toro-berlin bb82075
bring back order and let ruff fix it
toro-berlin 07f60c3
increase line lenght
toro-berlin d7b8ba5
remove original .github form fastapi
toro-berlin 5bdd317
pre-commit hooks includes/excludes
toro-berlin 3b53c80
apply ruff linting/format & make mypy happy
toro-berlin e6ab75f
change pre-commit hooks instead of scripts
toro-berlin 64dd76e
use uv for pre-commit hooks
toro-berlin 0a3d2e8
Merge branch 'stapi-spec:main' into add-fastapi
toro-berlin cf47215
make linter happy
toro-berlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| repos: | ||
| - repo: local | ||
| hooks: | ||
|
|
||
| - id: ruff-check | ||
| name: Lint with ruff | ||
| entry: uv run ruff check --fix | ||
| language: system | ||
| types: [python] | ||
| pass_filenames: false | ||
| verbose: true | ||
|
|
||
| - id: ruff-format | ||
| name: Format with ruff | ||
| entry: uv run ruff format | ||
| language: system | ||
| types: [python] | ||
| pass_filenames: false | ||
| verbose: true | ||
|
|
||
| - id: mypy | ||
| name: Check typing with mypy | ||
| entry: uv run mypy | ||
| language: system | ||
| types: [python] | ||
| pass_filenames: false | ||
| verbose: true | ||
|
|
||
| - id: pymarkdown | ||
| name: Markdownlint | ||
| description: Run markdownlint on Markdown files | ||
| entry: uv run pymarkdown scan | ||
| language: system | ||
| files: \.(md|mdown|markdown)$ | ||
|
|
||
| - id: check-added-large-files | ||
| name: Check for added large files | ||
| entry: uv run check-added-large-files | ||
| language: system | ||
|
|
||
| - id: check-toml | ||
| name: Check Toml | ||
| entry: uv run check-toml | ||
| language: system | ||
| types: [toml] | ||
|
|
||
| - id: check-yaml | ||
| name: Check Yaml | ||
| entry: uv run check-yaml | ||
| language: system | ||
| types: [yaml] | ||
| exclude: ^mkdocs.yml$ | ||
|
|
||
| - id: mixed-line-ending | ||
| name: Check mixed line endings | ||
| entry: uv run mixed-line-ending | ||
| language: system | ||
| types: [text] | ||
| stages: [pre-commit, pre-push, manual] | ||
|
|
||
| - id: end-of-file-fixer | ||
| name: Fix End of Files | ||
| entry: uv run end-of-file-fixer | ||
| language: system | ||
| types: [text] | ||
| stages: [pre-commit, pre-push, manual] | ||
|
|
||
| - id: trailing-whitespace | ||
| name: Trim Trailing Whitespace | ||
| entry: uv run trailing-whitespace-fixer | ||
| language: system | ||
| types: [text] | ||
| stages: [pre-commit, pre-push, manual] | ||
|
|
||
| - id: check-merge-conflict | ||
| name: Check merge conflicts | ||
| entry: uv run check-merge-conflict | ||
| language: system | ||
|
|
||
| - id: no-commit-to-branch | ||
| name: Check not committting to main | ||
| entry: uv run no-commit-to-branch | ||
| language: system | ||
| args: ["--branch", "main"] | ||
| pass_filenames: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.