From 092950a6fd6a8876c5712cf84dfa70c49d0c4bdc Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:45:57 +0530 Subject: [PATCH 1/6] Update tox.ini --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index c1d23cf..782f06e 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,10 @@ python = 3.7: python3.7 3.8: python3.8 3.9: python3.9 + checkout = true [testenv] -deps = -rrequirements_dev.txt +deps = -r requirements_dev.txt commands = # stop the build if there are Python syntax errors or undefined names flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics @@ -19,4 +20,4 @@ commands = # pytest unit pytest -v tests/unit # pytest integration - pytest -v tests/integration \ No newline at end of file + pytest -v tests/integration From 924dbf59f13402a3f6684fb5c8a7e466a121d599 Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:50:42 +0530 Subject: [PATCH 2/6] Update tox.ini --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 782f06e..731076a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,9 @@ python = 3.7: python3.7 3.8: python3.8 3.9: python3.9 - checkout = true [testenv] -deps = -r requirements_dev.txt +deps = -rrequirements.txt commands = # stop the build if there are Python syntax errors or undefined names flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics From 08f46d1c7ea104a45de24125ecc16d695ef73330 Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:53:39 +0530 Subject: [PATCH 3/6] Update tox.ini --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 731076a..4ac3c06 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,10 @@ python = 3.7: python3.7 3.8: python3.8 3.9: python3.9 + checkout = true [testenv] -deps = -rrequirements.txt +deps = -r requirements_dev.txt commands = # stop the build if there are Python syntax errors or undefined names flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics @@ -16,6 +17,8 @@ commands = flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics # type linting mypy src/ + # Install requirements if they exist, otherwise proceed without them + python -m pip install --exists-action=w -r requirements.txt || echo "No requirements.txt found." # pytest unit pytest -v tests/unit # pytest integration From 3fc01be657e63d9efbeaa7270a5b950da0a0cf32 Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:53:54 +0530 Subject: [PATCH 4/6] Update tox.ini --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4ac3c06..85ce090 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,6 @@ python = 3.7: python3.7 3.8: python3.8 3.9: python3.9 - checkout = true [testenv] deps = -r requirements_dev.txt From a323bfd8c4a26e89a744f5a38840053c3e98b1de Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:57:18 +0530 Subject: [PATCH 5/6] Update tox.ini --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 85ce090..13e57c1 100644 --- a/tox.ini +++ b/tox.ini @@ -16,9 +16,13 @@ commands = flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics # type linting mypy src/ - # Install requirements if they exist, otherwise proceed without them - python -m pip install --exists-action=w -r requirements.txt || echo "No requirements.txt found." + # install package dependencies + python -m pip install -r requirements.txt # pytest unit pytest -v tests/unit # pytest integration pytest -v tests/integration + +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" From 869d243705889c7be7a49de45f611e6d01bc217c Mon Sep 17 00:00:00 2001 From: Harsh Raj <53043454+Harsh1s@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:58:33 +0530 Subject: [PATCH 6/6] Update tox.ini --- tox.ini | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tox.ini b/tox.ini index 13e57c1..f66e683 100644 --- a/tox.ini +++ b/tox.ini @@ -16,13 +16,7 @@ commands = flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics # type linting mypy src/ - # install package dependencies - python -m pip install -r requirements.txt # pytest unit pytest -v tests/unit # pytest integration pytest -v tests/integration - -[build-system] -requires = ["setuptools>=42", "wheel"] -build-backend = "setuptools.build_meta"