Separate Poetry dependencies into groups

Create two separate groups for Poetry dependencies:

1. test: Dependencies required for testing Dangerzone.
2. lint: Dependencies required for linting the code with `make lint`.
This commit is contained in:
Alex Pyrgiotis 2022-12-15 16:58:13 +02:00
parent b82808016a
commit e5ec5a279c
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -17,24 +17,26 @@ pyxdg = {version = "*", platform = "linux"}
pyinstaller = {version = "*", platform = "darwin"}
strip-ansi = {version = "*", platform = "darwin"}
[tool.poetry.dev-dependencies]
setuptools = {version = "*", platform = "win32"}
black = "*"
isort = "*"
mypy = "*"
PySide2-stubs = "*"
strip-ansi = "*"
pytest = "^7.1.2"
pytest-xdist = "^2.5.0"
pytest-cov = "^3.0.0"
[tool.poetry.scripts]
dangerzone = 'dangerzone:main'
dangerzone-container = 'dangerzone:main'
dangerzone-cli = 'dangerzone:main'
[tool.poetry.group.dev.dependencies]
setuptools = {version = "*", platform = "win32"}
strip-ansi = "*"
[tool.poetry.group.lint.dependencies]
black = "*"
isort = "*"
mypy = "*"
PySide2-stubs = "*"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.2"
pytest-mock = "^3.10.0"
pytest-xdist = "^2.5.0"
pytest-cov = "^3.0.0"
[build-system]
requires = ["poetry>=1.1.4"]