Skip to content

Commit e9271f2

Browse files
committed
Resolve conflicts
Bump deps Signed-off-by: andrew000 <[email protected]>
1 parent 30b3906 commit e9271f2

File tree

12 files changed

+160
-119
lines changed

12 files changed

+160
-119
lines changed

.github/workflows/python_detailed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828

2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v3
30+
uses: astral-sh/setup-uv@v5
3131
with:
3232
version: "latest"
3333
enable-cache: true

.github/workflows/python_simplified.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323

2424
- name: Install uv
25-
uses: astral-sh/setup-uv@v3
25+
uses: astral-sh/setup-uv@v5
2626
with:
2727
version: "latest"
2828
enable-cache: true

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: "check-json"
2222

2323
- repo: https://github.com/charliermarsh/ruff-pre-commit
24-
rev: v0.8.2
24+
rev: v0.9.3
2525
hooks:
2626
- id: ruff
2727
args: [ "--fix" ]

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ src-dir = oqs
22
tests-dir = tests
33
examples-dir = examples
44

5-
.PHONY pull:
6-
pull:
7-
git pull origin master
8-
git submodule update --init --recursive
9-
105
.PHONY lint:
116
lint:
127
echo "Running ruff..."
@@ -26,7 +21,7 @@ format:
2621
.PHONE mypy:
2722
mypy:
2823
echo "Running MyPy..."
29-
uv run mypy --config-file pyproject.toml
24+
uv run mypy --config-file pyproject.toml $(src-dir)
3025

3126
.PHONY outdated:
3227
outdated:

examples/kem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Key encapsulation Python example
2+
23
import logging
34
from pprint import pformat
45

@@ -16,7 +17,7 @@
1617
kemalg = "ML-KEM-512"
1718
with oqs.KeyEncapsulation(kemalg) as client:
1819
with oqs.KeyEncapsulation(kemalg) as server:
19-
logger.info("Client details: %s", pformat(client.details))
20+
logger.info("Key encapsulation details: %s", pformat(client.details))
2021

2122
# Client generates its keypair
2223
public_key_client = client.generate_keypair()

examples/rand.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Various RNGs Python example
2+
23
import logging
34
import platform # to learn the OS we're on
45

examples/sig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Signature Python example
2+
23
import logging
34
from pprint import pformat
45

oqs/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
)
1818

1919
__all__ = (
20+
"OQS_SUCCESS",
21+
"OQS_VERSION",
2022
"KeyEncapsulation",
2123
"MechanismNotEnabledError",
2224
"MechanismNotSupportedError",
23-
"OQS_SUCCESS",
24-
"OQS_VERSION",
2525
"Signature",
2626
"get_enabled_kem_mechanisms",
2727
"get_enabled_sig_mechanisms",

0 commit comments

Comments
 (0)