Skip to content

Commit

Permalink
Updated black command in yaml file to fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
bnarasimha committed Jan 27, 2024
1 parent 25a2837 commit e836d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if [ -f requirements/requirements.txt ]; then pip install -r requirements/requirements.txt; fi
- name: Code formatting with black
run: |
black *.py
black bikeshare_model/*.py
- name: Lint with pylint
run: |
pylint --disable=R,C bikeshare_model/
Expand Down
2 changes: 1 addition & 1 deletion bikeshare_model/train_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run_training() -> None:

# Pipeline fitting
bikeshare_pipe.fit(X_train, y_train)

# persist trained model
save_pipeline(pipeline_to_persist=bikeshare_pipe)

Expand Down

0 comments on commit e836d17

Please sign in to comment.