Skip to content

Commit f21b256

Browse files
authored
Improvements on serialisation, testing and auth/z/n (#18)
* Ignoring /.coverage * Cosmetic change * Cosmetic change * Interim * Changed from FLASK_CONFIG to APP_CONFIG * Added new run configurations for migration mgmt * Adjusted local datasources * Regenerated migration * Log when overriding configuration * Adjusted generated accounts so they don't clash * Fixed local docker configuration * Added IDEA pylint configuration * Removed unnecesssary f-string * Adjusted path to local configuration * Logs config overrides by cui * Interim * Different schema rendering For some strange reason, we must dump the schema differently here * Updated the databases * Sanitised run configurations * Transfer * Fixed some pylint complaints * Fixed pylint complaints * Installing dev requirements first saves some time later * Removed extraneous logging import * Updated dependencies * Temporarily disabling test * Pipeline debugging * Re-enabled testing * Perhaps without PYTHONPATH? * Fixed the testsuite * Re-enabled testing * Caching pip cache too * Temporarily disabling test * Should be tilde rather than ${HOME} * Just trying with pytest * Need to point to local * Pipeline debugging * Must affix itsdangerous to 2.0.1 They dropped the JWS support * Resanitized the pipeline
1 parent 404561d commit f21b256

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+593
-263
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ jobs:
6262
- name: Establish a cache for dependencies
6363
uses: actions/cache@v2
6464
with:
65-
path: ${HOME}/.local
65+
path: |
66+
~/.local
67+
~/.cache/pip
6668
key: ${{ runner.os }}
6769

6870
- name: Build
6971
run: |
7072
export PYTHONUSERBASE=${HOME}/.local
73+
pip install --user wheel
7174
pip install --user -r requirements.txt
7275
${PYTHONUSERBASE}/bin/pylint ${GITHUB_WORKSPACE}/mrmat_python_api_flask
7376
PYTHONPATH=${GITHUB_WORKSPACE} python -m pytest --cov=mrmat_python_api_flask

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,5 @@ dmypy.json
246246

247247
# End of https://www.toptal.com/developers/gitignore/api/jetbrains,python
248248

249-
var/terraform/.terraform/
250-
var/terraform/.terraform.lock.hcl
249+
250+
.coverage

.idea/dataSources.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/mrmat-python-api-flask.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/pylint.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/build.xml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/cui.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/db_current.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/db_downgrade.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/db_revision.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)