Unconditionally add os.getcwd() into sys.path (#699)
Unconditionally add os.getcwd() into sys.path (#699)

* Partially fixes https://github.com/Fizzadar/pyinfra/issues/698

This commit contains a quick fix for relative Python imports from the top-level project directory.
It simply unconditionally adds os.getcwd() into sys.path right at the beginning, while still allowing deploy_dir to override things later, if necessary.
This commit doesn't fix relative paths for files, like templates, locally references deploys/tasks etc.

* Fixing lint issues.

(Did I really do this?)

Co-authored-by: Glass beads <238fe55eb94e44f9678c7d346c51e28285e750ee@gmail.com>
Fizzadar/pyinfra,Fizzadar/pyinfra