
# futurize-3.7 -1 -w -n ./Codeville/*.py

# futurize-3.7 -2 -w -n ./repository/*.py

RefactoringTool: Warnings/messages while refactoring:
RefactoringTool: ### In file ./repository/bzr.py ###
RefactoringTool: Line 358: You should use a for loop here




# black -t py37 --diff . >../tailor.diff

done in phase 01:

reformatted __init__.py
reformatted dualwd.py
reformatted repository/aegis/__init__.py
reformatted repository/baz.py
reformatted repository/arx.py
reformatted repository/cdv.py
reformatted repository/cg.py
reformatted repository/darcs/__init__.py
reformatted repository/bzr.py
reformatted repository/git/__init__.py
reformatted repository/git/source.py
reformatted repository/darcs/target.py
reformatted repository/p4/__init__.py
reformatted repository/mock.py
reformatted repository/p4/source.py
reformatted repository/hg.py
reformatted tests/config.py
reformatted tests/cvsps.py
reformatted tests/data/config-basic_test.py
reformatted tests/data/config-with_logging.py
reformatted tests/shwrap.py
reformatted workdir.py
reformatted tests/statefile.py
reformatted repository/p4/p4lib.py

phase 02:
reformatted vcpx/_process.py
reformatted vcpx/changes.py
reformatted vcpx/config.py



error: cannot format project.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 96)

error: cannot format repository/__init__.py: cannot use --safe with this file;
failed to parse source file with Python 3.7's builtin AST. Re-run with --fast or
stop using deprecated Python 2 syntax. AST error message: invalid syntax
(<unknown>, line 54)

error: cannot format repository/aegis/target.py: cannot use --safe with this file;
failed to parse source file with Python 3.7's builtin AST. Re-run with --fast or
stop using deprecated Python 2 syntax. AST error message: invalid token (<unknown>,
line 389)

error: cannot format repository/cvs.py: cannot use --safe with this file; failed
to parse source file with Python 3.7's builtin AST. Re-run with --fast or stop
using deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>,
line 124)

error: cannot format repository/cvsps.py: cannot use --safe with this file; failed
to parse source file with Python 3.7's builtin AST. Re-run with --fast or stop
using deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>,
line 137)

error: cannot format repository/darcs/source.py: cannot use --safe with this file;
failed to parse source file with Python 3.7's builtin AST. Re-run with --fast or
stop using deprecated Python 2 syntax. AST error message: invalid syntax
(<unknown>, line 56)

error: cannot format repository/git/target.py: cannot use --safe with this file;
failed to parse source file with Python 3.7's builtin AST. Re-run with --fast or
stop using deprecated Python 2 syntax. AST error message: invalid syntax
(<unknown>, line 87)

error: cannot format repository/monotone.py: cannot use --safe with this file;
failed to parse source file with Python 3.7's builtin AST. Re-run with --fast or
stop using deprecated Python 2 syntax. AST error message: invalid syntax
(<unknown>, line 154)

error: cannot format repository/tla.py: cannot use --safe with this file; failed
to parse source file with Python 3.7's builtin AST. Re-run with --fast or stop
using deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>,
line 201)

error: cannot format shwrap.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 255)

error: cannot format source.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 114)

error: cannot format statefile.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 176)

error: cannot format repository/svn.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 51)

error: cannot format tests/__init__.py: Cannot parse: 92:38: print title

error: cannot format tailor.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 155)

error: cannot format target.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 167)

error: cannot format tests/data/config-sf_test.py: Cannot parse: 2:20:
patch-name-format = 

error: cannot format tests/cvs.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid token (<unknown>, line 92)

error: cannot format tests/fixed_bugs.py: cannot use --safe with this file; failed
to parse source file with Python 3.7's builtin AST. Re-run with --fast or stop
using deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>,
line 158)

error: cannot format tests/darcs.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid token (<unknown>, line 320)

error: cannot format tests/svn.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid token (<unknown>, line 44)

error: cannot format tzinfo.py: cannot use --safe with this file; failed to parse
source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 67)

