File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
crate_universe/test_data/private Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2929 if [[ -n "$(git status --porcelain)" ]]; then
3030 exit 1
3131 fi
32+ - name : Set up Python
33+ uses : actions/setup-python@v2
34+ with :
35+ python-version : 3.11
36+ - name : Install dependencies
37+ run : |
38+ pip install 'black==24.10.0' 'isort==5.13.2'
39+ - name : Run black
40+ run : |
41+ python -m black --check --diff ./
42+ - name : Run isort
43+ run : |
44+ python -m isort --profile=black --check-only ./
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
3- from pathlib import Path
4- from typing import List
53import json
64import os
75import shutil
8- import shutil
96import subprocess
107import sys
118import tempfile
9+ from pathlib import Path
10+ from typing import List
1211
1312
1413def run_subprocess (command : List [str ]) -> subprocess .CompletedProcess [str ]:
You can’t perform that action at this time.
0 commit comments