Skip to content

Commit 0ae1fb2

Browse files
tox publish fix (#862)
1 parent ebe1e26 commit 0ae1fb2

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

section-05-production-model-package/regression_model/pipeline.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
from feature_engine.encoding import OrdinalEncoder, RareLabelEncoder
2-
from feature_engine.imputation import (
3-
AddMissingIndicator,
4-
CategoricalImputer,
5-
MeanMedianImputer,
6-
)
2+
from feature_engine.imputation import AddMissingIndicator, CategoricalImputer, MeanMedianImputer
73
from feature_engine.selection import DropFeatures
84
from feature_engine.transformation import LogTransformer
95
from feature_engine.wrappers import SklearnTransformerWrapper

section-05-production-model-package/tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ deps =
4747
commands =
4848
flake8 regression_model tests
4949
isort regression_model tests
50-
black regression_model tests
5150
{posargs:mypy regression_model}
5251

5352

section-07-ci-and-publishing/model-package/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ commands=
6767

6868
[testenv:publish_model]
6969
envdir = {toxworkdir}/test_package
70-
whitelist_externals = python
70+
allowlist_externals = *
7171
deps =
7272
{[testenv:test_package]deps}
7373

0 commit comments

Comments
 (0)