Skip to content

Commit

Permalink
Merge branch 'release/6.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Jul 1, 2023
2 parents 27d6391 + 21bfc4c commit 1bb7bbf
Show file tree
Hide file tree
Showing 8 changed files with 555 additions and 458 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.3"
python-version: "3.11.4"
architecture: x64
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages
cache: "pipenv"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
|| 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 --benchmark-disable
run: env LOG_LEVEL=INFO pipenv run pytest --quiet --cov --cov-report term -n auto --benchmark-disable
- name: Python Benchmark with pytest
run: env LOG_LEVEL=ERROR pipenv run pytest --capture=no --log-cli-level=ERROR -n 0 --benchmark-only
pyinstaller-smoke-test:
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ repos:
- id: check-case-conflict
- repo: local
hooks:
- id: autoflake
name: autoflake
stages: [ commit ]
language: system
entry: pipenv run autoflake
types: [ python ]
args:
- "--in-place"
- "--expand-star-imports"
- "--remove-duplicate-keys"
- "--remove-unused-variables"
- id: isort
name: isort
stages: [ commit ]
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# [6.0.3](https://github.com/johnnymillergh/python_boilerplate/compare/6.0.2...6.0.3) (2023-07-01)


### Features

* integrate autoflake to remove unused codes automatically ([383726f](https://github.com/johnnymillergh/python_boilerplate/commit/383726fdfc3156d6543a6dcac8de8b63238d3027))


### Performance Improvements

* **$pipenv:** upgrade dependencies ([110e10a](https://github.com/johnnymillergh/python_boilerplate/commit/110e10a03ef4eaa7e3f867b9df13ea09f943d1ce))
* upgrade dependencies ([639a914](https://github.com/johnnymillergh/python_boilerplate/commit/639a914e11410c3e94c0e91ad5b80063db6a28ae))



# [6.0.2](https://github.com/johnnymillergh/python_boilerplate/compare/6.0.1...6.0.2) (2023-05-21)


Expand Down
31 changes: 17 additions & 14 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ python_version = "3.11"

[packages]
# 🏗 Foundamental dependencies
pydantic = "==1.10.7"
# Data validation using Python type hints. https://github.com/pydantic/pydantic
pydantic = "==1.10.10"
# Loguru is a library which aims to bring enjoyable logging in Python. https://pypi.org/project/loguru/
loguru = "==0.7.0"
# pyhocon is a HOCON parser for Python. Additionally we provide a tool (pyhocon) to convert any HOCON content into json,
# yaml and properties format. https://pypi.org/project/pyhocon/
pyhocon = "==0.3.60"
# Data manipulation dependencies
# NumPy is a Python library used for working with arrays. https://pypi.org/project/numpy/
numpy = "==1.24.3"
numpy = "==1.25.0"
# pandas is a Python package that provides fast, flexible, and expressive data structures designed to make working
# with "relational" or "labeled" data both easy and intuitive. https://pypi.org/project/pandas/
pandas = "==2.0.1"
pandas = "==2.0.3"
# Python enhancement dependencies
# Arrow is a Python library that offers a sensible and human-friendly approach to creating, manipulating,
# formatting and converting dates, times and timestamps. https://pypi.org/project/arrow/
Expand All @@ -33,7 +34,7 @@ peewee = "==3.16.2"
jinja2 = "==3.1.2"
# Tool dependencies
# Faker is a Python package that generates fake data for you. https://pypi.org/project/Faker/
faker = "==18.6.0"
faker = "==18.11.2"
# A Python module to parse, validate and reformat standard numbers and codes in different formats.
# It contains a large collection of number formats. https://pypi.org/project/python-stdnum/
python-stdnum = "==1.18"
Expand All @@ -54,26 +55,28 @@ psutil = "==5.9.5"
black = "==23.3.0"
# Naming Convention checker for Python. https://github.com/PyCQA/pep8-naming
pep8-naming = "==0.13.3"
# Linting & toolkit for checking your code base against coding style (PEP8). https://pypi.org/project/flake8/
# Removes unused imports and unused variables as reported by pyflakes. https://github.com/PyCQA/autoflake
autoflake = "==2.2.0"
# Linting & toolkit for checking your code base against coding style (PEP8). https://github.com/pycqa/flake8
flake8 = "==6.0.0"
# https://github.com/DmytroLitvinov/awesome-flake8-extensions
flake8-quotes = "==3.3.2"
flake8-print = "==5.0.0"
flake8-use-fstring = "==1.4"
flake8-comprehensions = "==3.12.0"
flake8-comprehensions = "==3.13.0"
# isort your imports, so you don't have to. https://pypi.org/project/isort/
isort = "==5.12.0"
# Add type annotations to your Python programs, and use mypy to type check them. https://pypi.org/project/mypy/
mypy = "==1.3.0"
mypy = "==1.4.0"
# A framework for managing and maintaining multi-language pre-commit hooks. https://pypi.org/project/pre-commit/
pre-commit = "==3.3.2"
pre-commit = "==3.3.3"
# The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
# for applications and libraries. https://pypi.org/project/pytest/
pytest = "==7.3.1"
pytest = "==7.4.0"
# Thin-wrapper around the mock package for easier use with pytest. https://pypi.org/project/pytest-mock/
pytest-mock = "==3.10.0"
pytest-mock = "==3.11.1"
# This plugin produces coverage reports. https://pypi.org/project/pytest-cov/
pytest-cov = "==4.0.0"
pytest-cov = "==4.1.0"
# Plugin for generating HTML reports for pytest results. https://github.com/pytest-dev/pytest-html/
pytest-html = "==3.2.0"
# pytest xdist plugin for distributed testing and loop-on-failing modes. https://github.com/pytest-dev/pytest-xdist/
Expand All @@ -83,9 +86,9 @@ pytest-asyncio = "==0.21.0"
# A `pytest` fixture for benchmarking code. https://github.com/ionelmc/pytest-benchmark
pytest-benchmark = "==4.0.0"
# Call stack profiler for Python. Shows you why your code is slow! https://github.com/joerick/pyinstrument
pyinstrument = "==4.4.0"
pyinstrument = "==4.5.0"
# Pytest plugin for analyzing resource usage during test sessions. https://github.com/CFMTech/pytest-monitor
pytest-monitor = "==1.6.5"
pytest-monitor = "==1.6.6"
# PyInstaller bundles a Python application and all its dependencies into a single package. https://github.com/pyinstaller/pyinstaller
pyinstaller = "==5.11.0"
pyinstaller = "==5.13.0"
# 🪜 Customization dependencies
Loading

0 comments on commit 1bb7bbf

Please sign in to comment.