validate_workflow.cpython-312.pyc•13.8 kB
�
��h�) � �6 � d Z ddlZddlZddlZddlZddlZddlZddlmZm Z m
Z
mZ G d� d� Zde
ddfd�Zde
ddfd �Zde
ddfd
�Zde
ddfd�Zde e
dee
ef fd
�Zdefd�Zde
defd�Zde
defd�Zdefd�Zedk( r ej4 e� � yy)aM
Attio MCP Workflow Validator
This script validates adherence to Attio MCP workflow requirements by checking:
1. Git commit message format and issue references
2. Branch naming conventions
3. Verification of test execution
4. Documentation requirements
Usage:
./build/validate_workflow.py [--pre-commit] [--issue-close ISSUE_ID]
� N)�Dict�List�Optional�Tuplec �( � e Zd ZdZdZdZdZdZdZdZ y) �Colorz%Terminal colors for formatted output.z[91mz[92mz[93mz[94mz[1mz[0mN)
�__name__�
__module__�__qualname__�__doc__�RED�GREEN�YELLOW�BLUE�BOLD�END� � �L/Users/kesslerio/GDrive/Projects/attio-mcp-server/build/validate_workflow.pyr r s# � �/�
�C��E�
�F��D��D�
�Cr r �message�returnc � � t t j � t j � dt j � d| � �� y)zPrint error message in red.zERROR:� N)�printr r
r r �r s r �print_errorr "