@@ -45,7 +45,7 @@ def validate_schema(sconf):
4545 return True
4646
4747
48- def is_config_file (filename , extensions = ['.yml' , '.yaml' , '.json' , '.ini' ]):
48+ def is_config_file (filename , extensions = ['.yml' , '.yaml' , '.json' ]):
4949 """Return True if file has a valid config file type.
5050
5151 :param filename: filename to check (e.g. ``mysession.json``).
@@ -61,7 +61,7 @@ def is_config_file(filename, extensions=['.yml', '.yaml', '.json', '.ini']):
6161 return any (filename .endswith (e ) for e in extensions )
6262
6363
64- def in_dir (config_dir = os .path .expanduser ('~/.tmuxp' ), extensions = ['.yml' , '.yaml' , '.json' , '.ini' ]):
64+ def in_dir (config_dir = os .path .expanduser ('~/.tmuxp' ), extensions = ['.yml' , '.yaml' , '.json' ]):
6565 """Return a list of configs in ``config_dir``.
6666
6767 :param config_dir: directory to search
@@ -83,8 +83,7 @@ def in_dir(config_dir=os.path.expanduser('~/.tmuxp'), extensions=['.yml', '.yaml
8383def in_cwd ():
8484 """Return list of configs in current working directory.
8585
86- If filename is ``.tmuxp.py``, ``.tmuxp.json``, ``.tmuxp.yaml`` or
87- ``.tmuxp.ini``.
86+ If filename is ``.tmuxp.py``, ``.tmuxp.json``, ``.tmuxp.yaml``.
8887
8988 :rtype: list
9089
@@ -141,7 +140,7 @@ def expand(sconf, cwd=None):
141140
142141 'shell_command': 'htop'
143142
144- Kaptan will load JSON/YAML/INI files into python dicts for you.
143+ Kaptan will load JSON/YAML files into python dicts for you.
145144
146145 :param sconf: the configuration for the session
147146 :type sconf: dict
0 commit comments