Skip to content

Commit

Permalink
#2514 Enforcing version control
Browse files Browse the repository at this point in the history
  • Loading branch information
sambodeme committed Oct 31, 2023
1 parent 0bb0bf1 commit 479cc3e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions backend/audit/intakelib/checks/check_version_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@

logger = logging.getLogger(__name__)

AUTHORIZED_VERSIONS = {"1.0.0", "1.0.1", "1.0.2"}
AUTHORIZED_VERSIONS = {"1.0.0", "1.0.1", "1.0.2", "1.0.3"}


# DESCRIPTION
# This is intended to be a check for the version number of the workbook.
# This checks if the uploaded workbook version is valid.
def validate_workbook_version(ir):
# FIXME: This is a no-op for now. Remove below pass when ready to enforce version check.
pass

version_range = get_range_by_name(ir, "version")
errors = []
for index, version in enumerate(version_range["values"]):
Expand Down

0 comments on commit 479cc3e

Please sign in to comment.