File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99jobs :
10+ Python_lint :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ["3.14"]
15+ steps :
16+ - uses : actions/checkout@v6
17+ - name : Lint with ruff # See pyproject.toml for settings
18+ uses : astral-sh/ruff-action@v3
19+ - run : ruff format --check --diff
20+
1021 Python_tests :
1122 runs-on : ${{ matrix.os }}
1223 strategy :
3546 python -m pip install --upgrade pip
3647 pip install --editable ".[dev]"
3748 - run : ./gyp -V && ./gyp --version && gyp -V && gyp --version
38- - name : Lint with ruff # See pyproject.toml for settings
39- uses : astral-sh/ruff-action@v3
40- - run : ruff format --check --diff
4149 - name : Test with pytest # See pyproject.toml for settings
4250 run : pytest
4351 # - name: Run doctests with pytest
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ def deepcopy(x):
2424 return _deepcopy_dispatch [type (x )](x )
2525 except KeyError :
2626 raise Error (
27- "Unsupported type %s for deepcopy. Use copy.deepcopy "
28- + "or expand simple_copy support." % type ( x )
27+ f "Unsupported type { type ( x ) } for deepcopy. Use copy.deepcopy "
28+ + "or expand simple_copy support."
2929 )
3030
3131
You can’t perform that action at this time.
0 commit comments