Skip to content

Commit 97de728

Browse files
committed
♻️ Modularize code to reduce line count per module.
1 parent d21c13c commit 97de728

File tree

6 files changed

+690
-672
lines changed

6 files changed

+690
-672
lines changed

pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ indent-string=' '
336336
max-line-length=100
337337

338338
# Maximum number of lines in a module.
339-
max-module-lines=1500
339+
max-module-lines=1000
340340

341341
# Allow the body of a class to be on the same line as the declaration if body
342342
# contains single statement.

zcollection/__init__.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@
77
===================================
88
"""
99
from . import merging, partitioning
10-
from .collection import (
11-
Collection,
12-
Indexer,
13-
PartitionFilter,
14-
PartitionFilterCallback,
15-
)
10+
from .collection import Collection
11+
from .collection.abc import Indexer, PartitionFilter, PartitionFilterCallback
1612
from .collection.callable_objects import (
1713
MapCallable,
1814
PartitionCallable,

0 commit comments

Comments
 (0)