style: the standard's ruff rule set (E, F, I, UP, B, line length 100, Python 3.10, E501 off under tests/); the code was already formatted and clean under it.
fix: get_route_to: "0.0.0.0"/"::" are the unspecified next hop of an on-link route as the host reports it, nothing binds to them (nosec B104).
chore: CI moves from .github/ to .gitea/workflows/ci.yml calling the shared workflow; requires-python >=3.10, LICENSE file, py.typed, setuptools>=77 with the SPDX license string, Issues/Changelog links, napalm-device-types>=4.21.1 from PyPI, floors on the dev extra. Strict mypy for the whole package with no module exempt (optional_args: dict[str, Any] | None was the one error). Coverage floor 95 %; tests/quality_baseline.json (get_facts, get_route_to over complexity 10). CHANGELOG in Keep a Changelog form; README says no host output is recorded yet and links napalm-device-types in the NAPALM org, pypsrp on PyPI.
Locally: 82 tests, coverage 95.67 %, ruff, mypy, bandit clean; napalm-standard check and ratchet clean; build + twine check --strict pass. The tests also pass at the lowest declared versions on Python 3.10 (synthetic fixtures only).
## Summary
napalm-windows adopts the NAPALM driver standard (https://git.netork.io/NAPALM/driver-standard).
Epic: NAPALM/driver-standard#2.
## Changes
- **style**: the standard's ruff rule set (E, F, I, UP, B, line length 100, Python 3.10, E501 off under `tests/`); the code was already formatted and clean under it.
- **fix**: `get_route_to`: `"0.0.0.0"`/`"::"` are the unspecified next hop of an on-link route as the host reports it, nothing binds to them (nosec B104).
- **chore**: CI moves from `.github/` to `.gitea/workflows/ci.yml` calling the shared workflow; `requires-python >=3.10`, LICENSE file, `py.typed`, setuptools>=77 with the SPDX license string, Issues/Changelog links, `napalm-device-types>=4.21.1` from PyPI, floors on the dev extra. Strict mypy for the whole package with no module exempt (`optional_args: dict[str, Any] | None` was the one error). Coverage floor 95 %; `tests/quality_baseline.json` (`get_facts`, `get_route_to` over complexity 10). CHANGELOG in Keep a Changelog form; README says no host output is recorded yet and links napalm-device-types in the NAPALM org, pypsrp on PyPI.
## Related Issue
Closes #4
## Testing
Locally: 82 tests, coverage 95.67 %, ruff, mypy, bandit clean; `napalm-standard check` and `ratchet` clean; build + `twine check --strict` pass. The tests also pass at the lowest declared versions on Python 3.10 (synthetic fixtures only).
Mechanical: the rule set every NAPALM driver uses (E, F, I, UP, B at line
length 100, Python 3.10), with E501 off under tests/. The code was already
formatted and clean under it; what ruff cannot fix comes in the next commit.
- get_route_to: "0.0.0.0" and "::" are the unspecified next hop of an
on-link route as the host reports it, not an address anything binds to
(nosec B104).
- CI moves to .gitea/workflows/ci.yml and calls the shared driver workflow
of NAPALM/driver-standard; .github/ is gone.
- requires-python >=3.10 (napalm-device-types needs it), LICENSE file,
py.typed, setuptools>=77 with the SPDX license string, Issues and
Changelog links on git.netork.io, napalm-device-types>=4.21.1 from PyPI,
floors on the dev extra.
- mypy strict for the whole package, no module exempt: optional_args is
dict[str, Any] | None.
- tests/quality_baseline.json records get_facts and get_route_to, over
complexity 10. Coverage floor 95 % (measured 95.67 %).
- CHANGELOG.md in Keep a Changelog form; the README says no host output is
recorded yet, links napalm-device-types in the NAPALM org and pypsrp on
PyPI.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
napalm-windows adopts the NAPALM driver standard (https://git.netork.io/NAPALM/driver-standard).
Epic: NAPALM/driver-standard#2.
Changes
tests/); the code was already formatted and clean under it.get_route_to:"0.0.0.0"/"::"are the unspecified next hop of an on-link route as the host reports it, nothing binds to them (nosec B104)..github/to.gitea/workflows/ci.ymlcalling the shared workflow;requires-python >=3.10, LICENSE file,py.typed, setuptools>=77 with the SPDX license string, Issues/Changelog links,napalm-device-types>=4.21.1from PyPI, floors on the dev extra. Strict mypy for the whole package with no module exempt (optional_args: dict[str, Any] | Nonewas the one error). Coverage floor 95 %;tests/quality_baseline.json(get_facts,get_route_toover complexity 10). CHANGELOG in Keep a Changelog form; README says no host output is recorded yet and links napalm-device-types in the NAPALM org, pypsrp on PyPI.Related Issue
Closes #4
Testing
Locally: 82 tests, coverage 95.67 %, ruff, mypy, bandit clean;
napalm-standard checkandratchetclean; build +twine check --strictpass. The tests also pass at the lowest declared versions on Python 3.10 (synthetic fixtures only).