code-annotations 2.0.0__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {code_annotations-2.0.0 → code_annotations-2.1.0}/CHANGELOG.rst +5 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/PKG-INFO +8 -3
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/__init__.py +1 -1
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/config/openedx_events_annotations.yaml +2 -1
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/openedx_events.py +5 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/PKG-INFO +8 -3
- {code_annotations-2.0.0 → code_annotations-2.1.0}/LICENSE.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/MANIFEST.in +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/NOTICE.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/README.rst +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/annotation_errors.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/base.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/cli.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/config/__init__.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/config/feature_toggle_annotations.yaml +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/config/setting_annotations.yaml +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/__init__.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/base.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/featuretoggles.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/settings.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/exceptions.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/extensions/__init__.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/extensions/base.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/extensions/javascript.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/extensions/python.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/find_django.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/find_static.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/generate_docs.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/helpers.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/SOURCES.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/dependency_links.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/entry_points.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/not-zip-safe +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/requires.txt +2 -2
- {code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/top_level.txt +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/requirements/base.in +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/setup.cfg +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/setup.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_base.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_django_coverage.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_django_generate_safelist.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_django_list_local_models.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_find_django.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_find_static.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_generate_docs.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_search.py +0 -0
- {code_annotations-2.0.0 → code_annotations-2.1.0}/tests/test_sphinx.py +0 -0
|
@@ -14,6 +14,11 @@ Change Log
|
|
|
14
14
|
Unreleased
|
|
15
15
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
16
16
|
|
|
17
|
+
[2.1.0] - 2024-12-12
|
|
18
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
19
|
+
|
|
20
|
+
* Add support for optional event warning for in-line annotation.
|
|
21
|
+
|
|
17
22
|
[2.0.0] - 2024-10-18
|
|
18
23
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
19
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: code-annotations
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Extensible tools for parsing annotations in codebases
|
|
5
5
|
Home-page: https://github.com/openedx/code-annotations
|
|
6
6
|
Author: edX
|
|
@@ -23,9 +23,9 @@ License-File: LICENSE.txt
|
|
|
23
23
|
License-File: NOTICE.txt
|
|
24
24
|
Requires-Dist: python-slugify
|
|
25
25
|
Requires-Dist: stevedore
|
|
26
|
-
Requires-Dist: Jinja2
|
|
27
|
-
Requires-Dist: click
|
|
28
26
|
Requires-Dist: pyyaml
|
|
27
|
+
Requires-Dist: click
|
|
28
|
+
Requires-Dist: Jinja2
|
|
29
29
|
Provides-Extra: django
|
|
30
30
|
Requires-Dist: Django>=4.2; extra == "django"
|
|
31
31
|
|
|
@@ -129,6 +129,11 @@ Change Log
|
|
|
129
129
|
Unreleased
|
|
130
130
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
131
131
|
|
|
132
|
+
[2.1.0] - 2024-12-12
|
|
133
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
134
|
+
|
|
135
|
+
* Add support for optional event warning for in-line annotation.
|
|
136
|
+
|
|
132
137
|
[2.0.0] - 2024-10-18
|
|
133
138
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
134
139
|
|
|
@@ -6,12 +6,13 @@ safelist_path: .annotation_safe_list.yml
|
|
|
6
6
|
coverage_target: 100.0
|
|
7
7
|
annotations:
|
|
8
8
|
feature_toggle:
|
|
9
|
-
# See annotation format documentation: https://
|
|
9
|
+
# See annotation format documentation: https://docs.openedx.org/projects/openedx-events/en/latest/reference/in-line-code-annotations-for-an-event.html
|
|
10
10
|
- ".. event_type:":
|
|
11
11
|
- ".. event_name:":
|
|
12
12
|
- ".. event_description:":
|
|
13
13
|
- ".. event_data:":
|
|
14
14
|
- ".. event_key_field:":
|
|
15
|
+
- ".. event_warning:":
|
|
15
16
|
extensions:
|
|
16
17
|
python:
|
|
17
18
|
- py
|
|
@@ -118,6 +118,11 @@ class OpenedxEvents(SphinxDirective):
|
|
|
118
118
|
f" {event['line_number']})"
|
|
119
119
|
)
|
|
120
120
|
|
|
121
|
+
if event.get(".. event_warning:") not in (None, "None", "n/a", "N/A"):
|
|
122
|
+
event_section += nodes.warning(
|
|
123
|
+
"", nodes.paragraph("", event[".. event_warning:"]), ids=[f"warning-{event_name}"]
|
|
124
|
+
)
|
|
125
|
+
|
|
121
126
|
subject_header += event_section
|
|
122
127
|
|
|
123
128
|
if domain_header:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: code-annotations
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Extensible tools for parsing annotations in codebases
|
|
5
5
|
Home-page: https://github.com/openedx/code-annotations
|
|
6
6
|
Author: edX
|
|
@@ -23,9 +23,9 @@ License-File: LICENSE.txt
|
|
|
23
23
|
License-File: NOTICE.txt
|
|
24
24
|
Requires-Dist: python-slugify
|
|
25
25
|
Requires-Dist: stevedore
|
|
26
|
-
Requires-Dist: Jinja2
|
|
27
|
-
Requires-Dist: click
|
|
28
26
|
Requires-Dist: pyyaml
|
|
27
|
+
Requires-Dist: click
|
|
28
|
+
Requires-Dist: Jinja2
|
|
29
29
|
Provides-Extra: django
|
|
30
30
|
Requires-Dist: Django>=4.2; extra == "django"
|
|
31
31
|
|
|
@@ -129,6 +129,11 @@ Change Log
|
|
|
129
129
|
Unreleased
|
|
130
130
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
131
131
|
|
|
132
|
+
[2.1.0] - 2024-12-12
|
|
133
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
134
|
+
|
|
135
|
+
* Add support for optional event warning for in-line annotation.
|
|
136
|
+
|
|
132
137
|
[2.0.0] - 2024-10-18
|
|
133
138
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
134
139
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/config/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{code_annotations-2.0.0 → code_annotations-2.1.0}/code_annotations.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|