Skip to content

Commit

Permalink
Update and lock linting tool versions to keep dev env stable (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
javulticat authored Feb 6, 2024
1 parent aa87eed commit e68ce5c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "*"
Expand Down
1 change: 1 addition & 0 deletions example/authmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions zappa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Deploy arbitrary Python programs as serverless Zappa applications.
"""

import argparse
import base64
import collections
Expand Down

0 comments on commit e68ce5c

Please sign in to comment.