Skip to content

Commit 262ddbe

Browse files
committed
reformatted code using black, isort + CI
1 parent 763fd35 commit 262ddbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1975
-1516
lines changed

.github/workflows/lint.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: lint
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- refactor
8+
pull_request:
9+
branches:
10+
- master
11+
- refactor
12+
13+
jobs:
14+
sort-imports:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: '3.x'
22+
- name: Install isort and black
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install isort black
26+
- name: Run isort and black
27+
run: |
28+
isort .
29+
black .

0 commit comments

Comments
 (0)