-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: Update
template-application-flask
to version 0.4.0 (#8)
Manual migration for the template switch to the Platform CLI[1]. [1] navapbc/template-application-flask@6a23ef5
- Loading branch information
Showing
21 changed files
with
59 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
# This file is allows you to specify a list of files that is acceptable to Dockle | ||
# To allow multiple files, use a list of names, example below. Make sure to remove the leading # | ||
# DOCKLE_ACCEPT_FILES="file1,path/to/file2,file3/path,etc" | ||
# https://github.com/goodwithtech/dockle#accept-suspicious-environment-variables--files--file-extensions | ||
# DOCKLE_ACCEPT_FILES="file1,path/to/file2,file3/path,etc" | ||
|
||
# The apiflask/settings file is a stub file that apiflask creates, and has no sensitive data in. We are ignoring it since it is unused | ||
DOCKLE_ACCEPT_FILES=app/.venv/lib/python3.12/site-packages/apiflask/settings.py | ||
# https://github.com/goodwithtech/dockle#accept-suspicious-environment-variables--files--file-extensions |
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 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,11 +1,6 @@ | ||
# List of settings and ignore or safelist findings for the hadolint scanner | ||
|
||
# For more information on any settings you can specify, see the actions' documentation here | ||
# https://github.com/hadolint/hadolint#configure | ||
failure-threshold: warning | ||
ignored: [] | ||
override: | ||
info: | ||
# Casts the apt-get install <package>=<version> finding as info | ||
# We have this set since there is no way to specify version for | ||
# build-essentials in the Dockerfile | ||
- DL3008 |
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,5 @@ | ||
# Changes here will be overwritten by Copier | ||
_commit: v0.4.0 | ||
_src_path: https://github.com/navapbc/template-application-flask | ||
app_local_port: 8080 | ||
app_name: app |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file is allows you to specify a list of files that is acceptable to Dockle | ||
# To allow multiple files, use a list of names, example below. Make sure to remove the leading # | ||
# DOCKLE_ACCEPT_FILES="file1,path/to/file2,file3/path,etc" | ||
# https://github.com/goodwithtech/dockle#accept-suspicious-environment-variables--files--file-extensions | ||
# DOCKLE_ACCEPT_FILES="file1,path/to/file2,file3/path,etc" | ||
|
||
# The apiflask/settings file is a stub file that apiflask creates, and has no sensitive data in. We are ignoring it since it is unused | ||
DOCKLE_ACCEPT_FILES=app/.venv/lib/python3.13/site-packages/apiflask/settings.py |
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,11 @@ | ||
# List of settings and ignore or safelist findings for the hadolint scanner | ||
# For more information on any settings you can specify, see the actions' documentation here | ||
# https://github.com/hadolint/hadolint#configure | ||
failure-threshold: warning | ||
ignored: [] | ||
override: | ||
info: | ||
# Casts the apt-get install <package>=<version> finding as info | ||
# We have this set since there is no way to specify version for | ||
# build-essentials in the Dockerfile | ||
- DL3008 |
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
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,6 +1,5 @@ | ||
services: | ||
|
||
main-app: | ||
app: | ||
env_file: | ||
- local.env | ||
- .env |
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 |
---|---|---|
|
@@ -6,8 +6,7 @@ packages = [{ include = "src" }] | |
authors = ["Nava Engineering <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
# See /docs/app/README.md#Upgrading Python | ||
# for details on upgrading your Python version | ||
# See docs for details on upgrading your Python version | ||
python = "~3.13" | ||
SQLAlchemy = {version = "^2.0.21", extras = ["mypy"]} | ||
alembic = "^1.12.0" | ||
|
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