From 3bc7570f4d9c065603c1b7d8f6360136498971cc Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 29 Apr 2024 16:10:55 +0200 Subject: [PATCH] move all dev depdencies into dev group --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- poetry.lock | 8 ++++---- pyproject.toml | 6 ++---- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 17c497f3..fc03f9a2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -52,7 +52,7 @@ jobs: key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies - run: poetry install --all-extras with dev + run: poetry install --all-extras --with dev - name: Run make lint run: make lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab2944d7..93ee52ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies - run: poetry install --all-extras + run: poetry install --all-extras --with dev - name: Run make lint run: make test diff --git a/poetry.lock b/poetry.lock index 0cba9cb0..490d33e5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "ansicon" @@ -484,8 +484,8 @@ files = [ astunparse = ">=1.6.3" click = ">=7.1" duckdb = [ - {version = ">=0.6.1,<0.10.0", optional = true, markers = "python_version >= \"3.8\" and python_version < \"3.12\" and (extra == \"duckdb\" or extra == \"motherduck\")"}, - {version = ">=0.10.0,<0.11.0", optional = true, markers = "python_version >= \"3.12\" and (extra == \"duckdb\" or extra == \"motherduck\")"}, + {version = ">=0.6.1,<0.10.0", optional = true, markers = "python_version >= \"3.8\" and python_version < \"3.12\" and extra == \"duckdb\" or python_version >= \"3.8\" and python_version < \"3.12\" and extra == \"motherduck\""}, + {version = ">=0.10.0,<0.11.0", optional = true, markers = "python_version >= \"3.12\" and extra == \"duckdb\" or python_version >= \"3.12\" and extra == \"motherduck\""}, ] fsspec = ">=2022.4.0" gitpython = ">=3.1.29" @@ -2250,4 +2250,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8.1,<3.13" -content-hash = "7aa46fcf2b2821ab7e1f4b4d289bcc4abbb0a68ba1a5f7c637d2adbb0c7dbac6" +content-hash = "621f01cdfb8f8acee01594a46b2e975c8ae088605ccd58447259eb22c4b92650" diff --git a/pyproject.toml b/pyproject.toml index 450421b9..04ee12cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,8 @@ referencing = "^0.34.0" [tool.poetry.scripts] dlt-init = "openapi_python_client.cli:app" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] +flake8 = "^6.0.0" pytest = "*" pytest-mock = "*" mypy = "*" @@ -56,9 +57,6 @@ types-PyYAML = "^6.0.3" types-certifi = "^2020.0.0" types-python-dateutil = "^2.0.0" -[tool.poetry.group.dev.dependencies] -flake8 = "^6.0.0" - [tool.taskipy.tasks] check = """ isort .\