diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index edafefc..75be90f 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -38,9 +38,9 @@ jobs: # python -m pip install sphinx # sphinx-build -b html docs/ docs/_build/ - - name: Build and push Docker image - uses: docker/build-push-action@v2 - with: - context: . - push: true - tags: nathfitz/test:latest \ No newline at end of file + # - name: Build and push Docker image + # uses: docker/build-push-action@v2 + # with: + # context: . + # push: true + # tags: nathfitz/test:latest \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 58126cb..1225c17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . RUN pip install --no-cache-dir -r requirements.txt # Start the web server -CMD ["python", "-m", "qtmlib.main"] \ No newline at end of file +CMD ["python", "-m", "pytemplate.main"] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 163ea3f..bf33b5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,16 +2,19 @@ requires = ["setuptools", "wheel"] [project] -name = "qtmlib" +name = "pytemplate" version = "0.0.1" -description = "A library using pytket to write quantum algorithms in Python" +description = "A python library" +requires-python = ">=3.11" +authors = [{name = "Author", email = "author@email.com" }] [tool.setuptools.packages.find] -where = ["qtmlib"] +where = ["pytemplate"] [tool.ruff] # Enable flake8-bugbear (`B`) rules, pandas, see https://beta.ruff.rs/docs/rules/ select = ["E", "F", "B", "RUF","PT","B","UP", "C4", "D"] +extend-exclude = ["**/*.ipynb"] target-version = "py311" [tool.ruff.pydocstyle] @@ -20,6 +23,7 @@ convention = "google" #https://microsoft.github.io/pyright/#/getting-started [tool.pyright] -include = ["qtmlib","tests"] +include = ["pytemplate","tests"] +ignore = ["**/*.ipynb"] pythonVersion = "3.11" -typeCheckingMode = "strict" +typeCheckingMode = "strict" \ No newline at end of file diff --git a/qtmlib/__init__.py b/pytemplate/__init__.py similarity index 100% rename from qtmlib/__init__.py rename to pytemplate/__init__.py diff --git a/qtmlib/main.py b/pytemplate/main.py similarity index 100% rename from qtmlib/main.py rename to pytemplate/main.py diff --git a/qtmlib/utils.py b/pytemplate/utils.py similarity index 100% rename from qtmlib/utils.py rename to pytemplate/utils.py diff --git a/tests/test_main.py b/tests/test_main.py index 23b9a53..01b3f34 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,6 +1,6 @@ """Tests for qtmlib.main module.""" -from qtmlib.main import hello_world +from pytemplate.main import hello_world def test_hello_world(): diff --git a/tests/test_utils.py b/tests/test_utils.py index 7a9b1c6..378ed6b 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,6 +1,6 @@ """Tests for qtmlib.utils.""" -from qtmlib.utils import add_numbers +from pytemplate.utils import add_numbers def test_add():