Here is the code for pii_check:
|
## Re-enable --lint flag when this issue https://github.com/openedx/edx-platform/issues/35775 is resolved |
|
pii_check: ## check django models for pii annotations |
|
DJANGO_SETTINGS_MODULE=cms.envs.test \ |
|
code_annotations django_find_annotations \ |
|
--config_file .pii_annotations.yml \ |
|
--app_name cms \ |
|
--coverage \ |
|
--lint |
|
|
|
DJANGO_SETTINGS_MODULE=lms.envs.test \ |
|
code_annotations django_find_annotations \ |
|
--config_file .pii_annotations.yml \ |
|
--app_name lms \ |
|
--coverage \ |
|
--lint |
- This uses
--app_name cms, which doesn't seem to be matching anything.
- Also, line 177 has comment about "Re-enable --lint flag", which seems to already be done?
Possibly the target might be missed, given we don't seem to really have been checking?
Relevant recent issues and docs:
In addition to fixing, maybe we could implement or ticket ensuring this doesn't regress again? It seems this isn't the first time this broke and no one noticed.
Here is the code for pii_check:
openedx-platform/Makefile
Lines 177 to 191 in 7c68f1d
--app_name cms, which doesn't seem to be matching anything.Possibly the target might be missed, given we don't seem to really have been checking?
openedx-platform/.pii_annotations.yml
Line 4 in 7c68f1d
Relevant recent issues and docs:
In addition to fixing, maybe we could implement or ticket ensuring this doesn't regress again? It seems this isn't the first time this broke and no one noticed.