mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
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:
parent
b82808016a
commit
e5ec5a279c
1 changed files with 13 additions and 11 deletions
|
@ -17,24 +17,26 @@ pyxdg = {version = "*", platform = "linux"}
|
||||||
pyinstaller = {version = "*", platform = "darwin"}
|
pyinstaller = {version = "*", platform = "darwin"}
|
||||||
strip-ansi = {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]
|
[tool.poetry.scripts]
|
||||||
dangerzone = 'dangerzone:main'
|
dangerzone = 'dangerzone:main'
|
||||||
dangerzone-container = 'dangerzone:main'
|
dangerzone-container = 'dangerzone:main'
|
||||||
dangerzone-cli = 'dangerzone:main'
|
dangerzone-cli = 'dangerzone:main'
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[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-mock = "^3.10.0"
|
||||||
|
pytest-xdist = "^2.5.0"
|
||||||
|
pytest-cov = "^3.0.0"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=1.1.4"]
|
requires = ["poetry>=1.1.4"]
|
||||||
|
|
Loading…
Reference in a new issue