From 0fc78e2acb40f601abf27659e0998bf7a6d12013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucca=20Baumg=C3=A4rtner?= Date: Fri, 3 Nov 2023 11:21:02 +0100 Subject: [PATCH] add all dev deps to Pipfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucca Baumgärtner --- .github/workflows/python-app.yml | 4 ++-- Pipfile | 3 ++- Pipfile.lock | 35 +++++++++++++++++++++++++++++++- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6279069..d99fc20 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -56,9 +56,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest pipenv + pip install pipenv # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - pipenv install --verbose + pipenv install --dev - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/Pipfile b/Pipfile index 0d6ba4c..b3c5596 100644 --- a/Pipfile +++ b/Pipfile @@ -7,8 +7,9 @@ verify_ssl = true name = "pypi" [dev-packages] -pytest = "==7.4.3" +pytest = "*" pre-commit = "*" +flake8 = "*" [packages] numpy = "==1.26.1" diff --git a/Pipfile.lock b/Pipfile.lock index c96ec85..9cdeccc 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "6d0bc9bce8429dfed5a568e593b5a31f3ac637aa920f18b782fd8b1954542804" + "sha256": "78dc89e3c6d794915d2a09753d3dd82dd59b38c1d452db12cfd2b306b5186ced" }, "pipfile-spec": 6, "requires": { @@ -338,6 +338,15 @@ "markers": "python_version >= '3.8'", "version": "==3.13.1" }, + "flake8": { + "hashes": [ + "sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23", + "sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5" + ], + "index": "pypi", + "markers": "python_full_version >= '3.8.1'", + "version": "==6.1.0" + }, "identify": { "hashes": [ "sha256:7736b3c7a28233637e3c36550646fc6389bedd74ae84cb788200cc8e2dd60b75", @@ -354,6 +363,14 @@ "markers": "python_version >= '3.7'", "version": "==2.0.0" }, + "mccabe": { + "hashes": [ + "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325", + "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e" + ], + "markers": "python_version >= '3.6'", + "version": "==0.7.0" + }, "nodeenv": { "hashes": [ "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2", @@ -395,6 +412,22 @@ "markers": "python_version >= '3.8'", "version": "==3.5.0" }, + "pycodestyle": { + "hashes": [ + "sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f", + "sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67" + ], + "markers": "python_version >= '3.8'", + "version": "==2.11.1" + }, + "pyflakes": { + "hashes": [ + "sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774", + "sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc" + ], + "markers": "python_version >= '3.8'", + "version": "==3.1.0" + }, "pytest": { "hashes": [ "sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac",