Skip to content

Commit

Permalink
Add isort GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
fsschneider committed Jan 21, 2022
1 parent e12d292 commit c0a6a05
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,20 @@ jobs:
pip install pylint
- name: Run pylint
run: |
pylint algorithmic_efficiency
pylint algorithmic_efficiency
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install isort
run: |
python -m pip install --upgrade pip
pip install isort
- name: Run isort
run: |
isort . --check
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Setup file for algorithmic_efficiency, use setup.cfg for configuration."""

from setuptools import setup

if __name__ == "__main__":
Expand Down

0 comments on commit c0a6a05

Please sign in to comment.