Skip to content

Commit 670c289

Browse files
author
Igor Rukhovich
committed
small fixes of env
1 parent 7e780bb commit 670c289

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
- script: |
77
conda update -y -q conda
88
export FORCE_DAAL4PY_SKLEARN=yes
9-
conda create -q -y -n bench -c conda-forge python=3.7 pandas scikit-learn daal4py
9+
conda create -q -y -n bench -c conda-forge python=3.7 pandas scikit-learn daal4py tqdm
1010
displayName: Create Anaconda environment
1111
- script: |
1212
. /usr/share/miniconda/etc/profile.d/conda.sh
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- script: |
2121
conda update -y -q conda
22-
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn
22+
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn tqdm
2323
displayName: Create Anaconda environment
2424
- script: |
2525
. /usr/share/miniconda/etc/profile.d/conda.sh
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- script: |
3434
conda update -y -q conda
35-
conda create -n bench -q -y -c conda-forge python=3.7 pandas scikit-learn daal4py
35+
conda create -n bench -q -y -c conda-forge python=3.7 pandas scikit-learn daal4py tqdm
3636
displayName: Create Anaconda environment
3737
- script: |
3838
. /usr/share/miniconda/etc/profile.d/conda.sh
@@ -45,7 +45,7 @@ jobs:
4545
steps:
4646
- script: |
4747
conda update -y -q conda
48-
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn daal4py
48+
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn daal4py tqdm
4949
displayName: Create Anaconda environment
5050
- script: |
5151
. /usr/share/miniconda/etc/profile.d/conda.sh
@@ -63,7 +63,7 @@ jobs:
6363
- script: |
6464
python -m pip install --upgrade pip setuptools
6565
pip install flake8
66-
flake8 --max-line-length=90 --count
66+
flake8 --max-line-length=100 --count
6767
displayName: 'PEP 8 check'
6868
- job: Mypy
6969
pool:

datasets/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _read_libsvm_msrank(file_obj, n_samples, n_features, dtype):
5858

5959
for line in file_obj:
6060
line = str(line).replace("\\n'", "")
61-
line = regexp.sub('\g<1>', line)
61+
line = regexp.sub(r'\g<1>', line)
6262
line = line.rstrip(" \n\r").split(' ')
6363

6464
y[counter] = int(line[0])

0 commit comments

Comments
 (0)