code-annotations 1.7.0__tar.gz → 1.8.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.
Files changed (47) hide show
  1. {code-annotations-1.7.0 → code-annotations-1.8.0}/CHANGELOG.rst +6 -0
  2. {code-annotations-1.7.0 → code-annotations-1.8.0}/PKG-INFO +11 -4
  3. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/__init__.py +1 -1
  4. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/cli.py +3 -3
  5. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/sphinx/extensions/featuretoggles.py +1 -1
  6. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/PKG-INFO +11 -4
  7. {code-annotations-1.7.0 → code-annotations-1.8.0}/setup.py +2 -1
  8. {code-annotations-1.7.0 → code-annotations-1.8.0}/LICENSE.txt +0 -0
  9. {code-annotations-1.7.0 → code-annotations-1.8.0}/MANIFEST.in +0 -0
  10. {code-annotations-1.7.0 → code-annotations-1.8.0}/NOTICE.txt +0 -0
  11. {code-annotations-1.7.0 → code-annotations-1.8.0}/README.rst +0 -0
  12. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/annotation_errors.py +0 -0
  13. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/base.py +0 -0
  14. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/config/__init__.py +0 -0
  15. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/config/feature_toggle_annotations.yaml +0 -0
  16. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/config/openedx_events_annotations.yaml +0 -0
  17. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/config/setting_annotations.yaml +0 -0
  18. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/sphinx/extensions/__init__.py +0 -0
  19. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/sphinx/extensions/base.py +0 -0
  20. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/sphinx/extensions/openedx_events.py +0 -0
  21. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/contrib/sphinx/extensions/settings.py +0 -0
  22. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/exceptions.py +0 -0
  23. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/extensions/__init__.py +0 -0
  24. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/extensions/base.py +0 -0
  25. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/extensions/javascript.py +0 -0
  26. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/extensions/python.py +0 -0
  27. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/find_django.py +0 -0
  28. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/find_static.py +0 -0
  29. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/generate_docs.py +0 -0
  30. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations/helpers.py +0 -0
  31. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/SOURCES.txt +0 -0
  32. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/dependency_links.txt +0 -0
  33. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/entry_points.txt +0 -0
  34. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/not-zip-safe +0 -0
  35. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/requires.txt +2 -2
  36. {code-annotations-1.7.0 → code-annotations-1.8.0}/code_annotations.egg-info/top_level.txt +0 -0
  37. {code-annotations-1.7.0 → code-annotations-1.8.0}/requirements/base.in +0 -0
  38. {code-annotations-1.7.0 → code-annotations-1.8.0}/setup.cfg +0 -0
  39. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_base.py +0 -0
  40. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_django_coverage.py +0 -0
  41. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_django_generate_safelist.py +0 -0
  42. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_django_list_local_models.py +0 -0
  43. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_find_django.py +0 -0
  44. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_find_static.py +0 -0
  45. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_generate_docs.py +0 -0
  46. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_search.py +0 -0
  47. {code-annotations-1.7.0 → code-annotations-1.8.0}/tests/test_sphinx.py +0 -0
@@ -14,6 +14,12 @@ Change Log
14
14
  Unreleased
15
15
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16
16
 
17
+ [1.8.0] - 2024-03-31
18
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
+
20
+ * Added python3.11 and 3.12 support. Dropped django32 support.
21
+
22
+
17
23
  [1.6.0] - 2024-01-31
18
24
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-annotations
3
- Version: 1.7.0
3
+ Version: 1.8.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
@@ -9,7 +9,6 @@ License: Apache Software License 2.0
9
9
  Keywords: edx pii code annotations
10
10
  Classifier: Development Status :: 3 - Alpha
11
11
  Classifier: Framework :: Django
12
- Classifier: Framework :: Django :: 3.2
13
12
  Classifier: Framework :: Django :: 4.2
14
13
  Classifier: Intended Audience :: Developers
15
14
  Classifier: License :: OSI Approved :: Apache Software License
@@ -17,13 +16,15 @@ Classifier: Natural Language :: English
17
16
  Classifier: Programming Language :: Python
18
17
  Classifier: Programming Language :: Python :: 3
19
18
  Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
20
21
  Description-Content-Type: text/x-rst
21
22
  License-File: LICENSE.txt
22
23
  License-File: NOTICE.txt
23
- Requires-Dist: python-slugify
24
- Requires-Dist: click
25
24
  Requires-Dist: pyyaml
26
25
  Requires-Dist: stevedore
26
+ Requires-Dist: python-slugify
27
+ Requires-Dist: click
27
28
  Requires-Dist: Jinja2
28
29
  Provides-Extra: django
29
30
  Requires-Dist: Django<2.3,>=2.2; extra == "django"
@@ -128,6 +129,12 @@ Change Log
128
129
  Unreleased
129
130
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130
131
 
