Files
napalm-openmediavault/pyproject.toml
T
Christian Manivong 6d82fad80a style: ruff format and the lint rules of the driver standard
Mechanical: ruff format, and ruff check --fix with the rule set every NAPALM
driver uses (E, F, I, UP, B at line length 100, Python 3.10). What ruff
cannot fix comes in the next commit.
2026-10-23 12:04:32 +02:00

59 lines
1.5 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "napalm-openmediavault"
version = "0.2.0"
description = "NAPALM driver for OpenMediaVault NAS (SSH)"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [
{ name = "Christian Manivong", email = "christian@manivong.de" },
]
keywords = ["napalm", "network", "automation", "nas", "openmediavault", "omv", "storage"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: System :: Networking",
"Topic :: System :: Systems Administration",
]
dependencies = [
"napalm>=4.0",
"napalm-device-types>=0.3.0",
"napalm-linux>=0.5.0",
]
[project.optional-dependencies]
dev = ["pytest"]
[project.entry-points."napalm.drivers"]
openmediavault = "napalm_openmediavault:OpenMediaVaultDriver"
[project.urls]
Repository = "https://github.com/chrismanivong/napalm-openmediavault"
[tool.setuptools.packages.find]
where = ["."]
include = ["napalm_openmediavault*"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Recorded device output keeps its lines.
"tests/**" = ["E501"]
[tool.mypy]
python_version = "3.9"
strict = true
ignore_missing_imports = true