@@ -45,7 +45,7 @@ def validate_schema(sconf):
45
45
return True
46
46
47
47
48
- def is_config_file (filename , extensions = ['.yml' , '.yaml' , '.json' , '.ini' ]):
48
+ def is_config_file (filename , extensions = ['.yml' , '.yaml' , '.json' ]):
49
49
"""Return True if file has a valid config file type.
50
50
51
51
:param filename: filename to check (e.g. ``mysession.json``).
@@ -61,7 +61,7 @@ def is_config_file(filename, extensions=['.yml', '.yaml', '.json', '.ini']):
61
61
return any (filename .endswith (e ) for e in extensions )
62
62
63
63
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' ]):
65
65
"""Return a list of configs in ``config_dir``.
66
66
67
67
:param config_dir: directory to search
@@ -83,8 +83,7 @@ def in_dir(config_dir=os.path.expanduser('~/.tmuxp'), extensions=['.yml', '.yaml
83
83
def in_cwd ():
84
84
"""Return list of configs in current working directory.
85
85
86
- If filename is ``.tmuxp.py``, ``.tmuxp.json``, ``.tmuxp.yaml`` or
87
- ``.tmuxp.ini``.
86
+ If filename is ``.tmuxp.py``, ``.tmuxp.json``, ``.tmuxp.yaml``.
88
87
89
88
:rtype: list
90
89
@@ -141,7 +140,7 @@ def expand(sconf, cwd=None):
141
140
142
141
'shell_command': 'htop'
143
142
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.
145
144
146
145
:param sconf: the configuration for the session
147
146
:type sconf: dict
0 commit comments