diff --git a/.gitignore b/.gitignore index 6a77c4ee913..2e6c10af900 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,10 @@ known_devices.csv *.sublime-project *.sublime-workspace +# Hide code validator output +pep8.txt +pylint.txt + # Hide some OS X stuff .DS_Store .AppleDouble @@ -14,6 +18,7 @@ Icon # Thumbnails ._* +.idea # GITHUB Proposed Python stuff: *.py[cod] diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index 61b96a042f7..00000000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -home-assistant \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index e206d70d859..00000000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/.idea/home-assistant.iml b/.idea/home-assistant.iml deleted file mode 100644 index ddae08c5b0b..00000000000 --- a/.idea/home-assistant.iml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 6d4142548ff..00000000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index e2df14ffd63..00000000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/.idea/scopes/scope_settings.xml b/.idea/scopes/scope_settings.xml deleted file mode 100644 index 922003b8433..00000000000 --- a/.idea/scopes/scope_settings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index c80f2198b5f..00000000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 0130a6c78b7..00000000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,484 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1384050152631 - 1384050152631 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pep8.txt b/pep8.txt deleted file mode 100644 index a23bcfcd04a..00000000000 --- a/pep8.txt +++ /dev/null @@ -1,15 +0,0 @@ -homeassistant/httpinterface.py:268:21: E126 continuation line over-indented for hanging indent -homeassistant/httpinterface.py:302:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:326:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:357:18: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:364:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:375:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:389:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:392:20: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:396:18: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:400:22: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:438:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:452:21: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:455:20: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:459:18: E127 continuation line over-indented for visual indent -homeassistant/httpinterface.py:463:22: E127 continuation line over-indented for visual indent diff --git a/pylint.txt b/pylint.txt deleted file mode 100644 index 4cad44fd5a8..00000000000 --- a/pylint.txt +++ /dev/null @@ -1,123 +0,0 @@ -************* Module homeassistant.httpinterface -W:647, 0: TODO: correct header for mime-type and caching (fixme) -E:216,29: Instance of 'str' has no 'match' member (but some types could not be inferred) (maybe-no-member) -************* Module homeassistant.packages.pychromecast.example -C: 9, 0: Invalid constant name "host" (invalid-name) -C: 18, 0: Invalid constant name "cast" (invalid-name) -************* Module homeassistant.packages.pychromecast.pychromecast -W:211,11: Catching too general exception Exception (broad-except) - - -Report -====== -1285 statements analysed. - -Duplication ------------ - -+-------------------------+------+---------+-----------+ -| |now |previous |difference | -+=========================+======+=========+===========+ -|nb duplicated lines |0 |0 |= | -+-------------------------+------+---------+-----------+ -|percent duplicated lines |0.000 |0.000 |= | -+-------------------------+------+---------+-----------+ - - - -External dependencies ---------------------- -:: - - ephem (homeassistant.observers) - phue (homeassistant.actors) - pykeyboard (homeassistant.actors) - requests (homeassistant.remote,homeassistant.actors,homeassistant.packages.pychromecast.pychromecast,homeassistant.test,homeassistant.observers) - - - -Raw metrics ------------ - -+----------+-------+------+---------+-----------+ -|type |number |% |previous |difference | -+==========+=======+======+=========+===========+ -|code |1564 |61.31 |1559 |+5.00 | -+----------+-------+------+---------+-----------+ -|docstring |625 |24.50 |625 |= | -+----------+-------+------+---------+-----------+ -|comment |150 |5.88 |150 |= | -+----------+-------+------+---------+-----------+ -|empty |212 |8.31 |212 |= | -+----------+-------+------+---------+-----------+ - - - -Messages by category --------------------- - -+-----------+-------+---------+-----------+ -|type |number |previous |difference | -+===========+=======+=========+===========+ -|convention |2 |2 |= | -+-----------+-------+---------+-----------+ -|refactor |0 |0 |= | -+-----------+-------+---------+-----------+ -|warning |2 |3 |-1.00 | -+-----------+-------+---------+-----------+ -|error |1 |1 |= | -+-----------+-------+---------+-----------+ - - - -% errors / warnings by module ------------------------------ - -+-------------------------------------------------+-------+--------+---------+-----------+ -|module |error |warning |refactor |convention | -+=================================================+=======+========+=========+===========+ -|homeassistant.httpinterface |100.00 |50.00 |0.00 |0.00 | -+-------------------------------------------------+-------+--------+---------+-----------+ -|homeassistant.packages.pychromecast.pychromecast |0.00 |50.00 |0.00 |0.00 | -+-------------------------------------------------+-------+--------+---------+-----------+ - - - -Messages --------- - -+-----------+------------+ -|message id |occurrences | -+===========+============+ -|C0103 |2 | -+-----------+------------+ -|W0703 |1 | -+-----------+------------+ -|W0511 |1 | -+-----------+------------+ -|E1103 |1 | -+-----------+------------+ - - - -Global evaluation ------------------ -Your code has been rated at 9.93/10 (previous run: 9.92/10, +0.01) - -Statistics by type ------------------- - -+---------+-------+-----------+-----------+------------+---------+ -|type |number |old number |difference |%documented |%badname | -+=========+=======+===========+===========+============+=========+ -|module |12 |12 |= |100.00 |0.00 | -+---------+-------+-----------+-----------+------------+---------+ -|class |17 |17 |= |100.00 |0.00 | -+---------+-------+-----------+-----------+------------+---------+ -|method |97 |97 |= |100.00 |12.37 | -+---------+-------+-----------+-----------+------------+---------+ -|function |66 |66 |= |100.00 |0.00 | -+---------+-------+-----------+-----------+------------+---------+ - - -