Commit Graph

9 Commits

Author SHA1 Message Date
nvbn f20311fa89 #392: Little refactoring 2015-10-29 00:13:59 +08:00
mcarton e71a3e0cdb Replace (almost) all instance of script.split 2015-10-28 16:43:24 +01:00
nvbn df4d2cc88d ⚠️ Remove settings param from rules match, get_new_command and side_effect 2015-09-07 13:00:29 +03:00
nvbn b21c9ebb43 Move all app/os specific utils to specific package 2015-08-25 14:09:47 +03:00
mcarton 7f0f9a966f Fix some pep8 issues, mostly spaces
Before:
    4       E101 indentation contains mixed spaces and tabs
    20      E122 continuation line missing indentation or outdented
    1       E124 closing bracket does not match visual indentation
    12      E127 continuation line over-indented for visual indent
    22      E128 continuation line under-indented for visual indent
    2       E211 whitespace before '('
    12      E302 expected 2 blank lines, found 1
    1       E303 too many blank lines (3)
    4       E402 module level import not at top of file
    123     E501 line too long (81 > 79 characters)
    2       E731 do not assign a lambda expression, use a def
    3       W191 indentation contains tabs
    20      W291 trailing whitespace
    3       W293 blank line contains whitespace
    2       W391 blank line at end of file
    69      W503 line break before binary operator

After:
    20      E122 continuation line missing indentation or outdented
    12      E127 continuation line over-indented for visual indent
    22      E128 continuation line under-indented for visual indent
    123     E501 line too long (81 > 79 characters)
    2       E731 do not assign a lambda expression, use a def
    1       W291 trailing whitespace
    68      W503 line break before binary operator
2015-08-17 16:07:10 +02:00
nvbn e7b78205f4 Add transparent sudo support for rules where it required 2015-04-22 16:45:38 +02:00
nvbn 5ccf163594 command.script now unicode 2015-04-21 06:24:40 +02:00
nvbn 36d9e13ece #55 Add tests and check for command not found 2015-04-20 15:46:02 +02:00
dannion 2b08a136b5 add a rule to run the script you enter by add './' in command's prefix 2015-04-20 19:48:27 +08:00