From 08db109188b4b956829a141169f90d3b6ae32c2d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:44:48 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/commitizen-tools/commitizen: v4.1.1 → v4.9.1](https://github.com/commitizen-tools/commitizen/compare/v4.1.1...v4.9.1) - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.14.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.14.2) - [github.com/pycontribs/mirrors-prettier: v3.4.2 → v3.6.2](https://github.com/pycontribs/mirrors-prettier/compare/v3.4.2...v3.6.2) - [github.com/igorshubovych/markdownlint-cli: v0.44.0 → v0.45.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.44.0...v0.45.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f0ec8cc..37efbe1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Versioning: Commit messages & changelog - repo: https://github.com/commitizen-tools/commitizen - rev: v4.1.1 + rev: v4.9.1 hooks: - id: commitizen stages: [commit-msg] @@ -9,7 +9,7 @@ repos: # Lint / autoformat: Python code - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.9.3" + rev: "v0.14.2" hooks: # Run the linter - id: ruff @@ -19,14 +19,14 @@ repos: # Autoformat: YAML, JSON, Markdown, etc. - repo: https://github.com/pycontribs/mirrors-prettier - rev: v3.4.2 + rev: v3.6.2 hooks: - id: prettier args: [--ignore-unknown, --no-error-on-unmatched-pattern] # Lint: Markdown - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.44.0 + rev: v0.45.0 hooks: - id: markdownlint args: [--fix, --ignore, CHANGELOG.md] From 4e76aaccc21bd4db6652061a514dc05ddfbff20e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:45:13 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index a117254..adfeddb 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ osm_auth=Auth( Three functions are provided: 1. login() -- Returns the login url for OSM. - - The user must then access this URL and authorize the OAuth application to login. - The user will be redirected to the configured `login_redirect_uri` after @@ -45,7 +44,6 @@ Three functions are provided: current URL to the function (which includes the OAuth authorization code). 2. callback() -- Returns the encoded and serialized data: - - `user_data` a JSON of OSM user data. - `oauth_token` a string OSM OAuth token. - Both are encoded and serialized as an additional safety measure when used