Skip to content

Commit

Permalink
move all dev depdencies into dev group
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Apr 29, 2024
1 parent 4cba929 commit 3bc7570
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "*"
Expand All @@ -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 .\
Expand Down

0 comments on commit 3bc7570

Please sign in to comment.