Skip to content

Commit 113b51e

Browse files
committed
bump version, merge branch 'devel'
2 parents 8250dba + 6f22ba0 commit 113b51e

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stages:
1414
- check
1515
- test
1616
- name: deploy
17-
if: repo = casperdcl/argopt
17+
if: repo = casperdcl/argopt AND NOT type = pull_request
1818
jobs:
1919
include:
2020
- stage: test

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
testtimer
2525
distclean
2626
coverclean
27+
pre-commit
2728
prebuildclean
2829
clean
2930
toxclean
@@ -70,6 +71,11 @@ distclean:
7071
@+make coverclean
7172
@+make prebuildclean
7273
@+make clean
74+
pre-commit:
75+
# quick sanity checks
76+
@make testsetup
77+
@flake8 -j 8 --count --statistics .
78+
@make testnose
7379
prebuildclean:
7480
@+python -c "import shutil; shutil.rmtree('build', True)"
7581
@+python -c "import shutil; shutil.rmtree('dist', True)"

argopt/_docopt.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
"""
1010
import re
1111
from ._utils import typecast
12+
try:
13+
from ._utils import file # NOQA
14+
except ImportError:
15+
pass
1216

13-
__version__ = '0.6.2-casper.3'
17+
__version__ = '0.6.2-casper.4'
1418

1519

1620
class DocoptLanguageError(Exception):

argopt/_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
_range = xrange
1212
except NameError: # pragma: no cover
1313
_range = range
14+
file = open
1415

1516

1617
class DictAttrWrap(object):

argopt/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__all__ = ["__version__"]
1313

1414
# major, minor, patch, -extra
15-
version_info = 0, 6, 0
15+
version_info = 0, 6, 1
1616

1717
# Nice string for the version
1818
__version__ = '.'.join(map(str, version_info))

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ universal = 1
33

44
[flake8]
55
max_line_length = 80
6-
exclude = .asv,.tox,.ipynb_checkpoints,build,dist,.git,__pycache__
6+
exclude = .tox,.ipynb_checkpoints,build,dist,.git,__pycache__

0 commit comments

Comments
 (0)