File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed
Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,17 @@ repos:
1212 args : ['--maxkb=1000']
1313 - id : debug-statements
1414
15- - repo : https://github.com/psf/black
16- rev : 23.3.0
17- hooks :
18- - id : black
19- language_version : python3
20-
2115 - repo : https://github.com/pycqa/isort
2216 rev : 5.12.0
2317 hooks :
2418 - id : isort
2519 args : ["--profile", "black"]
2620
21+ - repo : https://github.com/psf/black
22+ rev : 23.3.0
23+ hooks :
24+ - id : black
25+ language_version : python3
2726 - repo : https://github.com/pre-commit/mirrors-mypy
2827 rev : v1.3.0
2928 hooks :
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ log_info() {
88 echo -e " \033[1;34m[INFO]\033[0m $1 "
99}
1010
11- log_info " Running black..."
12- poetry run black .
13-
1411log_info " Running isort..."
1512poetry run isort .
1613
14+ log_info " Running black..."
15+ poetry run black .
16+
1717log_info " Running ruff check --fix..."
1818poetry run ruff check --fix .
1919
Original file line number Diff line number Diff line change 11import shutil
22import subprocess
3+ import sys
34from pathlib import Path
45
6+ import pytest
7+
8+ poetry_bin = shutil .which ("poetry" )
9+ pytestmark = pytest .mark .skipif (
10+ sys .platform .startswith ("win" ) or not poetry_bin ,
11+ reason = "Poetry subprocess not supported on Windows CI or Poetry not found in PATH" ,
12+ )
13+
514
615def test_mdbub_can_open_simplemap () -> None :
716 """Test that 'poetry run mdbub' can open examples/mindmaps/simplemap.md without error."""
You can’t perform that action at this time.
0 commit comments