diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b2b22b..abc965f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,7 @@ repos: types: [yaml] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 1a1f58ba4c35362efe8fed2279715a905baee93d # frozen: v0.14.8 + rev: d96cc7adddf7d15b77f99dbd5d20e037dfd1b29c # frozen: v0.14.9 hooks: - id: ruff files: ^(scripts|tests|custom_components)/.+\.py$ @@ -62,7 +62,7 @@ repos: files: ^(scripts|tests|custom_components)/.+\.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: c2738302f5cf2bfb559c1f210950badb133613ea # frozen: v1.19.0 + rev: a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1 hooks: - id: mypy @@ -78,7 +78,7 @@ repos: - id: shellcheck - repo: https://github.com/igorshubovych/markdownlint-cli - rev: c8fd5003603dd6f12447314ecd935ba87c09aff5 # frozen: v0.46.0 + rev: 76b3d32d3f4b965e1d6425253c59407420ae2c43 # frozen: v0.47.0 hooks: - id: markdownlint args: ["--fix"] @@ -103,7 +103,7 @@ repos: args: ["--ignore-words=.codespell"] - repo: https://github.com/python-jsonschema/check-jsonschema.git - rev: 16a6ad2fead09286ee6eb6b0a3fab55655a6c22a # frozen: 0.35.0 + rev: b035497fb64e3f9faa91e833331688cc185891e6 # frozen: 0.36.0 hooks: - id: check-github-actions - id: check-github-workflows diff --git a/README.md b/README.md index d778210..3486a55 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ steps: | Name | Required | Default | Description | -|------------------|----------|----------|-------------------------------------------------------------| +| ---------------- | -------- | -------- | ----------------------------------------------------------- | | path | false | "." | Path to search for project files or path to a specific file | | config | false | "" | Path to custom configuration file | | format | false | "text" | Output format (text or json) | @@ -76,7 +76,7 @@ steps: | Name | Description | -|----------------|----------------------------------------------| +| -------------- | -------------------------------------------- | | version | Extracted version string | | project-type | Detected project type | | file | File containing the extracted version | @@ -91,7 +91,7 @@ steps: | Flag | Short | Default | Description | -|--------------------|-------|----------|-------------------------------------------------------------| +| ------------------ | ----- | -------- | ----------------------------------------------------------- | | --path | -p | "." | Path to search for project files or path to a specific file | | --config | -c | "" | Path to configuration file | | --format | -f | "text" | Output format: text, json | diff --git a/docs/REGEX_ESCAPING.md b/docs/REGEX_ESCAPING.md index 75327d5..7929570 100644 --- a/docs/REGEX_ESCAPING.md +++ b/docs/REGEX_ESCAPING.md @@ -85,7 +85,8 @@ pattern: `version[\\s\\S]+?end` // WRONG! ### Why This Is Wrong -The double-backslash version (`[\\s\\S]`) contains **4 backslashes** in the raw string: +The double-backslash version (`[\\s\\S]`) contains **4 backslashes** in the raw +string: - Characters: `[`, `\`, `\`, `s`, `\`, `\`, `S`, `]` - This is NOT what YAML gives us