All public logs

Jump to navigation Jump to search

Combined display of all available logs of Open Source Ecology. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 02:26, 11 March 2026 Marcin talk contribs created page Validate syntax.py (Created page with "#!/usr/bin/env python3 import sys from pathlib import Path from typing import Any import yaml def load_yaml(path: Path) -> Any: with path.open("r", encoding="utf-8") as f: return yaml.safe_load(f) def is_number(value: Any) -> bool: return isinstance(value, (int, float)) and not isinstance(value, bool) def validate_enum(instance_name: str, field_name: str, value: Any, allowed: list[Any], errors: list[str]) -> None: if value not in allowed:...")