Skip to content

Commit 827a6bb

Browse files
authored
Merge pull request #19 from hotosm/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 6b78735 + bbf388a commit 827a6bb

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
# Versioning: Commit messages & changelog
33
- repo: https://github.com/commitizen-tools/commitizen
4-
rev: v4.13.9
4+
rev: v4.13.10
55
hooks:
66
- id: commitizen
77
stages: [commit-msg]
88

99
# Lint / autoformat: Python code
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: "v0.15.4"
11+
rev: "v0.15.11"
1212
hooks:
1313
- id: ruff
1414
files: ^(?:backend|auth-libs/python)/.*\.py$
@@ -18,7 +18,7 @@ repos:
1818

1919
# Deps: ensure Python uv lockfile is up to date
2020
- repo: https://github.com/astral-sh/uv-pre-commit
21-
rev: 0.10.7
21+
rev: 0.11.7
2222
hooks:
2323
- id: uv-lock
2424
files: ^backend/pyproject\.toml$
@@ -44,7 +44,7 @@ repos:
4444

4545
# Spelling: Checks for common misspellings in text files.
4646
- repo: https://github.com/crate-ci/typos
47-
rev: v1.44.0
47+
rev: v1
4848
hooks:
4949
- id: typos
5050
pass_filenames: false
@@ -77,14 +77,14 @@ repos:
7777

7878
# Lint: GH Workflows
7979
- repo: https://github.com/rhysd/actionlint
80-
rev: v1.7.11
80+
rev: v1.7.12
8181
hooks:
8282
- id: actionlint
8383
args: [-ignore, SC]
8484

8585
# Lint: Markdown
8686
- repo: https://github.com/igorshubovych/markdownlint-cli
87-
rev: v0.47.0
87+
rev: v0.48.0
8888
hooks:
8989
- id: markdownlint
9090
args:

docs/src/web-component.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ auth.addEventListener('logout', () => {
145145
### Header Mode (`show-profile=false`)
146146

147147
Default mode. Shows:
148+
148149
- **Logged out**: "Log in" button → redirects to login.hotosm.org
149150
- **Logged in**: Avatar dropdown with:
150151
- Profile link
@@ -163,6 +164,7 @@ Default mode. Shows:
163164
### Profile Mode (`show-profile=true`)
164165

165166
Shows full Hanko auth form (for login page):
167+
166168
- **Logged out**: Hanko passkey/email form
167169
- **Logged in**: Profile card + OSM status + logout button
168170

@@ -182,6 +184,7 @@ Shows full Hanko auth form (for login page):
182184
## Hanko URL Detection
183185

184186
Priority order:
187+
185188
1. `hanko-url` attribute
186189
2. `<meta name="hanko-url" content="...">` tag
187190
3. `window.HANKO_URL` global
@@ -274,6 +277,7 @@ document.addEventListener('visibilitychange', () => {
274277
## Debug Mode
275278

276279
Enable with:
280+
277281
- URL param: `?debug=true`
278282
- LocalStorage: `localStorage.setItem('hanko-auth-debug', 'true')`
279283

0 commit comments

Comments
 (0)