Skip to content

Commit

Permalink
upgrade ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 13, 2025
1 parent f8ce6a9 commit 8e07287
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
args: [--strict, --config-file, ./tests/.yamllint.yml]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
- id: ruff
args: [--fix]
Expand Down
1 change: 1 addition & 0 deletions osmnx/io.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ruff: noqa: A005
"""File I/O functions to save/load graphs to/from files on disk."""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion tests/test_osmnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
address = "600 Montgomery St, San Francisco, California, USA"
place1 = {"city": "Piedmont", "state": "California", "country": "USA"}
polygon_wkt = (
"POLYGON ((-122.262 37.869, -122.255 37.869, -122.255 37.874,"
"POLYGON ((-122.262 37.869, -122.255 37.869, -122.255 37.874, "
"-122.262 37.874, -122.262 37.869))"
)
polygon = ox.utils_geo.buffer_geometry(geom=wkt.loads(polygon_wkt), dist=1)
Expand Down

0 comments on commit 8e07287

Please sign in to comment.