Commit Graph

10 Commits

Author SHA1 Message Date
Michael Elsdörfer 1bd53697b9 Fix the CLI test inside pytest runner. 2016-08-30 17:47:09 +02:00
Patrick Kanzler 9f5eed0020
add version-strings into the module
The version string is in the module as __version__ available.
In the doc the version will be automatically parsed. The version comes
from the installed module if on read the docs or directly from
setuptools_scm if you are working locally.
The CLI will issue the version string if you call it with the option
'version'. The CLI does not accept commands like '--version', since this
would not be conform with the rest of the interface (and argparse).

The configuration for loading the version-string is adapted from
pimutils/vdirsyncer. It autogenerates a version string setuptools_scm at
install-time and then adds it to the __version__ member in __init__.py

I adapted the GitHub-template with a fitting comment and bumped the
changelog.

closes #141
2016-07-17 19:39:42 +02:00
Patrick Kanzler 0121aa0bfb
REFACTOR add PEP8-newlines 2016-04-02 15:29:51 +02:00
Davis Goglin 39da32ca85 Define class vars first in __init__ 2016-03-30 13:38:27 -07:00
Davis Goglin e545999aa2 Convert class methods to static 2016-03-30 13:38:03 -07:00
Davis Goglin 3017c14df2 Add future imports 2016-03-30 13:31:21 -07:00
Davis Goglin 39165fcb41 Fix tests I just wrote then broke 2016-03-28 15:21:16 -07:00
Davis Goglin cabb2c930a Add docstring to TestCLI class 2016-03-28 15:01:40 -07:00
Davis Goglin 0c3f273fa1 Clear test dir 2016-03-28 14:57:06 -07:00
Davis Goglin 76f300ea18 Fix text argument 2016-03-28 14:51:48 -07:00