Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
repos:
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.3
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.16.0
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.0.0
rev: v3.21.2
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 22.10.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: check-byte-order-marker
- id: trailing-whitespace
Expand Down
1 change: 0 additions & 1 deletion src/secure_cookie/_compat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sys


_default_encoding = sys.getdefaultencoding()


Expand Down
1 change: 1 addition & 0 deletions src/secure_cookie/cookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def application(request):

.. autoexception:: UnquoteError
"""

import base64
import json as _json
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions src/secure_cookie/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def application(request):
.. autoclass:: SessionMiddleware
:members:
"""

import os
import pathlib
import pickle
Expand Down
Loading