Skip to content

Commit 9e526c5

Browse files
committed
ruff checks
1 parent 79c7fae commit 9e526c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- run: pip install ruff
1616
- run: ruff check # check linting violations
17-
- run: ruff format --check # check formatting
17+
- run: ruff format --check --exclude *.ipynb # check formatting
1818

1919
docs:
2020
runs-on: ubuntu-latest

hat/interactive/leaflet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def __init__(
358358
try:
359359
colormap = mpl.colormaps[colormap_style]
360360
except KeyError:
361-
raise KeyError(f"Colormap {colormap_style} not found. " f"Available colormaps are: {mpl.colormaps}")
361+
raise KeyError(f"Colormap {colormap_style} not found. Available colormaps are: {mpl.colormaps}")
362362

363363
super().__init__(colormap)
364364

0 commit comments

Comments
 (0)