Skip to content

Commit

Permalink
Tabbing corrections. Ridding of commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
jwestw committed Jan 23, 2024
1 parent 497d78c commit 90266a3
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions .github/workflows/mypy_type_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,27 @@ on:
# branches:
# - develop
push:
branches:
- mypy_action
branches: ["mypy_action"]

# runs on version 20.04 of ubuntu
jobs:
pytest-coverage-comment:
mypy_type_test:
runs-on: ubuntu-20.04
name: Mypy
steps:

# 1) Checkout the code
- uses: actions/checkout@v3
# 2) Removing PyDoop from the requirements.txt
- name: Remove pydoop requirements.txt
shell: bash -l {0}
run: |
awk '!/pydoop.*/' requirements.txt> temp && mv temp requirements.txt
# 3) Set up Python
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'

# # 4) Install dependencies from requirements.txt
# - name: Install dependencies
# run: pip install -r requirements.txt
- uses: actions/checkout@v3
# 2) Set up Python
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'

# 5) Install Mypy
- name: Install Mypy
run: pip install mypy
- name: Run Mypy
run: |
mypy --python-version 3.8 .
# 3) Install Mypy
- name: Install Mypy
run: pip install mypy
# 4) Run Mypy
- name: Run Mypy
run: |
mypy --python-version 3.8 .

0 comments on commit 90266a3

Please sign in to comment.