🏡 Open source home automation that puts local control and privacy first.
Go to file
Bas Nijholt c59bf0bff6 `genericpath` is an internal Python module and shouldn't be imported according to core Python devs. (see [this](https://bugs.python.org/msg358136) comment) (#29903)
For a reason unknown to me, @exxamalte introduced this in https://github.com/home-assistant/home-assistant/pull/14342.

The problem is that Linux and macOS implement `os.path` differently, one imports from [`ntpath.py`](https://github.com/python/cpython/blob/master/Lib/ntpath.py) and the other one from [`posixpath.py`](https://github.com/python/cpython/blob/master/Lib/posixpath.py), and both these files use `genericpath.py`.

Somehow, `isort` on macOS will see `genericpath` as a third party library and sort it accordingly.
Other Unix-based OSes will correctly treat `genericpath` as an internal library.

This problem led to a sorting sequence in the following commits:

- ca0fad2cbb
- f5d4878992
- 7d68e88d31
- 1fee400dcd

This supersedes https://github.com/home-assistant/home-assistant/pull/29893.
2019-12-13 09:47:09 +01:00
.devcontainer Update devcontainer.json 2019-10-17 17:06:33 +02:00
.github Update documentation link URL for integrations (part2) (#27117) 2019-10-02 09:34:07 -07:00
.vscode Always run flake8 through pre-commit, and with doctests (#28490) 2019-11-06 21:38:00 +02:00
docs Fix isort on a small set of misc files (#29803) 2019-12-10 09:25:42 +01:00
homeassistant [ci skip] Translation update 2019-12-13 00:32:17 +00:00
script Install discovery requirements if used (#29795) 2019-12-10 09:24:49 +01:00
tests `genericpath` is an internal Python module and shouldn't be imported according to core Python devs. (see [this](https://bugs.python.org/msg358136) comment) (#29903) 2019-12-13 09:47:09 +01:00
.codecov.yml Only comment with changed coverage on release PRs [skip-ci] (#23224) 2019-04-18 20:58:35 -07:00
.coveragerc Revert Tahoma removal (#29840) 2019-12-12 06:37:55 +01:00
.dockerignore Docker cleanup. (#8226) 2017-06-30 08:07:33 -07:00
.gitattributes Fix line endings [skipci] (#12333) 2018-02-11 23:07:28 -08:00
.gitignore Move imports in wake_on_lan component (#28100) 2019-10-22 23:14:52 -07:00
.hound.yml Add .hound.yml 2016-11-13 11:34:09 -08:00
.ignore Include .ignore file for search utilities (#5290) 2017-01-16 22:52:53 -08:00
.pre-commit-config-all.yaml Add isort to CI and pre-commit (#29739) 2019-12-12 15:58:47 +01:00
.pre-commit-config.yaml Add isort to CI and pre-commit (#29739) 2019-12-12 15:58:47 +01:00
.readthedocs.yml Rename readthedocs file (#17718) 2018-10-23 17:39:17 +02:00
.travis.yml Use Bionic's ffmpeg on Travis, jonathonf/ffmpeg-4 is N/A at the moment (#29860) 2019-12-12 07:15:32 +01:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:34 -08:00
CODEOWNERS Revert Tahoma removal (#29840) 2019-12-12 06:37:55 +01:00
CODE_OF_CONDUCT.md Add organization docs 2017-01-22 16:21:20 -08:00
CONTRIBUTING.md Update developer doc links to developers.home-assistant.io (#16622) 2018-09-15 13:27:37 +02:00
Dockerfile.dev Fix dev dockerfile 2019-11-05 21:38:30 +01:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Consolidate frontend (#9915) 2017-10-24 19:36:27 -07:00
README.rst Adjusts repository README (#29805) 2019-12-10 09:22:37 +01:00
azure-pipelines-ci.yml Add isort to CI and pre-commit (#29739) 2019-12-12 15:58:47 +01:00
azure-pipelines-release.yml Update azure-pipelines-release.yml for Azure Pipelines 2019-09-30 14:49:08 +02:00
azure-pipelines-translation.yml Update azure-pipelines-translation.yml for Azure Pipelines 2019-09-05 12:09:21 +02:00
azure-pipelines-wheels.yml Update azure-pipelines-wheels.yml for Azure Pipelines 2019-10-14 14:30:08 +02:00
pylintrc Add isort to CI and pre-commit (#29739) 2019-12-12 15:58:47 +01:00
pyproject.toml Add Black 2019-07-31 12:23:23 -07:00
requirements_all.txt Bump python-miio version to 0.4.8 (#29890) 2019-12-12 22:39:11 +01:00
requirements_docs.txt Upgrade Sphinx to 2.1.2 (#24693) 2019-06-23 07:49:40 +02:00
requirements_test.txt Bump pytest to 5.3.1 (#29535) 2019-12-06 09:08:06 +01:00
requirements_test_all.txt Bump python-miio version to 0.4.8 (#29890) 2019-12-12 22:39:11 +01:00
requirements_test_pre_commit.txt Add isort to CI and pre-commit (#29739) 2019-12-12 15:58:47 +01:00
setup.cfg Always run flake8 through pre-commit, and with doctests (#28490) 2019-11-06 21:38:00 +02:00
setup.py use isort to sort imports for "setup.py" (#29792) 2019-12-09 16:30:16 +01:00
tox.ini Add bandit, use to catch known vulnerable XML parsing (#28341) 2019-11-18 09:10:15 +01:00

README.rst

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation-2/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-components|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/en/architecture_index.html>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/en/creating_component_index.html>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png
   :target: https://home-assistant.io/integrations/