From 0bc355ce88d6b1272ea465553aac4e3902da5d24 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Mon, 30 Dec 2024 16:44:46 -0700 Subject: [PATCH 1/4] update docs --- README.md | 2 +- docs/source/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41e769c9..693997d0 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Boeing, G. (2024). Modeling and Analyzing Urban Networks and Amenities with OSMn First read the [Getting Started](https://osmnx.readthedocs.io/en/stable/getting-started.html) guide for an introduction to the package and FAQ. -Then work through the OSMnx [Examples Gallery](https://github.com/gboeing/osmnx-examples) for step-by-step tutorials and sample code. +Then work through the [Examples Gallery](https://github.com/gboeing/osmnx-examples) for step-by-step tutorials and sample code. ## Installation diff --git a/docs/source/index.rst b/docs/source/index.rst index 67638ea8..81c0c399 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -22,7 +22,7 @@ Getting Started First read the :doc:`getting-started` guide for an introduction to the package and FAQ. -Then work through the OSMnx `Examples Gallery`_ for step-by-step tutorials and sample code. +Then work through the `Examples Gallery`_ for step-by-step tutorials and sample code. .. _Examples Gallery: https://github.com/gboeing/osmnx-examples From 7301ba3e2d613fc2c33a923fbe4e9c31c4604da1 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Mon, 30 Dec 2024 16:44:56 -0700 Subject: [PATCH 2/4] version bump to 2.0.1 --- CHANGELOG.md | 2 +- osmnx/_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e3d8321..10536dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2.0.1 (TBD) +## 2.0.1 (2025-01-01) - fix error message when elevation module's optional dependencies are missing (#1250) - update "walk" network_type to filter out ways whose sidewalks are mapped separately (#1254) diff --git a/osmnx/_version.py b/osmnx/_version.py index d57021ec..b7356a3e 100644 --- a/osmnx/_version.py +++ b/osmnx/_version.py @@ -1,3 +1,3 @@ """OSMnx package version information.""" -__version__ = "2.0.1dev" +__version__ = "2.0.1" From 9698c96f978a1b2e3f3f2dfb46685c7026aa7d34 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Mon, 30 Dec 2024 17:06:31 -0700 Subject: [PATCH 3/4] update codecov config --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39f81f71..21fa4ab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,4 +70,5 @@ jobs: - name: Upload coverage report uses: codecov/codecov-action@v5 with: + fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} From d4f0636aaeac1d61da48a730d1d80cc63b3050c4 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Wed, 1 Jan 2025 12:06:55 -0800 Subject: [PATCH 4/4] stricter yaml linting --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/feature_proposal.yml | 5 +++-- .github/dependabot.yml | 6 +++--- .pre-commit-config.yaml | 14 ++++++++++++-- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 37f038f7..1a6acf57 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -4,7 +4,7 @@ labels: bug body: - type: markdown attributes: - value: "Thanks for using OSMnx!" + value: Thanks for using OSMnx! - type: checkboxes id: contributing diff --git a/.github/ISSUE_TEMPLATE/feature_proposal.yml b/.github/ISSUE_TEMPLATE/feature_proposal.yml index c624ec84..2ecc6572 100644 --- a/.github/ISSUE_TEMPLATE/feature_proposal.yml +++ b/.github/ISSUE_TEMPLATE/feature_proposal.yml @@ -4,14 +4,15 @@ labels: enh body: - type: markdown attributes: - value: "Thanks for using OSMnx!" + value: Thanks for using OSMnx! - type: checkboxes id: contributing attributes: label: Contributing guidelines description: | - Before you proceed, read the [contributing guidelines](../blob/main/CONTRIBUTING.md) + Before you proceed, read the + [contributing guidelines](../blob/main/CONTRIBUTING.md) regarding where to ask usage questions and how to propose a feature. options: - label: I understand the contributing guidelines diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ace4600..ca79ca5b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "weekly" + interval: weekly diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c4b5664..86712d44 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,14 @@ repos: rev: v1.35.1 hooks: - id: yamllint - args: [--strict, -d, "{extends: relaxed, rules: {line-length: {max: 110}}}"] + args: + - --strict + - > + -d={extends: default, rules: { + document-start: disable, + line-length: {max: 110}, + quoted-strings: {quote-type: single, required: only-when-needed}, + truthy: {check-keys: false}}} - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.8.4 @@ -40,4 +47,7 @@ repos: hooks: - id: mypy additional_dependencies: - [matplotlib, pandas-stubs, pytest, types-requests] + - matplotlib + - pandas-stubs + - pytest + - types-requests