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] 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