Skip to content

Commit 09a4749

Browse files
authored
Merge pull request #1781 from ocefpaf/remove_pre-commit-GHA
Remove pre-commit GHA...
2 parents e222058 + b085020 commit 09a4749

3 files changed

Lines changed: 22 additions & 32 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repos:
1515
files: requirements-dev.txt
1616

1717
- repo: https://github.com/charliermarsh/ruff-pre-commit
18-
rev: v0.0.247
18+
rev: v0.0.277
1919
hooks:
2020
- id: ruff
2121

2222
- repo: https://github.com/psf/black
23-
rev: 23.1.0
23+
rev: 23.7.0
2424
hooks:
2525
- id: black
2626
language_version: python3
@@ -31,13 +31,24 @@ repos:
3131
- id: blackdoc
3232

3333
- repo: https://github.com/codespell-project/codespell
34-
rev: v2.2.2
34+
rev: v2.2.5
3535
hooks:
3636
- id: codespell
3737
args:
38-
- --ignore-words-list=thex,nd,fo,som,nam,tha
38+
- --ignore-words-list=thex,nd,fo,som,nam,tha,caf
3939
exclude: >
4040
(?x)^(
4141
.*\.csv |
4242
.*\.json |
4343
)$
44+
45+
ci:
46+
autofix_commit_msg: |
47+
[pre-commit.ci] auto fixes from pre-commit.com hooks
48+
49+
for more information, see https://pre-commit.ci
50+
autofix_prs: false
51+
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
52+
autoupdate_schedule: monthly
53+
skip: []
54+
submodules: false

folium/plugins/vectorgrid_protobuf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ class VectorGridProtobuf(JSCSSMixin, Layer):
125125
]
126126

127127
def __init__(
128-
self,
129-
url: str,
130-
name: Optional[str] = None,
131-
options: Union[str, dict, None] = None,
132-
overlay: bool = True,
133-
control: bool = True,
134-
show: bool = True,
128+
self,
129+
url: str,
130+
name: Optional[str] = None,
131+
options: Union[str, dict, None] = None,
132+
overlay: bool = True,
133+
control: bool = True,
134+
show: bool = True,
135135
):
136136
super().__init__(name=name, overlay=overlay, control=control, show=show)
137137
self._name = "VectorGridProtobuf"

0 commit comments

Comments
 (0)