error: cannot format tests/tailor.py: cannot use --safe with this file; failed to
parse source file with Python 3.7's builtin AST. Re-run with --fast or stop using
deprecated Python 2 syntax. AST error message: invalid syntax (<unknown>, line 438)


All done! ���� ���� ����
24 files reformatted, 26 files failed to reformat.

pylint -v -ry --suggestion-mode=y vcpx/_process.py
************* Module vcpx._process
vcpx/_process.py:638:0: C0301: Line too long (104/100) (line-too-long)
vcpx/_process.py:695:0: C0301: Line too long (104/100) (line-too-long)
vcpx/_process.py:699:0: C0301: Line too long (104/100) (line-too-long)
vcpx/_process.py:1:0: C0302: Too many lines in module (1176/1000) (too-many-lines)
vcpx/_process.py:379:0: C0103: Constant name "mswindows" doesn't conform to UPPER_CASE naming style (invalid-name)
vcpx/_process.py:381:0: C0413: Import "import os" should be placed at the top of the module (wrong-import-position)
vcpx/_process.py:382:0: C0413: Import "import types" should be placed at the top of the module (wrong-import-position)
vcpx/_process.py:383:0: C0413: Import "import traceback" should be placed at the top of the module (wrong-import-position)
vcpx/_process.py:387:4: E0401: Unable to import 'msvcrt' (import-error)
vcpx/_process.py:388:4: E0401: Unable to import 'pywintypes' (import-error)
vcpx/_process.py:389:4: E0401: Unable to import 'win32api' (import-error)
vcpx/_process.py:390:4: E0401: Unable to import 'win32api' (import-error)
vcpx/_process.py:391:4: E0401: Unable to import 'win32con' (import-error)
vcpx/_process.py:392:4: E0401: Unable to import 'win32pipe' (import-error)
vcpx/_process.py:393:4: E0401: Unable to import 'win32process' (import-error)
vcpx/_process.py:394:4: E0401: Unable to import 'win32event' (import-error)
vcpx/_process.py:405:0: W0702: No exception type(s) specified (bare-except)
vcpx/_process.py:412:4: W0104: Statement seems to have no effect (pointless-statement)
vcpx/_process.py:413:4: W0104: Statement seems to have no effect (pointless-statement)
vcpx/_process.py:415:0: C0103: Constant name "_active" doesn't conform to UPPER_CASE naming style (invalid-name)
vcpx/_process.py:457:0: C0103: Constant name "run" doesn't conform to UPPER_CASE naming style (invalid-name)
vcpx/_process.py:460:0: C0115: Missing class docstring (missing-class-docstring)
vcpx/_process.py:461:4: R0913: Too many arguments (14/5) (too-many-arguments)
vcpx/_process.py:461:4: R0914: Too many local variables (20/15) (too-many-locals)
vcpx/_process.py:476:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:480:33: E1101: Module 'types' has no 'TupleType' member (no-member)
vcpx/_process.py:480:50: E1101: Module 'types' has no 'ListType' member (no-member)
vcpx/_process.py:484:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:488:32: E1101: Module 'types' has no 'StringTypes' member (no-member)
vcpx/_process.py:490:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:461:4: R0912: Too many branches (16/12) (too-many-branches)
vcpx/_process.py:540:4: R0201: Method could be a function (no-self-use)
vcpx/_process.py:554:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:554:33: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:554:52: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:561:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:568:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:568:32: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:575:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:582:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:582:33: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:589:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:598:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:598:33: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:550:8: R0912: Too many branches (14/12) (too-many-branches)
vcpx/_process.py:610:8: R0201: Method could be a function (no-self-use)
vcpx/_process.py:617:8: R0913: Too many arguments (16/5) (too-many-arguments)
vcpx/_process.py:617:8: R0914: Too many local variables (21/15) (too-many-locals)
vcpx/_process.py:626:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:636:16: C0103: Variable name "hp" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:636:20: C0103: Variable name "ht" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:643:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:648:22: E0602: Undefined variable 'WindowsError' (undefined-variable)
vcpx/_process.py:659:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:669:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:670:16: W0612: Unused variable 'obj' (unused-variable)
vcpx/_process.py:676:8: C0103: Argument name "fh" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:676:8: R0201: Method could be a function (no-self-use)
vcpx/_process.py:680:30: W0622: Redefining built-in 'input' (redefined-builtin)
vcpx/_process.py:703:19: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:713:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:715:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:743:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:747:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:747:32: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:753:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:757:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:757:33: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:763:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:769:17: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
vcpx/_process.py:769:33: E1101: Module 'types' has no 'IntType' member (no-member)
vcpx/_process.py:735:8: R0201: Method could be a function (no-self-use)
vcpx/_process.py:735:8: R0912: Too many branches (13/12) (too-many-branches)
vcpx/_process.py:780:8: C0103: Argument name "fd" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:780:8: R0201: Method could be a function (no-self-use)
vcpx/_process.py:796:16: W0702: No exception type(s) specified (bare-except)
vcpx/_process.py:790:8: R0201: Method could be a function (no-self-use)
vcpx/_process.py:800:8: R0913: Too many arguments (16/5) (too-many-arguments)
vcpx/_process.py:800:8: R0914: Too many local variables (24/15) (too-many-locals)
vcpx/_process.py:859:16: W0702: No exception type(s) specified (bare-except)
vcpx/_process.py:848:23: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:854:23: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:860:41: C0103: Variable name "tb" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:868:16: W0212: Access to a protected member _exit of a client class (protected-access)
vcpx/_process.py:800:8: R0912: Too many branches (20/12) (too-many-branches)
vcpx/_process.py:800:8: R0915: Too many statements (53/50) (too-many-statements)
vcpx/_process.py:902:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:915:15: C0121: Comparison to None should be 'expr is None' (singleton-comparison)
vcpx/_process.py:916:16: W0612: Unused variable 'pid' (unused-variable)
vcpx/_process.py:921:30: W0622: Redefining built-in 'input' (redefined-builtin)
vcpx/_process.py:979:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:981:15: C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
vcpx/_process.py:952:30: W0612: Unused variable 'xlist' (unused-variable)
vcpx/_process.py:921:8: R0912: Too many branches (17/12) (too-many-branches)
vcpx/_process.py:1031:8: C0103: Variable name "QUOTE" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1032:12: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1062:12: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:998:4: R0912: Too many branches (14/12) (too-many-branches)
vcpx/_process.py:1082:4: R0203: Consider using a decorator instead of calling staticmethod (no-staticmethod-decorator)
vcpx/_process.py:1105:16: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1130:4: R0203: Consider using a decorator instead of calling staticmethod (no-staticmethod-decorator)
vcpx/_process.py:1145:8: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1152:4: C0103: Variable name "p1" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1153:4: C0103: Variable name "p2" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1159:4: W0104: Statement seems to have no effect (pointless-statement)
vcpx/_process.py:1163:4: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
vcpx/_process.py:1167:18: E1101: Instance of 'OSError' has no 'child_traceback' member (no-member)
vcpx/_process.py:1171:8: W0104: Statement seems to have no effect (pointless-statement)