132
+ [1.8.0] - 2024-03-31
133
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
+
135
+ * Added python3.11 and 3.12 support. Dropped django32 support.
136
+
137
+
131
138
  [1.6.0] - 2024-01-31
132
139
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133
140
 
@@ -2,4 +2,4 @@
2
2
  Extensible tools for parsing annotations in codebases.
3
3
  """
4
4
 
5
- __version__ = '1.7.0'
5
+ __version__ = '1.8.0'
@@ -111,7 +111,7 @@ def django_find_annotations(
111
111
  annotation_count, elapsed.total_seconds()
112
112
  ))
113
113
 
114
- except Exception as exc: # pylint: disable=broad-except
114
+ except Exception as exc:
115
115
  click.echo(traceback.print_exc())
116
116
  fail(str(exc))
117
117
 
@@ -169,7 +169,7 @@ def static_find_annotations(config_file, source_path, report_path, verbosity, li
169
169
 
170
170
  click.echo(f"Search found {annotation_count} annotations in {elapsed}.")
171
171
 
172
- except Exception as exc: # pylint: disable=broad-except
172
+ except Exception as exc:
173
173
  click.echo(traceback.print_exc())
174
174
  fail(str(exc))
175
175
 
@@ -212,6 +212,6 @@ def generate_docs(
212
212
 
213
213
  elapsed = datetime.datetime.now() - start_time
214
214
  click.echo(f"Report rendered in {elapsed.total_seconds()} seconds.")
215
- except Exception as exc: # pylint: disable=broad-except
215
+ except Exception as exc:
216
216
  click.echo(traceback.print_exc())
217
217
  fail(str(exc))
@@ -111,7 +111,7 @@ class FeatureToggles(SphinxDirective):
111
111
  for opt in optional_attrs:
112
112
  if toggle.get(f".. toggle_{opt}:") not in (None, "None", "n/a", "N/A"):
113
113
  toggle_section += nodes.paragraph(
114
- text=f'{opt.title().replace("_"," ")}: {toggle[f".. toggle_{opt}:"]}',
114
+ text=f'{opt.title().replace("_", " ")}: {toggle[f".. toggle_{opt}:"]}',
115
115
  ids=[f"{opt}-{toggle_name}"],
116
116
  )
117
117
  yield toggle_section
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-annotations
3
- Version: 1.7.0
3
+ Version: 1.8.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
@@ -9,7 +9,6 @@ License: Apache Software License 2.0
9
9
  Keywords: edx pii code annotations
10
10
  Classifier: Development Status :: 3 - Alpha
11
11
  Classifier: Framework :: Django
12
- Classifier: Framework :: Django :: 3.2
13
12
  Classifier: Framework :: Django :: 4.2
14
13
  Classifier: Intended Audience :: Developers
15
14
  Classifier: License :: OSI Approved :: Apache Software License
@@ -17,13 +16,15 @@ Classifier: Natural Language :: English
17
16
  Classifier: Programming Language :: Python
18
17
  Classifier: Programming Language :: Python :: 3
19
18
  Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
20
21
  Description-Content-Type: text/x-rst
21
22
  License-File: LICENSE.txt
22
23
  License-File: NOTICE.txt
23
- Requires-Dist: python-slugify
24
- Requires-Dist: click
25
24
  Requires-Dist: pyyaml
26
25
  Requires-Dist: stevedore
26
+ Requires-Dist: python-slugify
27
+ Requires-Dist: click
27
28
  Requires-Dist: Jinja2
28
29
  Provides-Extra: django
29
30
  Requires-Dist: Django<2.3,>=2.2; extra == "django"
@@ -128,6 +129,12 @@ Change Log
128
129
  Unreleased
129
130
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
130
131
 
132
+ [1.8.0] - 2024-03-31
133
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
+
135
+ * Added python3.11 and 3.12 support. Dropped django32 support.
136
+
137
+
131
138
  [1.6.0] - 2024-01-31
132
139
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133
140
 
@@ -97,7 +97,6 @@ setup(
97
97
  classifiers=[
98
98
  'Development Status :: 3 - Alpha',
99
99
  'Framework :: Django',
100
- 'Framework :: Django :: 3.2',
101
100
  'Framework :: Django :: 4.2',
102
101
  'Intended Audience :: Developers',
103
102
  'License :: OSI Approved :: Apache Software License',
@@ -105,5 +104,7 @@ setup(
105
104
  'Programming Language :: Python',
106
105
  'Programming Language :: Python :: 3',
107
106
  'Programming Language :: Python :: 3.8',
107
+ 'Programming Language :: Python :: 3.11',
108
+ 'Programming Language :: Python :: 3.12',
108
109
  ],
109
110
  )
@@ -1,7 +1,7 @@
1
- python-slugify
2
- click
3
1
  pyyaml
4
2
  stevedore
3
+ python-slugify
4
+ click
5
5
  Jinja2
6
6
 
7
7
  [django]