After installing deid to a local environment, you can use pre-commit to help with linting and formatting. To do that:
$ pip install -r .github/dev-requirements.txt
Then to run:
$ pre-commit run --all-files
You can also install as a hook:
$ pre-commit install
And it will run always before you commit. This is the same linting we use in our testing as well.