Skip to content

Commit

Permalink
Update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Jul 4, 2023
1 parent 2a4d70e commit e7e5af9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ repos:
- id: end-of-file-fixer
exclude: \.min\.js$
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.272
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
hooks:
- id: ruff
args: [holoviews]
Expand All @@ -27,7 +27,7 @@ repos:
hooks:
- id: clean-notebook
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion holoviews/element/tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Tiles(Element2D):
* Bounding box tile sources containing {XMIN}, {XMAX}, {YMIN}, {YMAX} variables
* Quadkey tile sources containin a {Q} variable
* Quadkey tile sources containing a {Q} variable
Tiles are defined in a pseudo-Mercator projection (EPSG:3857)
defined as eastings and northings. Any data overlaid on a tile
Expand Down
2 changes: 1 addition & 1 deletion holoviews/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Types supported by Pointer derived streams
pointer_types = (Number, str, tuple)+util.datetime_types

class _SkipTrigger(): pass
class _SkipTrigger: pass


@contextmanager
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ignore = [
"PLR2004", # Magic value used in comparison
"PLW2901", # `for` loop variable is overwritten
"RUF005", # Consider {expr} instead of concatenation
"RUF012", # Mutable class attributes should use `typing.ClassVar`
]

fix = true
Expand Down

0 comments on commit e7e5af9

Please sign in to comment.