freeipa/ipapython/install
Jan Cholasta a929ac3338 install: use standard Python classes to declare knob types
Use type(None) rather than bool to define knobs which are represented as
command line flags. This allows declaring both "--option" and
"--option={0,1}"-style command line options.

Use enum.Enum subclasses instead of set literals to declare enumerations.

Use typing.List[T] instead of (list, T) to declare lists. (Note that a
minimal reimplementation of typing.List is used instead of the Python 2
backport of the typing module due to non-technical reasons.)

Use CheckedIPAddress instead of 'ip' and 'ip-local' to declare IP
addresses.

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-11-11 12:17:25 +01:00
..
__init__.py install: Introduce installer framework ipapython.install 2015-06-08 15:34:11 +00:00
cli.py install: use standard Python classes to declare knob types 2016-11-11 12:17:25 +01:00
common.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
core.py install: use standard Python classes to declare knob types 2016-11-11 12:17:25 +01:00
typing.py install: use standard Python classes to declare knob types 2016-11-11 12:17:25 +01:00
util.py pylint: fix bad-mcs-method-argument 2016-09-22 16:52:57 +02:00