Skip to content

Commit

Permalink
Merge branch 'release/0.3.11' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Feb 11, 2024
2 parents 50babf4 + d32456d commit 60e87a7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@ exclude: tests/etc/user-*

repos:
- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.7
hooks:
- id: bandit
args:
- "-x *test*.py"

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.1.1
hooks:
- id: black
language_version: python3.11

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
args:
- "--config=setup.cfg"

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: requirements-txt-fixer
files: requirements/.*\.txt$
Expand All @@ -40,11 +40,9 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- id: detect-private-key
- id: detect-aws-credentials
- id: check-toml

- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
args:
Expand Down
1 change: 0 additions & 1 deletion django_crypto_fields/fields/firstname_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class FirstnameField(BaseRsaField):

"""Restricted-rsa encrypted field for a model's Firstname
attribute.
"""
Expand Down
1 change: 0 additions & 1 deletion django_crypto_fields/key_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class DjangoCryptoFieldsKeyAlreadyExist(Exception):


class KeyCreator:

"""Creates new keys if key do not yet exist."""

def __init__(self, key_files=None, verbose_mode=None):
Expand Down
1 change: 0 additions & 1 deletion django_crypto_fields/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class Keys:

"""
Class to prepare RSA, AES keys for use by field classes.
Expand Down
1 change: 0 additions & 1 deletion django_crypto_fields/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def get_by_natural_key(self, value_as_hash, algorithm, mode):


class Crypt(AuditUuidModelMixin, models.Model):

"""A secrets lookup model searchable by hash."""

hash = models.CharField(verbose_name="Hash", max_length=128, db_index=True)
Expand Down

0 comments on commit 60e87a7

Please sign in to comment.