diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bffe9b83e..3622fa6bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,17 +7,17 @@ repos: args: [--unittest] exclude: ^tests/utils.py - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: [--profile=black, --gitignore] - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 24.1.1 hooks: - id: black args: [--line-length=127] - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 args: @@ -28,7 +28,7 @@ repos: - --extend-ignore=E203,E231,E252,E721,F403,F405,F541,W503 files: zappa - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 + rev: v1.8.0 hooks: - id: mypy args: diff --git a/Pipfile b/Pipfile index 89ab19269..24a31acc2 100644 --- a/Pipfile +++ b/Pipfile @@ -4,16 +4,16 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] -black = "*" +black = "==24.1.1" boto3-stubs = "*" coveralls = "*" Django = "<4" django-stubs = "*" -flake8 = "*" +flake8 = "==7.0.0" Flask = "*" -isort = "*" +isort = "==5.13.2" mock = "*" -mypy = "*" +mypy = "==1.8.0" packaging = "*" pre-commit = "*" pytest = "*" diff --git a/example/authmodule.py b/example/authmodule.py index a5c8f47a9..a11b07e90 100644 --- a/example/authmodule.py +++ b/example/authmodule.py @@ -4,6 +4,7 @@ http://aws.amazon.com/apache2.0/ or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ + import json import pprint import re diff --git a/zappa/cli.py b/zappa/cli.py index 08e428056..a89f9816a 100755 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -4,6 +4,7 @@ Deploy arbitrary Python programs as serverless Zappa applications. """ + import argparse import base64 import collections