File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed
src/instrumentman/terminal Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 fail-fast : false
1515 matrix :
16- python-version : ["3.11", "3.12", "3.13"]
16+ python-version : ["3.11", "3.12", "3.13", "3.14" ]
1717
1818 steps :
1919 - uses : actions/checkout@v4
2323 python-version : ${{ matrix.python-version }}
2424
2525 - name : Build and install package
26- run : python -m pip install .[all]
26+ run : python -m pip install .[all] --verbose
2727
2828 - name : Test with pytest
2929 run : |
@@ -44,14 +44,14 @@ jobs:
4444 - name : Setup Python
4545 uses : actions/setup-python@v5
4646 with :
47- python-version : 3.13
47+ python-version : 3.14
4848
4949 - name : Build and install package
50- run : python -m pip install .[all]
50+ run : python -m pip install .[all] --verbose
5151
5252 - name : Running ${{ matrix.tool }}
5353 run : |
5454 python -m pip install --upgrade pip
55- python -m pip install --group linting
55+ python -m pip install --group linting --verbose
5656 python -c "print('=========== ${{ matrix.tool }} ===========')"
5757 python -m ${{ matrix.tool }} src/ tests/
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ dependencies = [
1616 " geocompy ~= 0.14.0" ,
1717 " rich >= 13.9" ,
1818 " textual >= 3.2.0" ,
19- " rapidfuzz ~= 3.13.0 " ,
19+ " rapidfuzz ~= 3.14.1 " ,
2020 " jsonschema ~= 4.21" ,
2121 " jmespath ~= 1.0.1" ,
2222 " toml ~= 0.10.2" ,
2323 " PyYAML ~= 6.0.2" ,
24- " numpy ~= 2.0 " ,
24+ " numpy ~= 2.3 " ,
2525 " pillow ~= 11.0" ,
2626 " cloup ~= 3.0.7" ,
2727 " click-extra ~= 5.0.2"
@@ -77,7 +77,7 @@ linting = [
7777 " types-jmespath >= 1.0.2.4" ,
7878 " types-toml >= 0.10.8.20240310" ,
7979 " types-PyYAML >= 6.0.12.20250516" ,
80- " mypy >= 1.17.1 " ,
80+ " mypy >= 1.18.2 " ,
8181 " flake8 >= 7.3.0"
8282]
8383development = [
Original file line number Diff line number Diff line change @@ -244,8 +244,15 @@ async def get_suggestion(self, value: str) -> str | None:
244244
245245 separator = "." if path != "" else ""
246246
247- suggestion = process .extractOne (
248- partial , suggest , scorer = fuzz .partial_ratio )[0 ]
247+ extracted = process .extractOne (
248+ partial ,
249+ suggest ,
250+ scorer = fuzz .partial_ratio
251+ )
252+ if extracted is None :
253+ return None
254+
255+ suggestion = extracted [0 ]
249256
250257 return f"{ path } { separator } { suggestion } "
251258
You can’t perform that action at this time.
0 commit comments