sage.utils.review

Filename = review.py Description = Code review for Sage

Created on 19/07/2024 at 11:07:25

__author__ = Narenraju Nagarajan __copyright__ = Copyright 2024, Sage __credits__ = nnarenraju __license__ = MIT Licence __version__ = 0.0.1 __maintainer__ = nnarenraju __affiliation__ = University of Glasgow __email__ = nnarenraju@gmail.com __status__ = inUsage

Github Repository: NULL

Documentation: NULL

Functions

get_sage_abspath()

Return the absolute path of the Sage repository root via git rev-parse.

set_review_date(parent_name, module_name, last_review_date)

Record the last code-review date for a module in the review JSON log.

Module Contents

get_sage_abspath()[source]

Return the absolute path of the Sage repository root via git rev-parse.

set_review_date(parent_name, module_name, last_review_date)[source]

Record the last code-review date for a module in the review JSON log.

Parameters:
  • parent_name (str) – Top-level module group (e.g. "data").

  • module_name (str) – Specific module being reviewed (e.g. "real_noise").

  • last_review_date (str or datetime) – ISO-format date string or datetime object for the review date.