mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
Merge branch 'add-tealtiger-guardrail' of https://github.com/AlphaRex-pixel/litellm into add-tealtiger-guardrail
# Conflicts: # ci_cd/run_migration.py # scripts/budget_ratchet_check.py
This commit is contained in:
commit
0bc8174086
2 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import subprocess
|
|||
import sys
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
import testing.postgresql
|
||||
from typing import Final
|
||||
|
||||
DESTRUCTIVE_PATTERN = re.compile(r"\bDROP\s+(COLUMN|TABLE|INDEX)\b", re.IGNORECASE)
|
||||
|
|
|
|||
|
|
@ -36,11 +36,13 @@ from pathlib import Path
|
|||
from types import MappingProxyType
|
||||
from typing import Final, NamedTuple
|
||||
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
import tomllib
|
||||
else:
|
||||
import tomli as tomllib
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
DEFAULT_BUDGETS: tuple[str, ...] = (
|
||||
"ruff-strict-budget.json",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue