Skip to content

Commit 8406dde

Browse files
committed
update deps
1 parent 9b0c8c0 commit 8406dde

11 files changed

Lines changed: 163 additions & 193 deletions

File tree

paseto/crypto/primitives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module exports third party primitives. """
1+
"""This module exports third party primitives."""
22

33
# from nacl.bindings import crypto_aead_xchacha20poly1305_ietf_decrypt as decrypt
44
# from nacl.bindings import crypto_aead_xchacha20poly1305_ietf_encrypt as encrypt

paseto/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module contains exceptions. """
1+
"""This module contains exceptions."""
22

33

44
class PasetoException(Exception):

paseto/protocol/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module contains utility functions necessary for protocol implementation. """
1+
"""This module contains utility functions necessary for protocol implementation."""
22

33
from base64 import urlsafe_b64decode, urlsafe_b64encode
44
from struct import pack

paseto/protocol/version2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module contains Version2 implementation of the Paseto protocol. """
1+
"""This module contains Version2 implementation of the Paseto protocol."""
22

33
import hashlib
44
import os

poetry.lock

Lines changed: 140 additions & 163 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pylama.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,19 @@ python = "^3.10"
2424
pysodium = "^0.7.17"
2525

2626
[tool.poetry.group.dev.dependencies]
27-
black = "^24.4.0"
27+
black = "^26.3.1"
2828
codespell = "^2.2.6"
2929
coverage = "^7"
3030
cython = "^3.0.7"
31-
isort = "^6.0"
31+
isort = "^8.0"
3232
mypy = "^1.7"
33-
pylama = "^8.4"
34-
pylint = "^3.0"
33+
pylint = "^4.0"
3534
pynacl = "^1.5"
3635
pre-commit = "^4.0"
37-
pytest = "^8.1"
38-
pytest-benchmark = "^4.0"
39-
ruff = "^0.13.0"
40-
setuptools = "^80.9.0"
36+
pytest = "^9.0"
37+
pytest-benchmark = "^5.2"
38+
ruff = "^0.15.0"
39+
setuptools = "^82.0"
4140

4241
[tool.black]
4342
exclude = '/(submodules)/'

requirements-dev.txt

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
astroid==3.3.11 ; python_version >= "3.10" and python_version < "4.0"
2-
black==24.10.0 ; python_version >= "3.10" and python_version < "4.0"
1+
astroid==4.0.4 ; python_version >= "3.10" and python_version < "4.0"
2+
black==26.3.1 ; python_version >= "3.10" and python_version < "4.0"
33
cffi==2.0.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
44
cfgv==3.5.0 ; python_version >= "3.10" and python_version < "4.0"
55
click==8.3.2 ; python_version >= "3.10" and python_version < "4.0"
@@ -13,7 +13,7 @@ exceptiongroup==1.3.1 ; python_version == "3.10"
1313
filelock==3.25.2 ; python_version >= "3.10" and python_version < "4.0"
1414
identify==2.6.18 ; python_version >= "3.10" and python_version < "4.0"
1515
iniconfig==2.3.0 ; python_version >= "3.10" and python_version < "4.0"
16-
isort==6.1.0 ; python_version >= "3.10" and python_version < "4.0"
16+
isort==8.0.1 ; python_version >= "3.10" and python_version < "4.0"
1717
librt==0.9.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy"
1818
mccabe==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
1919
mypy-extensions==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
@@ -25,22 +25,18 @@ platformdirs==4.9.6 ; python_version >= "3.10" and python_version < "4.0"
2525
pluggy==1.6.0 ; python_version >= "3.10" and python_version < "4.0"
2626
pre-commit==4.5.1 ; python_version >= "3.10" and python_version < "4.0"
2727
py-cpuinfo==9.0.0 ; python_version >= "3.10" and python_version < "4.0"
28-
pycodestyle==2.14.0 ; python_version >= "3.10" and python_version < "4.0"
2928
pycparser==3.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" and implementation_name != "PyPy"
30-
pydocstyle==6.3.0 ; python_version >= "3.10" and python_version < "4.0"
31-
pyflakes==3.4.0 ; python_version >= "3.10" and python_version < "4.0"
3229
pygments==2.20.0 ; python_version >= "3.10" and python_version < "4.0"
33-
pylama==8.4.1 ; python_version >= "3.10" and python_version < "4.0"
34-
pylint==3.3.9 ; python_version >= "3.10" and python_version < "4.0"
30+
pylint==4.0.5 ; python_version >= "3.10" and python_version < "4.0"
3531
pynacl==1.6.2 ; python_version >= "3.10" and python_version < "4.0"
3632
pysodium==0.7.18 ; python_version >= "3.10" and python_version < "4.0"
37-
pytest-benchmark==4.0.0 ; python_version >= "3.10" and python_version < "4.0"
38-
pytest==8.4.2 ; python_version >= "3.10" and python_version < "4.0"
33+
pytest-benchmark==5.2.3 ; python_version >= "3.10" and python_version < "4.0"
34+
pytest==9.0.3 ; python_version >= "3.10" and python_version < "4.0"
3935
python-discovery==1.2.2 ; python_version >= "3.10" and python_version < "4.0"
36+
pytokens==0.4.1 ; python_version >= "3.10" and python_version < "4.0"
4037
pyyaml==6.0.3 ; python_version >= "3.10" and python_version < "4.0"
41-
ruff==0.13.3 ; python_version >= "3.10" and python_version < "4.0"
42-
setuptools==80.10.2 ; python_version >= "3.10" and python_version < "4.0"
43-
snowballstemmer==3.0.1 ; python_version >= "3.10" and python_version < "4.0"
38+
ruff==0.15.10 ; python_version >= "3.10" and python_version < "4.0"
39+
setuptools==82.0.1 ; python_version >= "3.10" and python_version < "4.0"
4440
tomli==2.4.1 ; python_version == "3.10"
4541
tomlkit==0.14.0 ; python_version >= "3.10" and python_version < "4.0"
4642
typing-extensions==4.15.0 ; python_version >= "3.10" and python_version < "4.0"

tests/protocol/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module contains unit tests for util module. """
1+
"""This module contains unit tests for util module."""
22

33
from typing import List, Tuple
44

tests/protocol/test_version2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module contains tests for version2 protocol implementation. """
1+
"""This module contains tests for version2 protocol implementation."""
22

33
import pytest
44
from pysodium import crypto_sign_seed_keypair, crypto_sign_SEEDBYTES

0 commit comments

Comments
 (0)