From f6b4bcd683d475ccf211abd603174f458035fa6a Mon Sep 17 00:00:00 2001 From: Giacomo Pope Date: Tue, 23 Jul 2024 10:00:56 +0100 Subject: [PATCH] include init files --- .github/workflows/ci.yml | 5 ++++- .gitignore | 3 +-- dilithium/__init__.py | 1 + drbg/__init__.py | 0 modules/__init__.py | 0 polynomials/__init__.py | 0 tests/__init__.py | 0 utilities/__init__.py | 0 8 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 dilithium/__init__.py create mode 100644 drbg/__init__.py create mode 100644 modules/__init__.py create mode 100644 polynomials/__init__.py create mode 100644 tests/__init__.py create mode 100644 utilities/__init__.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2478ec3..a95d6b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,9 @@ jobs: - name: Display installed python package versions run: | pip list || : + - name: Install pytest + run: | + pip install pytest - name: Install build dependencies run: | pip install -r requirements.txt @@ -82,4 +85,4 @@ jobs: pip list || : - name: Run unit tests run: | - python3 -m unittest discover \ No newline at end of file + pytest diff --git a/.gitignore b/.gitignore index 02d84ec..e41179d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ **/.DS_Store __pycache__ -__*.py -.pytest_cache \ No newline at end of file +.pytest_cache diff --git a/dilithium/__init__.py b/dilithium/__init__.py new file mode 100644 index 0000000..e9a2c6b --- /dev/null +++ b/dilithium/__init__.py @@ -0,0 +1 @@ +from dilithium.default_parameters import Dilithium2, Dilithium3, Dilithium5 diff --git a/drbg/__init__.py b/drbg/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/modules/__init__.py b/modules/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/polynomials/__init__.py b/polynomials/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/utilities/__init__.py b/utilities/__init__.py new file mode 100644 index 0000000..e69de29