module documentation

Tests for config.py.

Class TestBase Base for config tests.
Class TestConfig Test Config.
Class TestFileConfig Test FileConfig.
Class TestGenerateConfig Test config.generate_sample_config_or_die.
Class TestReadConfig Test config.read_config_file_or_die().
Constant PYPROJECT_TOML Undocumented
Constant PYTYPE_CFG Undocumented
Constant PYTYPE_TOML Undocumented
Constant RANDOM_CFG Undocumented
Constant RANDOM_TOML Undocumented
Constant SETUP_CFG Undocumented
PYPROJECT_TOML = (source)

Undocumented

Value
(RANDOM_TOML+'''
''')+PYTYPE_TOML
PYTYPE_CFG = (source)

Undocumented

Value
f"""
  [pytype]
  exclude = nonexistent.*
  pythonpath =
    .{os.pathsep}
    {'C:' if sys.platform == 'win32' else ''}{os.path.sep}foo{os.path.sep}bar{os
.pathsep}
...
PYTYPE_TOML = (source)

Undocumented

Value
f"""
  [tool.pytype]
  exclude = ['nonexistent.*']
  pythonpath = ""\"
    .{os.pathsep}
    {'C:' if sys.platform == 'win32' else ''}{os.path.sep}foo{os.path.sep}bar{os
.pathsep}
...
RANDOM_CFG: str = (source)

Undocumented

Value
'''
  [some_section]
  foo = bar
  baz = quux
'''
RANDOM_TOML: str = (source)

Undocumented

Value
'''
  [random]
  random = true
'''
SETUP_CFG = (source)

Undocumented

Value
(RANDOM_CFG+'''
''')+PYTYPE_CFG