-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from seapagan/develop
Merge version 0.5.0
- Loading branch information
Showing
118 changed files
with
7,128 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
github: seapagan | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
ko_fi: grantramsay | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
custom: ['https://www.buymeacoffee.com/seapagan'] | ||
custom: ["https://www.buymeacoffee.com/seapagan"] |
This file contains 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 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,17 @@ | ||
name: Linting | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
ruff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Linting | ||
uses: chartboost/ruff-action@v1 | ||
with: | ||
args: check | ||
- name: Check Formatting | ||
uses: chartboost/ruff-action@v1 | ||
with: | ||
args: format --check |
This file contains 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 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 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 |
---|---|---|
@@ -1,4 +1,9 @@ | ||
{ | ||
"MD014": false, | ||
"MD046": false | ||
"MD046": false, | ||
"MD033": { | ||
"allowed_elements": [ | ||
"swagger-ui" | ||
] | ||
} | ||
} |
This file contains 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 contains 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 |
---|---|---|
@@ -1,52 +1,59 @@ | ||
{ | ||
"[python]": { | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true | ||
} | ||
"source.fixAll": "explicit", | ||
"source.organizeImports": "explicit" | ||
}, | ||
"editor.defaultFormatter": "charliermarsh.ruff" | ||
}, | ||
"autoDocstring.startOnNewLine": true, | ||
"beautify.language": { | ||
"html": ["htm", "html", "django-html"] | ||
}, | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"emmet.includeLanguages": { | ||
"django-html": "html", | ||
"jinja-html": "html" | ||
}, | ||
"emmet.triggerExpansionOnTab": true, | ||
"files.associations": { | ||
"**/*.html": "html", | ||
"**/*.tpl": "jinja", | ||
"**/requirements{/**,*}.{txt,in}": "pip-requirements", | ||
"**/templates/**/*": "django-txt", | ||
"**/templates/**/*.html": "jinja-html" | ||
}, | ||
"files.eol": "\n", | ||
"files.exclude": { | ||
"**/.cache": true, | ||
"**/.mypy_cache": true, | ||
"**/.pytest_cache": true, | ||
"**/.ruff_cache": true, | ||
"**/__pycache__": true | ||
}, | ||
"git.alwaysSignOff": true, | ||
"git.enableCommitSigning": true, | ||
"html.format.indentHandlebars": true, | ||
"html.format.templating": true, | ||
"markdownlint.ignore": ["CHANGELOG.md"], | ||
"material-icon-theme.languages.associations": { | ||
"jinja-html": "django" | ||
}, | ||
"mypy-type-checker.args": ["--strict"], | ||
"mypy-type-checker.importStrategy": "useBundled", | ||
"mypy-type-checker.reportingScope": "workspace", | ||
"python.analysis.autoImportCompletions": true, | ||
"python.analysis.autoImportUserSymbols": true, | ||
"python.analysis.extraPaths": [], | ||
"python.analysis.indexing": true, | ||
"python.analysis.stubPath": "/home/seapagan/stubs", | ||
"python.analysis.typeCheckingMode": "basic", | ||
"python.formatting.blackArgs": ["--line-length=80"], | ||
"python.formatting.provider": "black", | ||
"python.analysis.typeCheckingMode": "off", | ||
"python.languageServer": "Pylance", | ||
"python.linting.enabled": true, | ||
"python.linting.flake8Args": ["--max-line-length=80"], | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.mypyEnabled": false, | ||
"python.linting.pydocstyleArgs": ["--convention=google"], | ||
"python.linting.pylintArgs": [], | ||
"python.linting.pylintEnabled": false, | ||
"python.linting.pylintUseMinimalCheckers": false, | ||
"python.pythonPath": "/home/seapagan/.pyenv/versions/calendar/bin/python", | ||
"python.sortImports.args": ["--profile", "black", "--src=${workspaceFolder}"], | ||
"python.testing.nosetestsEnabled": false, | ||
"python.pythonPath": "./.venv/bin/python", | ||
"python.testing.pytestArgs": ["tests"], | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.unittestArgs": ["-v", "-s", "./tests", "-p", "*_test.py"], | ||
"python.testing.unittestEnabled": false, | ||
"testExplorer.addToEditorContextMenu": true | ||
"ruff.fixAll": false, | ||
"ruff.organizeImports": true | ||
} |
This file contains 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Bugs | ||
|
||
1) if user is deleted while logged in gives 500 (Internal Server Error). | ||
Below is a (non-exhaustive) list of known bugs in the application. Check the | ||
[Issues](https://github.com/seapagan/fastapi-template/issues) also. If you find | ||
a bug, please report it. | ||
|
||
- If a user is deleted while logged in, the API returns a 500 (Internal Server | ||
Error). | ||
- Tests dont work under Docker since we don't have a 'test' database configured. |
Oops, something went wrong.