mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 13:56:44 +00:00
Split main.py into modules to (mostly) isolate the GitHub-specific code from the general TODO detection and program logic. This is both for readability/maintainability and to prepare for potentially supporting other version control systems (e.g. GitLab, BitBucket).
9 lines
154 B
Python
9 lines
154 B
Python
from enum import Enum
|
|
|
|
class LineStatus(Enum):
|
|
"""Represents the status of a line in a diff file."""
|
|
ADDED = 0
|
|
DELETED = 1
|
|
UNCHANGED = 2
|
|
|