Skip to content

Commit a9c985a

Browse files
authored
Revert docformatter to 1.7.7. (#136)
1 parent f7ff225 commit a9c985a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- backend: iOS
9393
runs-on: macos-latest
9494
briefcase-target: "iOS"
95-
briefcase-run-args: ' -d "iPhone SE (3rd generation)"'
95+
briefcase-run-args: ' -d "iPhone SE (3rd generation)::iOS 18.5"'
9696

9797
- backend: android
9898
runs-on: ubuntu-latest
@@ -124,6 +124,16 @@ jobs:
124124
python-version: ${{ matrix.python-version }}
125125
allow-prereleases: true
126126

127+
- name: Prepare macOS
128+
# GitHub recommends explicitly selecting the desired Xcode version:
129+
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
130+
# This became a necessity as a result of
131+
# https://github.com/actions/runner-images/issues/12541 and
132+
# https://github.com/actions/runner-images/issues/12751.
133+
if: matrix.runs-on == 'macos-latest'
134+
run: |
135+
sudo xcode-select --switch /Applications/Xcode_16.4.app
136+
127137
- name: Install Dependencies
128138
run: ${{ matrix.pre-command }}
129139

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/PyCQA/docformatter
13-
rev: v1.7.8-rc1
13+
rev: v1.7.7
1414
hooks:
1515
- id: docformatter
1616
args: [--in-place, --black]

0 commit comments

Comments
 (0)