diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 18a4abb..a3b2401 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -8,17 +8,17 @@ jobs: strategy: matrix: python: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - - uses: amancevice/setup-code-climate@v1 + - uses: amancevice/setup-code-climate@v2 with: cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }} - run: cc-test-reporter before-build diff --git a/README.md b/README.md index 9c7c946..fb87593 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![pypi](https://img.shields.io/pypi/v/lambda-gateway?color=yellow&logo=python&logoColor=eee&style=flat-square)](https://pypi.org/project/lambda-gateway/) [![python](https://img.shields.io/pypi/pyversions/lambda-gateway?logo=python&logoColor=eee&style=flat-square)](https://pypi.org/project/lambda-gateway/) -[![pytest](https://img.shields.io/github/workflow/status/amancevice/python-lambda-gateway/pytest?logo=github&style=flat-square)](https://github.com/amancevice/python-lambda-gateway/actions) +[![pytest](https://img.shields.io/github/actions/workflow/status/amancevice/python-lambda-gateway/pytest.yml?logo=github&style=flat-square)](https://github.com/amancevice/python-lambda-gateway/actions/workflows/pytest.yml) [![coverage](https://img.shields.io/codeclimate/coverage/amancevice/python-lambda-gateway?logo=code-climate&style=flat-square)](https://codeclimate.com/github/amancevice/python-lambda-gateway/test_coverage) [![maintainability](https://img.shields.io/codeclimate/maintainability/amancevice/python-lambda-gateway?logo=code-climate&style=flat-square)](https://codeclimate.com/github/amancevice/python-lambda-gateway/maintainability) diff --git a/lambda_gateway/__init__.py b/lambda_gateway/__init__.py index 3c28716..887e58a 100644 --- a/lambda_gateway/__init__.py +++ b/lambda_gateway/__init__.py @@ -1,9 +1,10 @@ """ Lambda Gateway """ + import logging -__version__ = "1.0.1" +__version__ = "1.1.0" def set_stream_logger(name, level=logging.DEBUG, format_string=None): diff --git a/pyproject.toml b/pyproject.toml index e129efc..e1d1166 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,9 @@ requires = ["flit_core >=3.2,<4"] build-backend = "flit_core.buildapi" [project] -authors = [{name = "Alexander Mancevice", email = "alexander.mancevice@hey.com"}] +authors = [ + { name = "Alexander Mancevice", email = "alexander.mancevice@hey.com" }, +] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", @@ -13,17 +15,17 @@ classifiers = [ "Operating System :: OS Independent", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Utilities", ] dynamic = ["version", "description"] -license = {file = "LICENSE"} +license = { file = "LICENSE" } name = "lambda_gateway" -requires-python = ">= 3.7" +requires-python = ">= 3.8" readme = "README.md" [project.urls] @@ -31,4 +33,4 @@ Home = "https://github.com/amancevice/python-lambda-gateway" [tool.pytest.ini_options] minversion = "6.0" -addopts = "--cov lambda_gateway --cov tests --cov-report term-missing --cov-report xml" +addopts = "--cov lambda_gateway --cov tests --cov-report term-missing --cov-report xml"