Report
======
432 statements analysed.

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |1      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |1      |NC         |NC         |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |19     |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |4      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+



Raw metrics
-----------

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |488    |41.43 |NC       |NC         |
+----------+-------+------+---------+-----------+
|docstring |425    |36.08 |NC       |NC         |
+----------+-------+------+---------+-----------+
|comment   |142    |12.05 |NC       |NC         |
+----------+-------+------+---------+-----------+
|empty     |123    |10.44 |NC       |NC         |
+----------+-------+------+---------+-----------+



Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |NC       |NC         |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |NC       |NC         |
+-------------------------+------+---------+-----------+



Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |55     |NC       |NC         |
+-----------+-------+---------+-----------+
|refactor   |21     |NC       |NC         |
+-----------+-------+---------+-----------+
|warning    |13     |NC       |NC         |
+-----------+-------+---------+-----------+
|error      |19     |NC       |NC         |
+-----------+-------+---------+-----------+



Messages
--------

+--------------------------+------------+
|message id                |occurrences |
+==========================+============+
|singleton-comparison      |24          |
+--------------------------+------------+
|invalid-name              |17          |
+--------------------------+------------+
|no-member                 |10          |
+--------------------------+------------+
|import-error              |8           |
+--------------------------+------------+
|unidiomatic-typecheck     |6           |
+--------------------------+------------+
|too-many-branches         |6           |
+--------------------------+------------+
|no-self-use               |6           |
+--------------------------+------------+
|pointless-statement       |4           |
+--------------------------+------------+
|wrong-import-position     |3           |
+--------------------------+------------+
|unused-variable           |3           |
+--------------------------+------------+
|too-many-locals           |3           |
+--------------------------+------------+
|too-many-arguments        |3           |
+--------------------------+------------+
|line-too-long             |3           |
+--------------------------+------------+
|bare-except               |3           |
+--------------------------+------------+
|redefined-builtin         |2           |
+--------------------------+------------+
|no-staticmethod-decorator |2           |
+--------------------------+------------+
|undefined-variable        |1           |
+--------------------------+------------+
|too-many-statements       |1           |
+--------------------------+------------+
|too-many-lines            |1           |
+--------------------------+------------+
|protected-access          |1           |
+--------------------------+------------+
|missing-class-docstring   |1           |
+--------------------------+------------+




