From fd4ebd89909f181b2f88be5ba44a4eb7b6a903ab Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Fri, 3 Jun 2022 13:37:04 +0200 Subject: add opt out flag for type checking --- .../from_md/development/writing-nixos-tests.section.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml') diff --git a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml index 7ce3e4cb29065..79df3b9c3764a 100644 --- a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml +++ b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml @@ -589,6 +589,19 @@ import ./make-test-python.nix { Python codeā€¦ # fmt: on ''; + + + Similarly, the type checking of test scripts can be disabled in + the following way: + + +import ./make-test-python.nix { + skipTypeCheck = true; + nodes.machine = + { config, pkgs, ... }: + { configurationā€¦ + }; +}
-- cgit 1.4.1