diff options
| author | 2024-06-28 11:33:07 +0800 | |
|---|---|---|
| committer | 2024-06-28 11:33:07 +0800 | |
| commit | 2827c09958aa6778e4499d34f5949d6f5677f2c6 (patch) | |
| tree | f24a313500def2e24ebba91ec5ab41a99ff2f35d /hrc/rules/__init__.py | |
| parent | 0f74df0e709672118f06cec1c6fdd02ccfa31e63 (diff) | |
| download | HydroRollCore-2827c09958aa6778e4499d34f5949d6f5677f2c6.tar.gz HydroRollCore-2827c09958aa6778e4499d34f5949d6f5677f2c6.zip | |
refactor: hrc.rules - > hrc.rule
Diffstat (limited to 'hrc/rules/__init__.py')
| -rw-r--r-- | hrc/rules/__init__.py | 19 |
1 files changed, 0 insertions, 19 deletions
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 |