------------------------------------------------------------------
Your code has been rated at 5.74/10 (previous run: 5.51/10, +0.23)

************* Module vcpx.changes
vcpx/changes.py:85:0: W0622: Redefining built-in 'compile' (redefined-builtin)
vcpx/changes.py:17:0: R0205: Class 'ChangesetEntry' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
vcpx/changes.py:17:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
vcpx/changes.py:46:8: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:49:16: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:52:16: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:55:16: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:57:12: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:59:12: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:60:8: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:61:25: E0602: Undefined variable 'unicode' (undefined-variable)
vcpx/changes.py:62:12: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:84:0: C0413: Import "from textwrap import TextWrapper" should be placed at the top of the module (wrong-import-position)
vcpx/changes.py:85:0: C0413: Import "from re import compile, MULTILINE" should be placed at the top of the module (wrong-import-position)
vcpx/changes.py:87:0: C0103: Constant name "itemize_re" doesn't conform to UPPER_CASE naming style (invalid-name)
vcpx/changes.py:122:0: R0205: Class 'Changeset' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
vcpx/changes.py:122:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
vcpx/changes.py:138:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:140:12: E0611: No name 'tzinfo' in module 'vcpx' (no-name-in-module)
vcpx/changes.py:140:0: E0001: Cannot import 'vcpx.tzinfo' due to syntax error 'invalid syntax (<unknown>, line 67)' (syntax-error)
vcpx/changes.py:140:12: C0415: Import outside toplevel (vcpx.tzinfo) (import-outside-toplevel)
vcpx/changes.py:138:8: W0612: Unused variable 'e' (unused-variable)
vcpx/changes.py:154:4: R0913: Too many arguments (6/5) (too-many-arguments)
vcpx/changes.py:187:4: C0103: Method name "setLog" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:187:4: C0116: Missing function or method docstring (missing-function-docstring)
vcpx/changes.py:193:4: C0103: Method name "addEntry" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:198:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:207:8: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:213:8: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:214:25: E0602: Undefined variable 'unicode' (undefined-variable)
vcpx/changes.py:215:12: C0103: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:218:4: C0103: Method name "applyPatch" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:223:0: E0001: Cannot import 'shwrap' due to syntax error 'invalid syntax (<unknown>, line 255)' (syntax-error)
vcpx/changes.py:223:8: C0415: Import outside toplevel (shwrap) (import-outside-toplevel)
vcpx/changes.py:224:0: E0001: Cannot import 'source' due to syntax error 'invalid syntax (<unknown>, line 114)' (syntax-error)
vcpx/changes.py:224:8: C0415: Import outside toplevel (source) (import-outside-toplevel)
vcpx/changes.py:229:45: E0602: Undefined variable 'basestring' (undefined-variable)
vcpx/changes.py:242:4: C0103: Method name "addedEntries" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:249:4: C0103: Method name "modifiedEntries" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:256:4: C0103: Method name "removedEntries" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:263:4: C0103: Method name "renamedEntries" doesn't conform to snake_case naming style (invalid-name)
vcpx/changes.py:142:12: W0201: Attribute '__date' defined outside __init__ (attribute-defined-outside-init)
vcpx/changes.py:148:8: W0201: Attribute '__date' defined outside __init__ (attribute-defined-outside-init)
vcpx/changes.py:84:0: C0411: standard import "from textwrap import TextWrapper" should be placed before "from vcpx import TailorBug" (wrong-import-order)
vcpx/changes.py:85:0: C0411: standard import "from re import compile, MULTILINE" should be placed before "from vcpx import TailorBug" (wrong-import-order)


