azimuth icon indicating copy to clipboard operation
azimuth copied to clipboard

#268 Add locking mechanism throught env

Open Dref360 opened this issue 3 years ago • 1 comments

Resolve #268

Description:

Quick PR to add locking mechanism. Trying to do so with AZ_LOCKED=1 will give:

Screenshot from 2022-10-18 15-11-15

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-files at 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 README files and our wiki for any big design decisions, if relevant.
    • Add unit tests, docstrings, typing and comments for complex sections.

Dref360 avatar Oct 18 '22 19:10 Dref360

This looks good to me! Thank you for tackling it. I can add the documentation, and fix the test.

gabegma avatar Oct 19 '22 16:10 gabegma