Skip to content

Commit

Permalink
Update for 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evanunderscore committed Dec 16, 2016
1 parent 89c798d commit e3676e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions defopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
def _get_type_hints(*args, **kwargs):
return {}

__version__ = '3.0.0'

_LIST_TYPES = [List, Iterable, Sequence]
_PARAM_TYPES = ['param', 'parameter', 'arg', 'argument', 'key', 'keyword']
_TYPE_NAMES = ['type', 'kwtype']
Expand Down
5 changes: 3 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Changelog
=========

3.0.0 (develop)
---------------
3.0.0 (2016-12-16)
------------------

* Added support for Python 3.6
* Changed keyword-only arguments without defaults to required flags
* Added support for all variants of ``param`` and ``type``
* Added support for list-typed variable positional arguments
* Fixed help message formatting to avoid argparse's string interpolation
* Added __version__ attribute

2.0.1 (2016-09-13)
------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='defopt',
version='2.0.1',
version='3.0.0',
description='Effortless argument parser',
long_description=long_description,
author='evan_',
Expand Down

0 comments on commit e3676e5

Please sign in to comment.