Commit graph

9 commits

Author SHA1 Message Date
Lukasz Langa
01c0c648e1 Only require Mock on Python 3.4 and older. Use the builtin one elsewhere.
Mock 2.0 is using pbr which is hostile to environments without network access.
It's not required on Python 3.5+ so I made it possible to use `unittest.mock`
on this version.

Updated tox.ini to reflect this. Tested with 2.7.11, 3.3.6, 3.4.5, and 3.5.2 on
macOS 10.12.1 with tox and pyenv.
2016-11-27 15:13:30 -08:00
Ian Cordasco
8bc76f79de
Configure flake8-import-order to use Google Style
This relies on two things:

1. Properly configuring flake8-import-order to use that style
2. Properly configuring flake8-import-order to know that flake8 is our
   application name.
2016-06-17 10:26:36 -05:00
Ian Cordasco
de9f56addf Fix import ordering in test files 2016-02-25 14:41:37 -06:00
Ian Cordasco
6d3d955ba9 Fix other tests after pylint fixes 2016-02-19 16:10:00 -06:00
Ian Cordasco
8c872c4bb9 Add more docstrings and fix lint errors 2016-01-10 14:47:06 -06:00
Ian Cordasco
a7f7bbbeb2 Handle when dest is provided to Option 2016-01-09 20:29:09 -06:00
Ian Cordasco
36cc254542 Generate dest for Options always 2016-01-09 15:32:44 -06:00
Ian Cordasco
5a6656d78d Test parse_from_config behaviour of Options 2016-01-09 15:22:03 -06:00
Ian Cordasco
1e9878611a Move unit tests into tests/unit 2016-01-09 12:55:31 -06:00