Report
======
131 statements analysed.

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |1      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |2      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |17     |NC         |NC         |94.12       |41.18    |
+---------+-------+-----------+-----------+------------+---------+
|function |1      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+



Raw metrics
-----------

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |156    |57.78 |NC       |NC         |
+----------+-------+------+---------+-----------+
|docstring |47     |17.41 |NC       |NC         |
+----------+-------+------+---------+-----------+
|comment   |16     |5.93  |NC       |NC         |
+----------+-------+------+---------+-----------+
|empty     |51     |18.89 |NC       |NC         |
+----------+-------+------+---------+-----------+



Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |NC       |NC         |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |NC       |NC         |
+-------------------------+------+---------+-----------+



Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |29     |NC       |NC         |
+-----------+-------+---------+-----------+
|refactor   |5      |NC       |NC         |
+-----------+-------+---------+-----------+
|warning    |4      |NC       |NC         |
+-----------+-------+---------+-----------+
|error      |7      |NC       |NC         |
+-----------+-------+---------+-----------+



Messages
--------

+-------------------------------+------------+
|message id                     |occurrences |
+===============================+============+
|invalid-name                   |21          |
+-------------------------------+------------+
|undefined-variable             |3           |
+-------------------------------+------------+
|syntax-error                   |3           |
+-------------------------------+------------+
|import-outside-toplevel        |3           |
+-------------------------------+------------+
|wrong-import-position          |2           |
+-------------------------------+------------+
|wrong-import-order             |2           |
+-------------------------------+------------+
|useless-object-inheritance     |2           |
+-------------------------------+------------+
|too-many-instance-attributes   |2           |
+-------------------------------+------------+
|attribute-defined-outside-init |2           |
+-------------------------------+------------+
|unused-variable                |1           |
+-------------------------------+------------+
|too-many-arguments             |1           |
+-------------------------------+------------+
|redefined-builtin              |1           |
+-------------------------------+------------+
|no-name-in-module              |1           |
+-------------------------------+------------+
|missing-function-docstring     |1           |
+-------------------------------+------------+




------------------------------------------------------------------
Your code has been rated at 4.43/10 (previous run: 4.43/10, +0.00)

