python-compute/pyproject.toml

70 lines
1.3 KiB
TOML
Raw Normal View History

2023-06-17 20:07:50 +03:00
[tool.poetry]
2023-11-09 01:17:50 +03:00
name = 'compute'
2023-12-01 01:39:26 +03:00
version = '0.1.0-dev2'
2023-11-23 02:34:02 +03:00
description = 'Compute instances management library and tools'
2023-11-09 01:17:50 +03:00
authors = ['ge <ge@nixhacks.net>']
readme = 'README.md'
2023-06-17 20:07:50 +03:00
[tool.poetry.dependencies]
2023-11-09 01:17:50 +03:00
python = '^3.11'
libvirt-python = '9.0.0'
lxml = '^4.9.2'
pydantic = '1.10.4'
pyyaml = "^6.0.1"
2023-07-22 23:59:49 +03:00
[tool.poetry.scripts]
2023-11-09 01:17:50 +03:00
compute = 'compute.cli.control:cli'
2023-11-06 12:52:19 +03:00
[tool.poetry.group.dev.dependencies]
2023-11-09 01:17:50 +03:00
ruff = '^0.1.3'
isort = '^5.12.0'
2023-11-06 12:52:19 +03:00
[tool.poetry.group.docs.dependencies]
2023-11-09 01:17:50 +03:00
sphinx = '^7.2.6'
sphinx-autobuild = '^2021.3.14'
sphinx-multiversion = '^0.2.4'
2023-06-17 20:07:50 +03:00
[build-system]
2023-11-09 01:17:50 +03:00
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
2023-08-24 22:36:12 +03:00
2023-11-06 12:52:19 +03:00
[tool.ruff]
line-length = 79
indent-width = 4
2023-11-09 01:17:50 +03:00
target-version = 'py311'
2023-11-06 12:52:19 +03:00
[tool.ruff.lint]
2023-11-09 01:17:50 +03:00
select = ['ALL']
2023-11-06 12:52:19 +03:00
ignore = [
2023-12-01 01:39:26 +03:00
'Q000', 'Q003',
'D211', 'D212',
'ANN101', 'ANN102', 'ANN204',
'ISC001',
'COM812',
'D203',
'T201',
'S320',
'EM102',
'TRY003',
'EM101',
'TD003', 'TD006',
'FIX002',
2023-08-24 22:36:12 +03:00
]
2023-11-09 01:17:50 +03:00
exclude = ['__init__.py']
2023-11-06 12:52:19 +03:00
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
allow-star-arg-any = true
[tool.ruff.format]
2023-11-09 01:17:50 +03:00
quote-style = 'single'
2023-11-06 12:52:19 +03:00
[tool.ruff.isort]
lines-after-imports = 2