python-compute/pyproject.toml
2023-11-23 02:34:02 +03:00

62 lines
1.2 KiB
TOML

[tool.poetry]
name = 'compute'
version = '0.1.0-dev1'
description = 'Compute instances management library and tools'
authors = ['ge <ge@nixhacks.net>']
readme = 'README.md'
[tool.poetry.dependencies]
python = '^3.11'
libvirt-python = '9.0.0'
lxml = '^4.9.2'
pydantic = '1.10.4'
pyyaml = "^6.0.1"
[tool.poetry.scripts]
compute = 'compute.cli.control:cli'
[tool.poetry.group.dev.dependencies]
ruff = '^0.1.3'
isort = '^5.12.0'
[tool.poetry.group.docs.dependencies]
sphinx = '^7.2.6'
sphinx-autobuild = '^2021.3.14'
sphinx-multiversion = '^0.2.4'
[build-system]
requires = ['poetry-core']
build-backend = 'poetry.core.masonry.api'
[tool.isort]
skip = ['.gitignore']
lines_after_imports = 2
include_trailing_comma = true
split_on_trailing_comma = true
[tool.ruff]
line-length = 79
indent-width = 4
target-version = 'py311'
[tool.ruff.lint]
select = ['ALL']
ignore = [
'Q000', 'Q003', 'D211', 'D212',
'ANN101', 'ISC001', 'COM812',
'D203', 'ANN204', 'T201',
'EM102', 'TRY003', 'EM101',
'TD003', 'TD006', 'FIX002', # 'todo' strings linting
]
exclude = ['__init__.py']
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
allow-star-arg-any = true
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.isort]
lines-after-imports = 2