File tree Expand file tree Collapse file tree 5 files changed +14
-17
lines changed
{{cookiecutter.repo_name}} Expand file tree Collapse file tree 5 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ select = [
124124 " FBT" , # flake8-boolean-trap
125125 " I" , # isort
126126 " ICN" , # flake8-import-conventions
127- " ISC" , # flake8-implicit-str-concat
128127 " N" , # pep8-naming
129128 " PLC" , # Pylint (Convention message)
130129 " PLE" , # Pylint (Error message)
Original file line number Diff line number Diff line change @@ -23,24 +23,24 @@ jobs:
2323 hatch env create
2424 hatch --version
2525 - name : Lint
26- id : flake8
26+ id : lint
2727 continue-on-error : true
2828 run : |
2929 echo "::add-matcher::.github/workflows/matchers/flake8.json"
3030 hatch run lint:style
3131 echo "::remove-matcher owner=flake8::"
3232 - name : Type Checking
33- id : mypy
33+ id : check
3434 continue-on-error : true
3535 run : |
3636 echo "::add-matcher::.github/workflows/matchers/mypy.json"
3737 hatch run lint:typing
3838 echo "::remove-matcher owner=mypy::"
39- - name : Raise Errors For Linting Failures
39+ - name : Raise Errors For Failures
4040 if : |
41- steps.flake8 .outcome != 'success' ||
42- steps.mypy .outcome != 'success'
41+ steps.lint .outcome != 'success' ||
42+ steps.check .outcome != 'success'
4343 run : |
44- echo "Flake8 : ${{ steps.flake8 .outcome }}"
45- echo "MyPy : ${{ steps.mypy .outcome }}"
44+ echo "Lint : ${{ steps.lint .outcome }}"
45+ echo "Check : ${{ steps.check .outcome }}"
4646 exit 1
Original file line number Diff line number Diff line change @@ -178,7 +178,6 @@ select = [
178178 " FBT" , # flake8-boolean-trap
179179 " I" , # isort
180180 " ICN" , # flake8-import-conventions
181- " ISC" , # flake8-implicit-str-concat
182181 " N" , # pep8-naming
183182 " PLC" , # Pylint (Convention message)
184183 " PLE" , # Pylint (Error message)
Original file line number Diff line number Diff line change @@ -23,24 +23,24 @@ jobs:
2323 hatch env create
2424 hatch --version
2525 - name : Lint
26- id : flake8
26+ id : lint
2727 continue-on-error : true
2828 run : |
2929 echo "::add-matcher::.github/workflows/matchers/flake8.json"
3030 hatch run lint:style
3131 echo "::remove-matcher owner=flake8::"
3232 - name : Type Checking
33- id : mypy
33+ id : check
3434 continue-on-error : true
3535 run : |
3636 echo "::add-matcher::.github/workflows/matchers/mypy.json"
3737 hatch run lint:typing
3838 echo "::remove-matcher owner=mypy::"
39- - name : Raise Errors For Linting Failures
39+ - name : Raise Errors For Failures
4040 if : |
41- steps.flake8 .outcome != 'success' ||
42- steps.mypy .outcome != 'success'
41+ steps.lint .outcome != 'success' ||
42+ steps.check .outcome != 'success'
4343 run : |
44- echo "Flake8 : ${{"{{"}} steps.flake8 .outcome {{"}}"}}"
45- echo "MyPy : ${{"{{"}} steps.mypy .outcome {{"}}"}}"
44+ echo "Lint : ${{"{{"}} steps.lint .outcome {{"}}"}}"
45+ echo "Check : ${{"{{"}} steps.check .outcome {{"}}"}}"
4646 exit 1
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ select = [
180180 " FBT" , # flake8-boolean-trap
181181 " I" , # isort
182182 " ICN" , # flake8-import-conventions
183- " ISC" , # flake8-implicit-str-concat
184183 " N" , # pep8-naming
185184 " PLC" , # Pylint (Convention message)
186185 " PLE" , # Pylint (Error message)
You can’t perform that action at this time.
0 commit comments