azimuth
azimuth copied to clipboard
#268 Add locking mechanism throught env
Resolve #268
Description:
Quick PR to add locking mechanism. Trying to do so with AZ_LOCKED=1 will give:

Feel free to change the env var name.
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.
- [x] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
- [x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran
pre-commit run --all-filesat the end. - [x] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact our users.
- [x] DEV CHANGES.
- Update the documentation if this PR changes how to develop/launch on the app.
- Update the
READMEfiles and our wiki for any big design decisions, if relevant. - Add unit tests, docstrings, typing and comments for complex sections.
This looks good to me! Thank you for tackling it. I can add the documentation, and fix the test.