1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-MAAS

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
pyproject.toml 4.9 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Alessandro Marcolini Отправлено 05.03.2025 18:56 6c29c0c
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>61",
]
[project]
name = "maas"
version = "3.7.0a1"
description = "Metal As A Service"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { file = "LICENSE" }
authors = [
{ name = "MAAS Developers", email = "maas-devel@lists.launchpad.net" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX :: Linux",
"Programming Language :: JavaScript",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Systems Administration",
]
optional-dependencies.testing = [
"aiohttp>=3.10,<3.11",
"aioresponses>=0.7,<0.8",
"fixtures>=4.1,<4.2",
"httpx>=0.27,<0.28",
"hypothesis>=6.116,<6.117",
"ipdb>=0.13,<0.14",
"junitxml>=0.7,<0.8",
"postgresfixture>=0.5,<0.6",
"pytest>=7.4,<8",
"pytest-asyncio>=0.23,<0.24",
"pytest-cov>=6,<6.1",
"pytest-mock>=3.14,<3.15",
"pytest-xdist>=3.6,<3.7",
"python-subunit>=1.4,<1.5",
"testresources>=2,<2.1",
"testscenarios>=0.5,<0.6",
"testtools>=2.7,<2.8",
"typing-extensions>=4.12,<4.13",
]
urls.Documentation = "https://maas.io/docs"
urls.Homepage = "https://maas.io/"
urls.Repository = "https://launchpad.net/maas"
scripts.maas = "maascli:main"
scripts.maas-apiserver = "maasapiserver.main:run"
scripts.maas-common = "provisioningserver.rack_script:run"
scripts.maas-power = "provisioningserver.power_driver_command:run"
scripts.maas-rack = "provisioningserver.rack_script:run"
scripts.maas-region = "maasserver.region_script:run"
scripts.maas-sampledata = "maasserver.testing.sampledata.main:main"
scripts.maas-temporal-worker = "maastemporalworker.temporal_script:run"
scripts.rackd = "provisioningserver.server:run"
scripts.regiond = "maasserver.server:run"
scripts."test.parallel" = "maastesting.scripts:run_parallel"
scripts."test.rack" = "maastesting.scripts:run_rack"
scripts."test.region" = "maastesting.scripts:run_region"
scripts."test.region.legacy" = "maastesting.scripts:run_region_legacy"
entry-points.pytest11.maas-database = "maastesting.pytest.database"
entry-points.pytest11.maas-django = "maastesting.pytest.django"
entry-points.pytest11.maas-environment = "maastesting.pytest.environment"
entry-points.pytest11.maas-perftest = "maastesting.pytest.perftest"
entry-points.pytest11.maas-seeds = "maastesting.pytest.seeds"
entry-points.pytest11.maas-sqlalchemy = "maastesting.pytest.sqlalchemy"
[tool.setuptools.packages.find]
where = [ "src" ]
exclude = [ "*.testing", "*.tests" ]
include = [
"apiclient*",
"maasapiserver*",
"maascli*",
"maascommon*",
"maasserver*",
"maasservicelayer*",
"maastemporalworker*",
"metadataserver*",
"provisioningserver*",
]
[tool.ruff]
line-length = 79
indent-width = 4
src = [
"src",
]
extend-exclude = [
".egg",
".git",
".mypy_cache",
".ve",
"build",
"dist",
"parts",
"snap",
"src/maas-offline-docs",
"src/maasui",
]
# Like Black, indent with spaces, rather than tabs.
format.indent-style = "space"
# Like Black, use double quotes for strings.
format.quote-style = "double"
# Like Black, automatically detect the appropriate line ending.
format.line-ending = "auto"
# Unlike Black, don't respect magic trailing commas.
format.skip-magic-trailing-comma = false
lint.select = [
# flake8-bugbear
"B",
# pycodestyle
"E",
# pyflakes
"F",
# isort
"I",
# flake8-simplify - remove for now
#"SIM",
# pycodestyle
"W",
]
# recommended rules to avoid if you use ruff as a formatter
lint.ignore = [
"COM812",
"COM819",
"D206",
"D300",
"E111",
"E114",
"E117",
"E203",
"E266",
"E501",
"ISC001",
"ISC002",
"Q000",
"Q001",
"Q002",
"Q003",
"SIM105", # ignore because it could impact performances
"W191",
]
lint.exclude = [
"src/*/migrations/*",
]
lint.isort.case-sensitive = false
lint.isort.force-sort-within-sections = true
lint.isort.from-first = false
lint.isort.known-first-party = [
"apiclient",
"maasapiserver",
"maascli",
"maascommon",
"maasserver",
"maasservicelayer",
"maastesting",
"metadataserver",
"provisioningserver",
"snippets",
]
lint.isort.order-by-type = false
lint.isort.split-on-trailing-comma = false
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = "error::BytesWarning"
testpaths = [ "src/tests" ]
[tool.pyright]
include = [ "src/maascommon", "src/maasservicelayer" ]
executionEnvironments = [
{ root = "src", reportMissingImports = "none", reportMissingModuleSource = "none" },
]
[tool.bandit]
exclude_dirs = [ "src/tests" ]
skips = [ "B311", "B101" ]

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-MAAS.git
git@api.gitlife.ru:oschina-mirror/mirrors-MAAS.git
oschina-mirror
mirrors-MAAS
mirrors-MAAS
master