Skip to content

Commit 27029a4

Browse files
authored
Small updates (#22)
* Applied source layout * Added lint configuration * Fixed IDEA pylint configuration * Adjusted path * Adjusted path for pytest * Upgraded dependencies
1 parent 6310717 commit 27029a4

38 files changed

+65
-48
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
export PYTHONUSERBASE=${HOME}/.local
7373
pip install --user wheel
7474
pip install --user -r requirements.txt
75-
${PYTHONUSERBASE}/bin/pylint ${GITHUB_WORKSPACE}/mrmat_python_api_flask
76-
PYTHONPATH=${GITHUB_WORKSPACE} python -m pytest --cov=mrmat_python_api_flask
75+
${PYTHONUSERBASE}/bin/pylint ${GITHUB_WORKSPACE}/src/python/mrmat_python_api_flask
76+
PYTHONPATH=${GITHUB_WORKSPACE}/src/python python -m pytest --cov=mrmat_python_api_flask
7777
PYTHONPATH=${GITHUB_WORKSPACE} python -m build --wheel -n
7878
7979
- name: Upload test results

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

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/pylint.xml

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

.idea/runConfigurations/docker__nostromo_.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.idea/runConfigurations/lint.xml

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

.idea/runConfigurations/mrmat_python_api_flask__local_infrastructure_.xml

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

.idea/runConfigurations/mrmat_python_api_flask__no_infrastructure_.xml

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

.idea/runConfigurations/mrmat_python_api_flask__no_infrastructure__debug_.xml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ You have the choice of running this
8484
You can, of course, run this as a Flask app straight from the project directory:
8585

8686
```shell
87-
$ export FLASK_APP=mrmat_python_api_flask
88-
$ flask run
87+
$ cd src/python
88+
$ FLASK_APP=mrmat_python_api_flask flask run
8989
* Serving Flask app 'mrmat_python_api_flask' (lazy loading)
9090
* Environment: production
9191
WARNING: This is a development server. Do not use it in a production deployment.

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55

66
# Build/Test requirements
77

8-
build~=0.7.0 # MIT
8+
build~=0.8.0 # MIT
99
wheel~=0.37.1 # MIT
10-
pylint~=2.12.2 # GPL-2.0-or-later
11-
pytest~=7.0.1 # MIT
10+
pylint~=2.14.5 # GPL-2.0-or-later
11+
pytest~=7.1.2 # MIT
1212
pytest-cov~=3.0.0 # MIT
13-
pyjwt~=2.3.0 # MIT
14-
python-keycloak~=0.27.0 # MIT
13+
pyjwt~=2.4.0 # MIT
14+
python-keycloak~=2.1.1 # MIT
1515

1616
# Runtime requirements
1717

18-
rich~=11.2.0 # MIT
19-
Flask~=2.0.3 # BSD 3-Clause
18+
rich~=12.5.1 # MIT
19+
Flask~=2.1.3 # BSD 3-Clause
2020
Flask-SQLAlchemy~=2.5.1 # BSD 3-Clause
2121
Flask-Migrate~=3.1.0 # MIT
22-
flask-smorest~=0.37.0 # MIT
22+
flask-smorest~=0.38.1 # MIT
2323
Flask-Marshmallow~=0.14.0 # MIT
2424
marshmallow-sqlalchemy~=0.27.0 # MIT
2525
psycopg2-binary~=2.9.3 # LGPL with exceptions

0 commit comments

Comments
 (0)