Skip to content

Commit

Permalink
Pre-commit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Vance committed Jul 6, 2023
1 parent b09876a commit 941234a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
files: ^src/|^scripts/|^migrant/

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.8.0
hooks:
- id: pyupgrade
args: ["--py39-plus"]
Expand All @@ -28,3 +28,8 @@ repos:
hooks:
- id: isort
args: ["--profile", "black", "--line-length", "88", "--trailing-comma"]

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
4 changes: 2 additions & 2 deletions src/shoobx/mocks3/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
###############################################################################
"""Shoobx S3 Config Test
"""
import mock
import os
import shutil
import tempfile
import unittest
from unittest import mock

from shoobx.mocks3 import config

Expand Down Expand Up @@ -43,4 +43,4 @@ def test_configure_dupe_env_key(self):
with open(config_path, "w") as file:
file.write(TEST_CONFIG % self._dir)
# Ensure loading does not fail.
app = config.configure(config_path)
config.configure(config_path)

0 comments on commit 941234a

Please sign in to comment.