Add a precommit config file that will enforce code style validation using ruff. Should be fairly straightforward.