[build-system] requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] name = "napalm-device-types" version = "4.21.1" description = "Abstract device-type base classes for NAPALM drivers" readme = "README.md" requires-python = ">=3.10" license = "Apache-2.0" authors = [ { name = "Christian Manivong", email = "christian@manivong.de" }, ] keywords = [ "napalm", "network", "automation", "driver", "access-point", "switch", "firewall", "hypervisor", "storage", "nas", ] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: System :: Networking", "Topic :: System :: Systems Administration", "Typing :: Typed", ] dependencies = [ "napalm>=4.0", "typing-extensions>=4.0", ] [project.urls] Repository = "https://git.netork.io/NAPALM/napalm-device-types" Issues = "https://git.netork.io/NAPALM/napalm-device-types/issues" Changelog = "https://git.netork.io/NAPALM/napalm-device-types/src/branch/main/CHANGELOG.md" [project.optional-dependencies] dev = [ "pytest>=8", "pytest-cov>=5", "mypy>=1.11", "ruff>=0.6", ] [tool.setuptools.packages.find] where = ["."] include = ["napalm_device_types*"] [tool.setuptools.package-data] napalm_device_types = ["py.typed"] [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.10" strict = true ignore_missing_imports = true [tool.pytest.ini_options] testpaths = ["tests"] [tool.coverage.run] source = ["napalm_device_types"] [tool.coverage.report] fail_under = 95