Skip to content

Commit bc2cbeb

Browse files
authored
Use macOS 14 in CI (#178)
1 parent 476bd7d commit bc2cbeb

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@master
4141
- uses: actions/setup-python@v2
4242
with:
43-
python-version: "3.7"
43+
python-version: "3.9"
4444
- name: Install pre-commit
4545
run: |
4646
pip install pre-commit==2.21.0
@@ -54,7 +54,14 @@ jobs:
5454
strategy:
5555
matrix:
5656
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
57-
os: [ubuntu-22.04, windows-2022, macos-13]
57+
os: [ubuntu-22.04, windows-2022, macos-13, macos-14]
58+
exclude:
59+
- os: macos-14
60+
python-version: "3.7"
61+
- os: macos-14
62+
python-version: "3.8"
63+
- os: macos-14
64+
python-version: "3.9"
5865
defaults:
5966
run:
6067
shell: bash
@@ -113,7 +120,14 @@ jobs:
113120
strategy:
114121
matrix:
115122
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
116-
os: [ubuntu-22.04, windows-2022, macos-13]
123+
os: [ubuntu-22.04, windows-2022, macos-13, macos-14, macos-14]
124+
exclude:
125+
- os: macos-14
126+
python-version: "3.7"
127+
- os: macos-14
128+
python-version: "3.8"
129+
- os: macos-14
130+
python-version: "3.9"
117131
defaults:
118132
run:
119133
shell: bash

src/cmdict/pdf_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
try:
88
# ``import fitz`` still works, if the directory where it comes from
99
# is empty, so the following command must be used.
10-
from fitz import open
10+
from fitz import open # noqa: A004
1111
except (ImportError, ModuleNotFoundError):
1212
PDF_FEATURES = False
1313
else:

0 commit comments

Comments
 (0)