* Fix Docker healthcheck when using custom runtime dirs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Use a writable directory for healthcheck test
* Allow missing import for `jupyter_core` in mypy
* Set HOME according to NB_USER in healthcheck script
* Add custom runtime dir an NB_USER case to healthcheck test
* Call `jupyter --runtime-dir` directly in healthcheck script
* Update docker_healthcheck.py
* Update docker_healthcheck.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>