Skip to content

Commit

Permalink
use devcontainer requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrian Harjati committed Aug 22, 2023
1 parent 1f26fcd commit e72acbc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kedro==0.18.7
kedro==0.18.12
black==23.3.0
ruff==0.0.259
pandas==1.5.3
pandera==0.14.5
ipykernel
openpyxl
pytest
ipykernel==6.25.1
openpyxl==3.1.2
pytest==7.4.0
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install ruff pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f .devcontainer/requirements.txt ]; then pip install -r .devcontainer/requirements.txt; fi
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
ruff --format=github --select=E9,F63,F7,F82 --target-version=py311 .
# default set of ruff rules with GitHub Annotations
ruff --format=github --target-version=py37 .
ruff --format=github --target-version=py311 .
- name: Test with pytest
run: |
pytest
6 changes: 0 additions & 6 deletions .github/workflows/requirements.txt

This file was deleted.

8 changes: 0 additions & 8 deletions requirements.txt

This file was deleted.

0 comments on commit e72acbc

Please sign in to comment.