Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add isort workflow #1538

Merged
merged 28 commits into from
May 30, 2022
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8713291
add isort workflow
May 3, 2022
c741cd1
add isort to lint-code workflow
May 5, 2022
153c0e0
run isort
mirpedrol May 17, 2022
89f4f95
merge dev branch
mirpedrol May 17, 2022
281e550
run isort
mirpedrol May 17, 2022
4a05501
fix isort with black
mirpedrol May 17, 2022
a8bebd8
apply review comments, move configuration to pyproject.toml
mirpedrol May 19, 2022
8fb94cf
add isort to CHANGELOG
mirpedrol May 19, 2022
d3f8099
add linting section to CHANGELOG
mirpedrol May 19, 2022
2083c38
add multi_line_output
mirpedrol May 20, 2022
bfade7f
run isort with multi_line_output
mirpedrol May 20, 2022
7733200
try to fix linting error
mirpedrol May 20, 2022
f733919
remove unnecessary requirements.txt installation
mirpedrol May 20, 2022
608bd08
add isort to fix-linting.yml
mirpedrol May 20, 2022
64c58ef
fix isort from fix-linting
mirpedrol May 20, 2022
5321c35
remove unnecessary configuration
mirpedrol May 23, 2022
e5f5375
remove configuration from fix-linting
mirpedrol May 24, 2022
f2459b8
Merge branch 'dev' into isort
ewels May 24, 2022
f82ea0a
fix linting
mirpedrol May 24, 2022
83e4c66
Remove isort installation from workflow
mirpedrol May 24, 2022
f3d0b17
add isort to requirements-dev.txt
mirpedrol May 24, 2022
1b6a49b
remove isort installation from fix-linting.yml
mirpedrol May 24, 2022
3f6a7e2
add isort documentation to CONTRIBUTING.md
mirpedrol May 25, 2022
abf0796
fix docs type
mirpedrol May 25, 2022
fb36840
Add isort badge
fabianegli May 25, 2022
d487e35
remove effect description
mirpedrol May 25, 2022
7fa3baa
Merge branch 'dev' into isort
fabianegli May 25, 2022
b655e6b
Merge branch 'dev' into isort
fabianegli May 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/isort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run isort
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out source-code repository
uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install python dependencies
run: |
python -m pip install --upgrade pip -r requirements-dev.txt
pip install -e .

- name: Install isort
run: pip install isort

- uses: jamescurtin/isort-action@master
with:
configuration: "--profile black"
requirementsFiles: "requirements.txt requirements-dev.txt"