style: add support for isort and --fix

This commit is contained in:
Danny McClanahan
2021-06-01 11:30:41 -07:00
committed by Todd Gamblin
parent f5c1ae32d1
commit 7a9fe189e1
3 changed files with 68 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ jobs:
python-version: 3.9
- name: Install Python packages
run: |
pip install --upgrade pip six setuptools flake8 flake8-import-order mypy>=0.800 black types-six types-python-dateutil
pip install --upgrade pip six setuptools flake8 flake8-import-order isort mypy>=0.800 black types-six types-python-dateutil
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
@@ -370,7 +370,7 @@ jobs:
run: |
pip install --upgrade pip six setuptools
pip install --upgrade codecov coverage
pip install --upgrade flake8 flake8-import-order pep8-naming mypy
pip install --upgrade flake8 flake8-import-order isort pep8-naming mypy
pip install --upgrade python-dateutil
- name: Setup Homebrew packages
run: |