Extensible tools for parsing annotations in codebases
|pypi-badge| |CI| |codecov-badge| |doc-badge| |pyversions-badge| |license-badge|
Extensible tools for parsing annotations in codebases
This package provides configurable and extensible tools for parsing and summarizing annotations in a wide range of codebases. Originally intended for annotating code which stores personally identifiable information (PII), these tools are optimized for that use case but can be generalized for other types of annotations.
Additionally, a logically separate part of this repository will contain specific annotation configurations and supporting tools, such as Sphinx extensions for documenting specific annotation types. See the contrib
folder.
The full documentation is at https://code-annotations.readthedocs.org.
The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.
Please see LICENSE.txt
for details.
Contributions are very welcome.
Please read How To Contribute <https://github.com/openedx/.github/blob/master/CONTRIBUTING.md>
_ for details.
PR description template should be automatically applied if you are sending PR from github interface; otherwise you
can find it it at PULL_REQUEST_TEMPLATE.md <https://github.com/openedx/code-annotations/blob/master/.github/PULL_REQUEST_TEMPLATE.md>
_
Issue report template should be automatically applied if you are sending it from github UI as well; otherwise you
can find it at ISSUE_TEMPLATE.md <https://github.com/openedx/code-annotations/blob/master/.github/ISSUE_TEMPLATE.md>
_
Please do not report security issues in public. Please email security@edx.org.
Have a question about this repository, or about Open edX in general? Please
refer to this list of resources
_ if you need any assistance.
.. _list of resources: https://open.edx.org/getting-help
.. |pypi-badge| image:: https://img.shields.io/pypi/v/code-annotations.svg :target: https://pypi.python.org/pypi/code-annotations/ :alt: PyPI
.. |CI| image:: https://github.com/openedx/code-annotations/workflows/Python%20CI/badge.svg?branch=master :target: https://github.com/openedx/code-annotations/actions?query=workflow%3A%22Python+CI%22 :alt: CI
.. |codecov-badge| image:: http://codecov.io/github/edx/code-annotations/coverage.svg?branch=master :target: http://codecov.io/github/edx/code-annotations?branch=master :alt: Codecov
.. |doc-badge| image:: https://readthedocs.org/projects/code-annotations/badge/?version=latest :target: http://code-annotations.readthedocs.io/en/latest/ :alt: Documentation
.. |pyversions-badge| image:: https://img.shields.io/pypi/pyversions/code-annotations.svg :target: https://pypi.python.org/pypi/code-annotations/ :alt: Supported Python versions
.. |license-badge| image:: https://img.shields.io/github/license/edx/code-annotations.svg :target: https://github.com/openedx/code-annotations/blob/master/LICENSE.txt :alt: License
.. All enhancements and patches to code_annotations will be documented in this file. It adheres to the structure of http://keepachangelog.com/ , but in reStructuredText instead of Markdown (for ease of incorporation into Sphinx documentation and the PyPI description).
This project adheres to Semantic Versioning (http://semver.org/).
.. There should always be an "Unreleased" section for changes pending release.
Unreleased
[1.5.0] - 2023-07-21
edx-sphinx-theme
to sphinx-book-theme
since the former is
deprecated[1.4.0] - 2022-05-23
* Rename toggle_warnings to toggle_warning for consistency with setting_warning.
[1.3.0] - 2022-02-07
[1.2.0] - 2021-07-26
* Added Django 3.0, 3.1 & 3.2 Support
[1.1.2] - 2021-05-21
[1.1.1] - 2021-03-30
* Internal refactoring of the sphinx utilities and the report generation code
[1.1.0] - 2021-01-28
[1.0.2] - 2021-01-22
* Make setting_warning annotation optional.
[1.0.1] - 2021-01-22
[1.0.0] - 2021-01-21
* BREAKING CHANGE: Improvement of some error messages
* BREAKING CHANGE: Refactor linting in a way that breaks backward compatibility of certain edge cases
* Implement optional annotation fields
[0.10.3] - 2020-12-15
[0.10.1] - 2020-11-09
* Fix Github links generated by the sphinx extension for settings.
[0.10.0] - 2020-10-12
[0.9.0] - 2020-09-25
* Get rid of the ``documented_elsewhere`` annotation, which is used nowhere
[0.8.0] - 2020-09-10
settings
Sphinx extension with setting annotation configuration file[0.7.0] - 2020-09-07
* Simplify the feature toggle annotation format
[0.6.0] - 2020-08-27
[0.5.1] - 2020-08-25
* Add support for warnings in the ``featuretoggles`` Sphinx extension
[0.5.0] - 2020-08-06
featuretoggles
Sphinx extensioncontrib
folder in pip-installable package[0.4.0] - 2020-07-22
* Add support for multi-line code annotations
[0.3.4] - 2020-05-06
[0.3.2] - 2019-06-21
Added
_____
* Add RST anchors throughout annotation report docs
[0.3.1] - 2019-03-20
Added
[0.1.0] - 2018-11-16
Added
_____
* First release on PyPI.