Commit graph

14 commits

Author SHA1 Message Date
Tomas Kopecek
68bf19c739 python-modernize -f libmodernize.fixes.fix_dict_six 2017-06-01 09:39:22 +02:00
Tomas Kopecek
93034f64f3 idioms 2017-03-17 11:35:53 -04:00
Tomas Kopecek
22bedc900d whitespace formatting 2017-03-17 11:35:53 -04:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Mike McLean
47ec115355 More policy tests -- 100% coverage for policy.py 2016-10-25 17:16:12 -04:00
Mohan Boddu
dd82e9cea2 Remove all bad-whitespaces
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04:00
Pavol Babincak
9e89ebb9a4 Ran reindent.py from cpython tools on all python scripts
Citing from reindent docs:

    Change Python (.py) files to use 4-space indents and no hard tab
    characters. Also trim excess spaces and tabs from ends of lines, and
    remove empty lines at the end of files.  Also ensure the last line
    ends with a newline.

Citing from PEP 8:

    Use 4 spaces per indentation level.

    Python 2 code indented with a mixture of tabs and spaces should be
    converted to using spaces exclusively.

    Don't write string literals that rely on significant trailing
    whitespace. Such trailing whitespace is visually indistinguishable
    and some editors (or more recently, reindent.py) will trim them.

Also PyLint recommends not to have trailing whitespace on any line.
2015-05-13 16:39:53 -04:00
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Mike McLean
bfbc01c1b8 fix HasTest 2010-06-29 17:03:36 -04:00
Mike McLean
159ba82013 channel policy to determine which channel a task is placed in 2010-05-26 15:19:13 -04:00
Mike McLean
59bde48e43 package list policy 2010-03-09 16:03:59 -05:00
Mike McLean
d029e1c276 enable verbose policy errors without full debug 2008-11-13 01:16:42 -05:00
Mike McLean
d513993049 add tests 'all' and 'none' (aliases for true and false) 2008-11-03 17:20:43 -05:00
Mike McLean
86e63c5de1 policy framework and tagging policies 2008-10-27 14:00:58 -04:00