File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 35
35
GITHUB_EXCLUDE_BUILD_NUMBER : ${{ inputs.excludeBuildNumber }}
36
36
37
37
jobs :
38
+ isort :
39
+ runs-on : windows-latest
40
+ steps :
41
+ - name : Checkout ${{ github.repository }}/${{ github.ref }}
42
+ uses : actions/checkout@v3
43
+ - name : Set up Python 3.11
44
+ uses : actions/setup-python@v4
45
+ with :
46
+ python-version : " 3.11"
47
+ cache : " pip"
48
+ cache-dependency-path : " scripts/requirements*.txt"
49
+ - run : scripts/install.ps1
50
+ shell : pwsh
51
+ - run : (Get-Command pyuic6).Source
52
+ shell : pwsh
53
+ - name : Analysing the code with add-trailing-comma
54
+ run : isort src/ typings/ --check-only
38
55
add-trailing-comma :
39
56
runs-on : windows-latest
40
57
steps :
Original file line number Diff line number Diff line change 72
72
},
73
73
"python.formatting.provider" : " autopep8" ,
74
74
"python.analysis.diagnosticMode" : " workspace" ,
75
+ "isort.check" : true ,
76
+ "isort.importStrategy" : " fromEnvironment" ,
75
77
"python.linting.enabled" : true ,
76
78
// Use the new Pylint extension instead
77
79
"python.linting.pylintEnabled" : false ,
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ flake8-bugbear
14
14
flake8-class-attributes-order
15
15
flake8-comprehensions >= 3.8 # flake8 5 support
16
16
flake8-datetimez
17
- flake8-isort >= 4.2 ,<= 5.0 # flake8 5 support # Breaking issue (https://github.com/gforcada/flake8-isort/issues/128)
18
17
flake8-pyi >= 22.11.0 # flak8 6 support
19
18
flake8-quotes
20
19
flake8-simplify
You can’t perform that action at this time.
0 commit comments