[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "napalm-example" version = "0.1.0" description = "NAPALM driver for Example switches" readme = "README.md" license = "Apache-2.0" requires-python = ">=3.10" authors = [{ name = "Christian Manivong", email = "christian@manivong.de" }] classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", "Topic :: System :: Networking", ] dependencies = [ "napalm>=5.0", "napalm-device-types>=4.21", ] [project.optional-dependencies] dev = ["pytest>=8", "pytest-cov>=5", "mypy>=1.11", "ruff>=0.6"] [project.urls] Repository = "https://git.netork.io/NAPALM/napalm-example" Issues = "https://git.netork.io/NAPALM/napalm-example/issues" [project.entry-points."napalm.drivers"] example = "napalm_example:ExampleDriver" [tool.setuptools.packages.find] include = ["napalm_example*"] [tool.setuptools.package-data] napalm_example = ["py.typed"] [tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B"] [tool.mypy] python_version = "3.10" strict = true # napalm itself is untyped, so every driver subclasses Any. disallow_subclassing_any = false [[tool.mypy.overrides]] module = ["napalm.*"] ignore_missing_imports = true [tool.pytest.ini_options] testpaths = ["tests"] [tool.coverage.run] source = ["napalm_example"] [tool.coverage.report] fail_under = 90 exclude_also = ["pragma: no cover - live I/O"]