mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 01:48:51 -06:00
Add types to remaining files; activate mypy's disallow_untyped_defs
This commit is contained in:
@@ -10,7 +10,7 @@ from miplearn.classifiers.counting import CountingClassifier
|
||||
E = 0.1
|
||||
|
||||
|
||||
def test_counting():
|
||||
def test_counting() -> None:
|
||||
clf = CountingClassifier()
|
||||
n_features = 25
|
||||
x_train = np.zeros((8, n_features))
|
||||
|
||||
Reference in New Issue
Block a user