From 1e518b37d608086ba1f4395d2dd23d4faa8b81f3 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Thu, 19 Dec 2024 12:27:04 -0800 Subject: [PATCH] update ruff config --- .pre-commit-config.yaml | 2 +- notebooks/13-isolines-isochrones.ipynb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c346ef7..a3ca4d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: rev: "v0.8.2" hooks: - id: ruff - args: [--fix] + args: [--fix, --line-length=100, --extend-select=E, --extend-select=F, --extend-select=I] - id: ruff-format args: [--line-length=100] diff --git a/notebooks/13-isolines-isochrones.ipynb b/notebooks/13-isolines-isochrones.ipynb index ff62880..af81529 100644 --- a/notebooks/13-isolines-isochrones.ipynb +++ b/notebooks/13-isolines-isochrones.ipynb @@ -26,9 +26,7 @@ "import matplotlib.pyplot as plt\n", "import networkx as nx\n", "import osmnx as ox\n", - "from shapely.geometry import LineString\n", - "from shapely.geometry import Point\n", - "from shapely.geometry import Polygon\n", + "from shapely.geometry import LineString, Point, Polygon\n", "\n", "ox.__version__" ]