Skip to content

Commit ad051b4

Browse files
refactor: address quality issues
1 parent c1dacc4 commit ad051b4

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

openedx_authz/migrations/0008_roleassignmentaudit.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,19 @@ class Migration(migrations.Migration):
4646
(
4747
"scope",
4848
models.CharField(
49-
help_text="Namespaced key of the scope (e.g. 'course-v1^course-v1:org+course+run') or glob pattern.",
49+
help_text=(
50+
"Namespaced key of the scope (e.g. 'course-v1^course-v1:org+course+run') or glob pattern."
51+
),
5052
max_length=255,
5153
),
5254
),
5355
(
5456
"actor_id",
5557
models.IntegerField(
5658
blank=True,
57-
help_text="Database ID of the user who performed the operation. Null for system-initiated actions.",
59+
help_text=(
60+
"Database ID of the user who performed the operation. Null for system-initiated actions."
61+
),
5862
null=True,
5963
),
6064
),

requirements/base.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ edx-organizations # Organizations library for Open edX
1616
django-waffle # Waffle library for feature flag management
1717
# TODO: pin to released version once MJG/authz-audit is merged and released
1818
git+https://github.com/openedx/openedx-events.git@MJG/authz-audit#egg=openedx-events
19+
django-crum # Current Request User Middleware for Django

requirements/base.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ django==5.2.13
4444
# edx-organizations
4545
# openedx-events
4646
django-crum==0.7.9
47-
# via edx-django-utils
47+
# via
48+
# -r requirements/base.in
49+
# edx-django-utils
4850
django-model-utils==5.0.0
4951
# via edx-organizations
5052
django-simple-history==3.11.0

requirements/dev.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ mccabe==0.7.0
213213
# pylint
214214
openedx-atlas==0.7.0
215215
# via -r requirements/quality.txt
216-
<<<<<<< HEAD
217-
=======
218-
openedx-events @ git+https://github.com/openedx/openedx-events.git@MJG/authz-audit
219-
# via -r requirements/quality.txt
220-
>>>>>>> f9b6043 (chore: run make upgrade after including openedx-events)
221216
packaging==26.1
222217
# via
223218
# -r requirements/ci.txt

0 commit comments

Comments
 (0)