hass-magic_areas icon indicating copy to clipboard operation
hass-magic_areas copied to clipboard

Devcontainer environment and better coding practices

Open jseidl opened this issue 10 months ago • 1 comments

This PR introduces the merge of integration_blueprint into this repo. A few things such as vscode devcontainer environment and configuration for black, flake8, pylint and isort.

A few workflows changed a few more to come whenever I'm able to start on tests.

I've ran the "autofixes' from ruff, black and isort but I still need to work on general docstring and code enhancements before it can pass ruff check which is the goal.

My stretch goal is to add typing with mypy

jseidl avatar Apr 14 '24 07:04 jseidl

After a lot of work to get the linters happy and tests to start rolling off, I broke some stuff but it's now (apparently) fixed.

I made a test to test that the area goes to on when a presence sensor is detected. I need to modify the test area config to have a short clear timeout so I can add the negative test.

jseidl avatar Apr 24 '24 07:04 jseidl

Closes #331 and #318

jseidl avatar May 27 '24 06:05 jseidl