inventory.ip_version (or NETBOX_INVENTORY_IP_VERSION): both (default), v4 or v6; the ip-addresses source filters by family server-side, the virtual-machines source picks primary_ip4/primary_ip6 for ansible_host.
v2 tokens (nbt_<key>.<secret>) are sent as Authorization: Bearer, legacy tokens keep the Token scheme; NetBox drops legacy token support in 4.7.
pytest suite with mocked NetBox API responses, plus a makefile driving venv setup, tests, linting and formatting.