Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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]

# 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
Expand All @@ -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]
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down