-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#730) * chore(pre-commit): ignore missing imports in my check * chore(pre-commit): add conventional commit check * chore: add new custom types in `skll.types` * chore: improve type hints in `config/__init__.py` - Use new `ClassMap` custom type. - Make sure `pos_label` is typed correctly. - Fix incorrect default value for sampler parameters. * chore: add type hints to `skll.data` module - Refactor code to ensure correct types. - Add a lot of checks for labels, features, vectorizer being ``None`` that was previously handled. - Update docstrings to use the type hints. * chore: Update test_featureset.py - Add new tests for merging featuresets. - Tweak tests that were using `StringIO` to use actual files.
- Loading branch information
1 parent
d7f0eb2
commit 9f26caf
Showing
7 changed files
with
751 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.