Skip to content

Commit 0ba9f5a

Browse files
committed
v0.0.26 - support loading .yml files
1 parent e871012 commit 0ba9f5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: requirements.pip

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
kaptan
1+
-e git://github.com/tony/kaptan.git@yml#egg=kaptan
22
colorama
33
argcomplete

Diff for: tmuxp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
import logging
2424

25-
__version__ = '0.0.25'
25+
__version__ = '0.0.26'

Diff for: tmuxp/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def check_consistency(sconf):
4242
return True
4343

4444

45-
def is_config_file(filename, extensions=['.yaml', '.json', '.ini']):
45+
def is_config_file(filename, extensions=['.yml', '.yaml', '.json', '.ini']):
4646
'''Is config compatible extension.
4747
4848
:param filename: filename to check (e.g. ``mysession.json``).
@@ -56,7 +56,7 @@ def is_config_file(filename, extensions=['.yaml', '.json', '.ini']):
5656
return any(filename.endswith(e) for e in extensions)
5757

5858

59-
def in_dir(config_dir=os.path.expanduser('~/.tmuxp'), extensions=['.yaml', '.json', '.ini']):
59+
def in_dir(config_dir=os.path.expanduser('~/.tmuxp'), extensions=['.yml', '.yaml', '.json', '.ini']):
6060
'''Find configs in config_dir and current dir
6161
6262
:param config_dir: directory to search

0 commit comments

Comments
 (0)