Skip to content

Commit 24299c6

Browse files
amogorkondependabot[bot]
and
dependabot[bot]
committed
chore: Update Domain class initialization arguments
The `Domain` class in `fuzzylogic/classes.py` has been updated to use more descriptive argument names for `low`, `high`, `res`, and `sets`. This change improves the clarity and readability of the code. Note: The argument types have been updated to allow both `float` and `int` values. Co-authored-by: dependabot[bot] <[email protected]>
1 parent c7cd635 commit 24299c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fuzzylogic/classes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ class Domain:
5555
def __init__(
5656
self,
5757
name: str,
58-
low: float,
59-
high: float,
60-
res: float | int = 1,
61-
sets: dict | None = None,
58+
low: float|int,
59+
high: float|int,
60+
res: float|int = 1,
61+
sets: dict|None = None,
6262
) -> None:
6363
"""Define a domain."""
6464
assert low < high, "higher bound must be greater than lower."

0 commit comments

Comments
 (0)