大宅康喜 commited on
Commit
79ffef8
·
unverified ·
1 Parent(s): 03591ad

Update pysen-python-app.yaml

Browse files
.github/workflow/pysen-python-app.yaml CHANGED
@@ -33,10 +33,21 @@ jobs:
33
  run: |
34
  poetry install
35
 
36
- - name: Lint with pysen
37
  run: |
38
- poetry run pysen run lint
 
 
 
 
39
 
40
  - name: Test with pytest
41
  run: |
42
  poetry run pytest tests/*
 
 
 
 
 
 
 
 
33
  run: |
34
  poetry install
35
 
36
+ - name: Run black
37
  run: |
38
+ poetry run black .
39
+
40
+ - name: Run isort
41
+ run: |
42
+ poetry run isort .
43
 
44
  - name: Test with pytest
45
  run: |
46
  poetry run pytest tests/*
47
+
48
+ - name: Commit changes
49
+ uses: stefanzweifel/git-auto-commit-action@v4
50
+ with:
51
+ commit_message: Apply code formatting changes
52
+ file_pattern: '*.py'
53
+