code-annotations 1.8.2__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-1.8.2 → code_annotations-2.1.0}/CHANGELOG.rst +11 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/PKG-INFO +17 -6
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/__init__.py +1 -1
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/config/openedx_events_annotations.yaml +2 -1
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/openedx_events.py +5 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/PKG-INFO +17 -6
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/requires.txt +4 -4
- {code-annotations-1.8.2 → code_annotations-2.1.0}/setup.py +2 -2
- {code-annotations-1.8.2 → code_annotations-2.1.0}/LICENSE.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/MANIFEST.in +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/NOTICE.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/README.rst +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/annotation_errors.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/base.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/cli.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/config/__init__.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/config/feature_toggle_annotations.yaml +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/config/setting_annotations.yaml +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/__init__.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/base.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/featuretoggles.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/contrib/sphinx/extensions/settings.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/exceptions.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/extensions/__init__.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/extensions/base.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/extensions/javascript.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/extensions/python.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/find_django.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/find_static.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/generate_docs.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations/helpers.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/SOURCES.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/dependency_links.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/entry_points.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/not-zip-safe +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/top_level.txt +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/requirements/base.in +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/setup.cfg +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_base.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_django_coverage.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_django_generate_safelist.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_django_list_local_models.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_find_django.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_find_static.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_generate_docs.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_search.py +0 -0
- {code-annotations-1.8.2 → code_annotations-2.1.0}/tests/test_sphinx.py +0 -0
|
@@ -14,6 +14,17 @@ 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
|
+
|
|
22
|
+
[2.0.0] - 2024-10-18
|
|
23
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
24
|
+
|
|
25
|
+
* Drop support for python 3.8
|
|
26
|
+
* Adds support for python 3.11 & 3.12
|
|
27
|
+
|
|
17
28
|
[1.8.1] - 2024-07-11
|
|
18
29
|
~~~~~~~~~~~~~~~~~~~~
|
|
19
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: code-annotations
|
|
3
|
-
Version: 1.
|
|
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
|
|
@@ -15,19 +15,19 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Classifier: Natural Language :: English
|
|
16
16
|
Classifier: Programming Language :: Python
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
21
|
Description-Content-Type: text/x-rst
|
|
22
22
|
License-File: LICENSE.txt
|
|
23
23
|
License-File: NOTICE.txt
|
|
24
|
-
Requires-Dist: pyyaml
|
|
25
|
-
Requires-Dist: Jinja2
|
|
26
|
-
Requires-Dist: stevedore
|
|
27
24
|
Requires-Dist: python-slugify
|
|
25
|
+
Requires-Dist: stevedore
|
|
26
|
+
Requires-Dist: pyyaml
|
|
28
27
|
Requires-Dist: click
|
|
28
|
+
Requires-Dist: Jinja2
|
|
29
29
|
Provides-Extra: django
|
|
30
|
-
Requires-Dist: Django
|
|
30
|
+
Requires-Dist: Django>=4.2; extra == "django"
|
|
31
31
|
|
|
32
32
|
code-annotations
|
|
33
33
|
=============================
|
|
@@ -129,6 +129,17 @@ 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
|
+
|
|
137
|
+
[2.0.0] - 2024-10-18
|
|
138
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
139
|
+
|
|
140
|
+
* Drop support for python 3.8
|
|
141
|
+
* Adds support for python 3.11 & 3.12
|
|
142
|
+
|
|
132
143
|
[1.8.1] - 2024-07-11
|
|
133
144
|
~~~~~~~~~~~~~~~~~~~~
|
|
134
145
|
|
|
@@ -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: 1.
|
|
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
|
|
@@ -15,19 +15,19 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Classifier: Natural Language :: English
|
|
16
16
|
Classifier: Programming Language :: Python
|
|
17
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
21
|
Description-Content-Type: text/x-rst
|
|
22
22
|
License-File: LICENSE.txt
|
|
23
23
|
License-File: NOTICE.txt
|
|
24
|
-
Requires-Dist: pyyaml
|
|
25
|
-
Requires-Dist: Jinja2
|
|
26
|
-
Requires-Dist: stevedore
|
|
27
24
|
Requires-Dist: python-slugify
|
|
25
|
+
Requires-Dist: stevedore
|
|
26
|
+
Requires-Dist: pyyaml
|
|
28
27
|
Requires-Dist: click
|
|
28
|
+
Requires-Dist: Jinja2
|
|
29
29
|
Provides-Extra: django
|
|
30
|
-
Requires-Dist: Django
|
|
30
|
+
Requires-Dist: Django>=4.2; extra == "django"
|
|
31
31
|
|
|
32
32
|
code-annotations
|
|
33
33
|
=============================
|
|
@@ -129,6 +129,17 @@ 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
|
+
|
|
137
|
+
[2.0.0] - 2024-10-18
|
|
138
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
139
|
+
|
|
140
|
+
* Drop support for python 3.8
|
|
141
|
+
* Adds support for python 3.11 & 3.12
|
|
142
|
+
|
|
132
143
|
[1.8.1] - 2024-07-11
|
|
133
144
|
~~~~~~~~~~~~~~~~~~~~
|
|
134
145
|
|
|
@@ -90,10 +90,11 @@ setup(
|
|
|
90
90
|
},
|
|
91
91
|
include_package_data=True,
|
|
92
92
|
install_requires=load_requirements('requirements/base.in'),
|
|
93
|
-
extras_require={"django": ["Django>=
|
|
93
|
+
extras_require={"django": ["Django>=4.2"]},
|
|
94
94
|
license="Apache Software License 2.0",
|
|
95
95
|
zip_safe=False,
|
|
96
96
|
keywords='edx pii code annotations',
|
|
97
|
+
python_requires=">=3.11",
|
|
97
98
|
classifiers=[
|
|
98
99
|
'Development Status :: 3 - Alpha',
|
|
99
100
|
'Framework :: Django',
|
|
@@ -103,7 +104,6 @@ setup(
|
|
|
103
104
|
'Natural Language :: English',
|
|
104
105
|
'Programming Language :: Python',
|
|
105
106
|
'Programming Language :: Python :: 3',
|
|
106
|
-
'Programming Language :: Python :: 3.8',
|
|
107
107
|
'Programming Language :: Python :: 3.11',
|
|
108
108
|
'Programming Language :: Python :: 3.12',
|
|
109
109
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code-annotations-1.8.2 → 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-1.8.2 → 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-1.8.2 → code_annotations-2.1.0}/code_annotations.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{code-annotations-1.8.2 → 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
|