From 2827c09958aa6778e4499d34f5949d6f5677f2c6 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Jun 2024 11:33:07 +0800 Subject: refactor: hrc.rules - > hrc.rule --- hrc/rules/__init__.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 hrc/rules/__init__.py (limited to 'hrc/rules/__init__.py') diff --git a/hrc/rules/__init__.py b/hrc/rules/__init__.py deleted file mode 100644 index ff1c230..0000000 --- a/hrc/rules/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -import functools -from typing import Generic, Any, Type - -from abc import ABC - -from . import BaseRule -from ..typing import RulesT - - -class Rules(ABC, Generic[RulesT]): - ... - - -def aliases(names, ignore_case=False): - def decorator(func): - func._aliases = names - func._ignore_case = ignore_case - return func - return decorator -- cgit v1.2.3-70-g09d2