************* Module vcpx.config
vcpx/config.py:14:0: E0401: Unable to import 'cStringIO' (import-error)
vcpx/config.py:15:0: E0401: Unable to import 'ConfigParser' (import-error)
vcpx/config.py:67:4: C0103: Argument name "fp" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:75:16: W0122: Use of exec (exec-used)
vcpx/config.py:97:4: C0103: Method name "_setupLogging" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:97:4: R0914: Too many local variables (34/15) (too-many-locals)
vcpx/config.py:102:8: C0415: Import outside toplevel (logging, logging.handlers) (import-outside-toplevel)
vcpx/config.py:102:8: C0410: Multiple imports on one line (logging, logging.handlers) (multiple-imports)
vcpx/config.py:104:8: C0103: Variable name "cp" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:116:20: C0103: Variable name "fs" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:118:20: C0103: Variable name "fs" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:123:16: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:126:8: R1706: Consider using ternary ('DEBUG' if self._defaults.get('debug', False) else None) (consider-using-ternary)
vcpx/config.py:222:8: W0702: No exception type(s) specified (bare-except)
vcpx/config.py:166:20: W0706: The except handler raises immediately (try-except-raise)
vcpx/config.py:141:32: W0123: Use of eval (eval-used)
vcpx/config.py:143:31: W0123: Use of eval (eval-used)
vcpx/config.py:144:24: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:152:39: W0212: Access to a protected member _levelNames of a client class (protected-access)
vcpx/config.py:161:31: C1801: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (len-as-condition)
vcpx/config.py:127:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
vcpx/config.py:172:20: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:172:23: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:189:30: W0212: Access to a protected member _levelNames of a client class (protected-access)
vcpx/config.py:190:16: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:194:20: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:199:16: C0103: Variable name "qn" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:213:36: W0212: Access to a protected member _levelNames of a client class (protected-access)
vcpx/config.py:214:20: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:220:24: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:223:12: C0415: Import outside toplevel (sys) (import-outside-toplevel)
vcpx/config.py:224:12: C0415: Import outside toplevel (traceback) (import-outside-toplevel)
vcpx/config.py:226:12: C0103: Variable name "ei" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:97:4: R0912: Too many branches (40/12) (too-many-branches)
vcpx/config.py:97:4: R0915: Too many statements (106/50) (too-many-statements)
vcpx/config.py:239:60: W0622: Redefining built-in 'vars' (redefined-builtin)
vcpx/config.py:239:4: R0913: Too many arguments (6/5) (too-many-arguments)
vcpx/config.py:255:8: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:272:8: R1705: Unnecessary "elif" after "return" (no-else-return)
vcpx/config.py:281:4: C0103: Method name "getTuple" doesn't conform to snake_case naming style (invalid-name)
vcpx/config.py:289:8: R1705: Unnecessary "else" after "return" (no-else-return)
vcpx/config.py:15:0: W0611: Unused NoSectionError imported from ConfigParser (unused-import)
vcpx/config.py:15:0: W0611: Unused DEFAULTSECT imported from ConfigParser (unused-import)


Report
======
166 statements analysed.

Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |1      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |2      |NC         |NC         |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |5      |NC         |NC         |100.00      |40.00    |
+---------+-------+-----------+-----------+------------+---------+
|function |0      |NC         |NC         |0           |0        |
+---------+-------+-----------+-----------+------------+---------+



Raw metrics
-----------

+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |204    |68.46 |NC       |NC         |
+----------+-------+------+---------+-----------+
|docstring |41     |13.76 |NC       |NC         |
+----------+-------+------+---------+-----------+
|comment   |24     |8.05  |NC       |NC         |
+----------+-------+------+---------+-----------+
|empty     |29     |9.73  |NC       |NC         |
+----------+-------+------+---------+-----------+



Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |NC       |NC         |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |NC       |NC         |
+-------------------------+------+---------+-----------+



Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |22     |NC       |NC         |
+-----------+-------+---------+-----------+
|refactor   |8      |NC       |NC         |
+-----------+-------+---------+-----------+
|warning    |11     |NC       |NC         |
+-----------+-------+---------+-----------+
|error      |2      |NC       |NC         |
+-----------+-------+---------+-----------+



Messages
--------

+------------------------+------------+
|message id              |occurrences |
+========================+============+
|invalid-name            |17          |
+------------------------+------------+
|protected-access        |3           |
+------------------------+------------+
|import-outside-toplevel |3           |
+------------------------+------------+
|unused-import           |2           |
+------------------------+------------+
|no-else-return          |2           |
+------------------------+------------+
|import-error            |2           |
+------------------------+------------+
|eval-used               |2           |
+------------------------+------------+
|try-except-raise        |1           |
+------------------------+------------+
|too-many-statements     |1           |
+------------------------+------------+
|too-many-nested-blocks  |1           |
+------------------------+------------+
|too-many-locals         |1           |
+------------------------+------------+
|too-many-branches       |1           |
+------------------------+------------+
|too-many-arguments      |1           |
+------------------------+------------+
|redefined-builtin       |1           |
+------------------------+------------+
|multiple-imports        |1           |
+------------------------+------------+
|len-as-condition        |1           |
+------------------------+------------+
|exec-used               |1           |
+------------------------+------------+
|consider-using-ternary  |1           |
+------------------------+------------+
|bare-except             |1           |
+------------------------+------------+




------------------------------------------------------------------
Your code has been rated at 6.93/10 (previous run: 6.81/10, +0.12)

