Skip to content

Commit

Permalink
bump deps and version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeking3 committed Jan 20, 2021
1 parent a0cbda2 commit b3ada23
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
repos:
- repo: https://github.com/PyCQA/bandit
rev: 1.6.2
rev: 1.7.0
hooks:
- id: bandit
args:
- "--skip=B101"
- "-x tests/"

- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.5
rev: v2.3.6
hooks:
- id: reorder-python-imports
language_version: python3.7
Expand All @@ -25,12 +25,12 @@ repos:
language_version: python3.7

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
rev: 3.8.4
hooks:
- id: flake8

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v3.4.0
hooks:
- id: requirements-txt-fixer
files: requirements/.*\.txt$
Expand All @@ -44,7 +44,7 @@ repos:
- id: fix-encoding-pragma

- repo: https://github.com/adrienverge/yamllint
rev: v1.24.2
rev: v1.25.0
hooks:
- id: yamllint
args:
Expand Down
8 changes: 4 additions & 4 deletions interposer/tapedeck.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 - 2020 Tuono, Inc.
# Copyright (C) 2019 - 2021 Tuono, Inc.
# All Rights Reserved
#
import difflib
import io
import logging
import pickle # nosec
import pickletools # nosec
import shelve
import shelve # nosec

from contextlib import AbstractContextManager
from dataclasses import dataclass
Expand Down Expand Up @@ -234,7 +234,7 @@ def open(self) -> None:
self._reset()

if self.mode == Mode.Playback:
self._tape = shelve.open(
self._tape = shelve.open( # nosec
str(self.deck), flag="r", protocol=self.PICKLE_PROTOCOL
)
self.file_format = self._tape.get(
Expand All @@ -247,7 +247,7 @@ def open(self) -> None:
self.CURRENT_FILE_FORMAT,
)
else:
self._tape = shelve.open(
self._tape = shelve.open( # nosec
str(self.deck), flag="c", protocol=self.PICKLE_PROTOCOL
)
self._tape[self.LABEL_FILE_FORMAT] = self.CURRENT_FILE_FORMAT
Expand Down
2 changes: 1 addition & 1 deletion requirements/run.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyyaml (~= 5.3.1)
pyyaml (~= 5.4.0)
wrapt (~= 1.12.1)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 - 2020 Tuono, Inc.
# Copyright (C) 2019 - 2021 Tuono, Inc.
# All Rights Reserved
#
from pathlib import Path
Expand All @@ -14,7 +14,7 @@
description = "A code intercept wrapper with recording and playback options."
major = 0
minor = 9
patch = 2
patch = 3

# Everything below should be cookie-cutter

Expand Down

0 comments on commit b3ada23

Please sign in to comment.