Skip to content

Commit

Permalink
Merge branch 'release/6.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed May 13, 2023
2 parents cb0a25f + 70dc7e5 commit 6a08393
Show file tree
Hide file tree
Showing 23 changed files with 595 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .github/actions/project-environment-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.11.2"
python-version: "3.11.3"
architecture: x64
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages
cache: "pipenv"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- run: pipenv run isort --recursive --diff .
- run: pipenv run black --check .
- run: pipenv run flake8
- name: Install mypy types
run: |
yes | pipenv run mypy --install-types \
|| test $? -eq 2 && echo "Installed mypy types successfully" \
|| echo "Failed to install mypy types"
- run: pipenv run mypy
- name: Python Tests with pytest
run: LOG_LEVEL=INFO pipenv run pytest --cov --cov-fail-under=90 --capture=no --log-cli-level=INFO -n auto
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# [6.0.1](https://github.com/johnnymillergh/muscle-and-fitness-server/compare/6.0.0...6.0.1) (2023-05-13)


### Features

* **$asyncio:** create demo for `asyncio` ([b6a426e](https://github.com/johnnymillergh/python_boilerplate/commit/b6a426ef5641a1739acddfcc46bc3ed9964c7d6f))
* **$demo:** support strategy design pattern in Python ([2d33e6e](https://github.com/johnnymillergh/python_boilerplate/commit/2d33e6e49d36994161b23e071d80b187c7ba170d))
* **$mypy:** support more function types working with `[@debounce](https://github.com/debounce)` or `[@throttle](https://github.com/throttle)` ([3e88e1c](https://github.com/johnnymillergh/python_boilerplate/commit/3e88e1cd2b8b394a97d485b3bd4d183d5b0d9453))


### Performance Improvements

* **$mypy:** type var for return type ([1d5394f](https://github.com/johnnymillergh/python_boilerplate/commit/1d5394f5651b130c3c844399ff0b1c51c332428c))
* **$Python:** upgrade Python to 3.11.3 ([24f5b1b](https://github.com/johnnymillergh/python_boilerplate/commit/24f5b1b76296f279ea3f8be5cd70f82e5e06ac3c))



# [6.0.0](https://github.com/johnnymillergh/muscle-and-fitness-server/compare/5.0.0...6.0.0) (2023-05-02)


Expand Down
7 changes: 6 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ verify_ssl = true
python_version = "3.11"

[packages]
# Foundamental dependencies
# 🏗 Foundamental dependencies
pydantic = "==1.10.7"
# Loguru is a library which aims to bring enjoyable logging in Python. https://pypi.org/project/loguru/
loguru = "==0.7.0"
Expand Down Expand Up @@ -45,8 +45,10 @@ matplotlib = "==3.7.1"
pgpy = "==0.6.0"
# Cross-platform lib for process and system monitoring in Python. https://github.com/giampaolo/psutil
psutil = "==5.9.4"
# 🪜 Customization dependencies

[dev-packages]
# 🏗 Foundamental dependencies
# Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of
# hand-formatting. https://pypi.org/project/black/
black = "==23.3.0"
Expand Down Expand Up @@ -76,9 +78,12 @@ pytest-cov = "==4.0.0"
pytest-html = "==3.2.0"
# pytest xdist plugin for distributed testing and loop-on-failing modes. https://github.com/pytest-dev/pytest-xdist/
pytest-xdist = "==3.2.1"
# Pytest support for asyncio. https://github.com/pytest-dev/pytest-asyncio
pytest-asyncio = "==0.21.0"
# Call stack profiler for Python. Shows you why your code is slow! https://github.com/joerick/pyinstrument
pyinstrument = "==4.4.0"
# Pytest plugin for analyzing resource usage during test sessions. https://github.com/CFMTech/pytest-monitor
pytest-monitor = "==1.6.5"
# PyInstaller bundles a Python application and all its dependencies into a single package. https://github.com/pyinstaller/pyinstaller
pyinstaller = "==5.10.1"
# 🪜 Customization dependencies
108 changes: 42 additions & 66 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6a08393

Please sign in to comment.