Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.mypy.enable

Whether to enable mypy.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.mypy.package

The mypy package to use.

Type: null or package

Default:

pkgs.mypy

Declared by:

programs.mypy.settings

Configuration written to $XDG_CONFIG_HOME/mypy/config.

See https://mypy.readthedocs.io/en/stable/config_file.html for more information.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  mypy = {
    warn_return_any = true;
    warn_unused_configs = true;
  };
}

Declared by: