Skip to content

ci(pre-commit): update pre-commit hooks - #2

Open
pre-commit-ci[bot] wants to merge 1 commit into
mainfrom
pre-commit-ci-update-config
Open

pre-commit-ci[bot] wants to merge 1 commit into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Jun 17, 2024 •

Copy link
Copy Markdown
Contributor

@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 551dfa8 to 4116506 Compare June 24, 2024 19:15
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from ed22363 to 2ed846f Compare July 8, 2024 19:02
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 43b9c70 to e049144 Compare July 22, 2024 19:23
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from e049144 to ada51d8 Compare July 29, 2024 19:23
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 6f6f00c to 8082689 Compare August 12, 2024 19:19
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 8082689 to 9881028 Compare August 19, 2024 19:24
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from c6e0a2e to 7b50e41 Compare August 26, 2024 19:30
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 8e7593a to c42185f Compare September 2, 2024 19:21
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 5538294 to e16d536 Compare September 23, 2024 19:26
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from e16d536 to fc9e846 Compare September 30, 2024 19:34
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from fc9e846 to 11e5226 Compare October 7, 2024 20:19
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 11e5226 to ca24116 Compare August 25, 2025 17:52
@liblaf

liblaf Bot commented Aug 25, 2025 •

Copy link
Copy Markdown
Contributor

✅MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 1 0 0 0.3s
✅ BASH shellcheck 2 0 0 0.02s
✅ BASH shfmt 2 0 0 0 0.02s
✅ COPYPASTE jscpd yes no no 1.89s
✅ JSON prettier 10 0 0 0 0.41s
✅ JSON v8r 10 0 0 4.44s
✅ PYTHON ruff yes yes no no 0.04s
✅ REPOSITORY git_diff yes no no 0.01s
✅ SPELL cspell 53 0 0 4.44s
✅ YAML prettier 7 0 0 0 0.6s
✅ YAML v8r 7 0 0 5.76s
✅ YAML yamllint 7 0 0 0.54s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from ca24116 to ad1fd95 Compare September 1, 2025 17:53
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from ad1fd95 to 17ba780 Compare September 8, 2025 17:56
@codecov

codecov Bot commented Sep 8, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.60%. Comparing base (660ecb3) to head (5e674d8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   60.60%   60.60%           
=======================================
  Files          20       20           
  Lines         396      396           
  Branches       24       24           
=======================================
  Hits          240      240           
  Misses        156      156           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 17ba780 to adab6db Compare September 15, 2025 17:57
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from adab6db to 36c8ce4 Compare September 22, 2025 18:04
liblaf
liblaf previously approved these changes Dec 15, 2025
liblaf
liblaf previously approved these changes Dec 22, 2025
liblaf
liblaf previously approved these changes Jan 12, 2026
liblaf
liblaf previously approved these changes Jan 19, 2026
liblaf
liblaf previously approved these changes Jan 26, 2026
liblaf
liblaf previously approved these changes Feb 9, 2026
liblaf
liblaf previously approved these changes Feb 16, 2026
liblaf
liblaf previously approved these changes Feb 23, 2026
liblaf
liblaf previously approved these changes Mar 2, 2026
liblaf
liblaf previously approved these changes Mar 9, 2026
liblaf
liblaf previously approved these changes Mar 16, 2026
liblaf
liblaf previously approved these changes Mar 23, 2026
@liblaf-mega-linter

liblaf-mega-linter Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 1 0 0 0.07s
⚠️ ACTION zizmor 1 0 1 0 0.99s
⚠️ COPYPASTE jscpd yes 3 no 0.81s
⚠️ GO golangci-lint yes yes 1 no 0.8s
✅ JSON jsonlint 1 0 0 0.12s
✅ JSON prettier 1 0 0 0 0.48s
✅ JSON v8r 1 0 0 1.91s
✅ MARKDOWN rumdl 1 0 0 0 0.04s
✅ REPOSITORY git_diff yes no no 0.01s
⚠️ SPELL cspell 23 155 0 6.66s
✅ YAML prettier 1 0 0 0 0.45s
✅ YAML v8r 1 0 0 2.65s
✅ YAML yamllint 1 0 0 0.9s

Detailed Issues

⚠️ SPELL / cspell - 155 errors
known word (Mihomo)     -- // result after Mihomo has remained running
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output_test.go:16:3      - Unknown word (Mihomo)     -- MihomoVersion: "v-test",
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:15:14     - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:16:14     - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:17:14     - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:17:42     - Unknown word (mihomo)     -- route-rules/internal/mihomo"
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:36:2      - Unknown word (Mihomo)     -- MihomoVersion string
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:36:39     - Unknown word (mihomo)     -- string `json:"mihomo_version"`
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:41:100    - Unknown word (mihomo)     -- build.Result, converter mihomo.Converter, generatedAt
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:83:3      - Unknown word (Mihomo)     -- MihomoVersion: version,
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:109:33    - Unknown word (ipcidr)     -- := ruleset.Name + ".ipcidr.list"
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:118:114   - Unknown word (ipcidr)     -- textName, ruleset.Name, "ipcidr", "text", len(lines
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:120:32    - Unknown word (ipcidr)     -- := ruleset.Name + ".ipcidr.mrs"
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:122:31    - Unknown word (IPCIDR)     -- := converter.ConvertIPCIDR(ctx, textPath, mrsPath
	 Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:125:113   - Unknown word (ipcidr)     -- mrsName, ruleset.Name, "ipcidr", "mrs", len(lines)
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:154:50    - Unknown word (nojekyll)   -- filepath.Join(staging, ".nojekyll"), nil, 0o644); err
	 Suggestions: [novell]
internal/output/output.go:155:41    - Unknown word (nojekyll)   -- fmt.Errorf("write .nojekyll: %w", err)
	 Suggestions: [novell]
internal/output/output.go:176:68    - Unknown word (mihomo)     -- com/" + repository + "/mihomo/" + name,
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:177:62    - Unknown word (mihomo)     -- gh/" + repository + "@mihomo/" + name,
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:243:2     - Unknown word (tmpl)       -- tmpl := template.Must(template
	 Suggestions: [tmp, tpl, impl, mmpl, TPL]
internal/output/output.go:257:53    - Unknown word (IPCIDR)     -- before.Classical + before.IPCIDR - after.Domain - after
	 Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:257:101   - Unknown word (IPCIDR)     -- after.Classical - after.IPCIDR
	 Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:264:12    - Unknown word (tmpl)       -- if err := tmpl.ExecuteTemplate(file
	 Suggestions: [tmp, tpl, impl, mmpl, TPL]
internal/output/output.go:295:24    - Unknown word (Mihomo)     -- fmt.Fprintf(&text, "# Mihomo rule sets\n\nGenerated
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/rules/domain_test.go:37:29     - Unknown word (qhimgs)     -- IsWholeLabelWildcard("*.qhimgs?.com") {
	 Suggestions: [hims, hings, shims, whigs, Whigs]
internal/rules/domain.go:144:61    - Unknown word (Mihomo's)   -- cannot be represented by Mihomo's domain
	 Suggestions: [moho's, Moho's, Mom's, Moo's, Milo's]
internal/source/clash_test.go:14:19     - Unknown word (qhimgs)     -- DOMAIN-WILDCARD,*.qhimgs?.com
	 Suggestions: [hims, hings, shims, whigs, Whigs]
internal/source/clash.go:8:14      - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/source/clash.go:15:3      - Unknown word (GEOIP)      -- "GEOIP": {},
	 Suggestions: [GENIP, GEOID, GEOD, GEOG, GEOL]
internal/source/clash.go:16:3      - Unknown word (GEOSITE)    -- "GEOSITE": {},
	 Suggestions: [GESTE, WEBSITE, EGOIST, EGOISTS, GEIST]
internal/source/fetch.go:71:36     - Unknown word (liblaf)     -- Header.Set("User-Agent", "liblaf/route-rules")
	 Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:13:14     - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:14:14     - Unknown word (liblaf)     -- "github.com/liblaf/route-rules/internal
	 Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:42:8      - Unknown word (dnsmasq)    -- case "dnsmasq":
	 Suggestions: [dismast, dumas, damask, dermas, desman]
internal/source/load.go:43:31     - Unknown word (Masq)       -- err = loader.loadDNSMasq(ctx, source.URL)
	 Suggestions: [Masc, Mash, Mask, mass, Mass]
internal/source/load.go:74:30     - Unknown word (Masq)       -- loader *Loader) loadDNSMasq(ctx context.Context
	 Suggestions: [Masc, Mash, Mask, mass, Mass]
internal/source/load.go:86:54     - Unknown word (dnsmasq)    -- line %d: unsupported dnsmasq directive %q", number
	 Suggestions: [dismast, dumas, damask, dermas, desman]
internal/source/load.go:91:52     - Unknown word (dnsmasq)    -- "line %d: malformed dnsmasq server directive", number
	 Suggestions: [dismast, dumas, damask, dermas, desman]
README.md:3:30      - Unknown word (Mihomo)     -- rules` builds compact Mihomo rule providers from
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:3:152     - Unknown word (mihomo)     -- published daily to the [`mihomo` branch](https://github
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
README.md:7:1       - Unknown word (Mihomo)     -- Mihomo must evaluate these
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:9:58      - Unknown word (tailnet)    -- reaches the Tailscale tailnet
	 Suggestions: [talent, taine, taint, tablet, tailed]
README.md:25:281    - Unknown word (Mihomo)     -- cannot be represented by Mihomo and are resolved by
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:29:35     - Unknown word (mihomo)     -- empty behavior, the `mihomo` branch contains:
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
README.md:32:11     - Unknown word (ipcidr)     -- - `<name>.ipcidr.mrs` and its auditable
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:32:49     - Unknown word (ipcidr)     -- its auditable `<name>.ipcidr.list` input.
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:50:6      - Unknown word (ipcidr)     -- cn-ipcidr:
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:52:15     - Unknown word (ipcidr)     -- behavior: ipcidr
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:55:24     - Unknown word (ipcidr)     -- path: ./ruleset/cn.ipcidr.mrs
	 Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:73:10     - Unknown word (Sukka)      -- - `lan`: SukkaW LAN, V2Fly `private
	 Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:74:9      - Unknown word (dnsmasq)    -- - `cn`: dnsmasq-china-list, china-operator
	 Suggestions: [dismast, dumas, damask, dermas, desman]
README.md:74:57     - Unknown word (Sukka)      -- operator-ip, selected SukkaW direct/domestic lists
	 Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:78:43     - Unknown word (Sukka)      -- Fly AI/Apple lists and SukkaW AI/Apple Services domain
	 Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:79:20     - Unknown word (geolocation) -- - `global`: V2Fly `geolocation-!cn` and SukkaW Telegram
	 Suggestions: []
README.md:79:41     - Unknown word (Sukka)       -- geolocation-!cn` and SukkaW Telegram/global domain
	 Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:85:83     - Unknown word (Mihomo)      -- browser-module tests, and Mihomo 1.19.30 or newer on
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:93:121    - Unknown word (Mihomo)      -- every non-empty MRS with Mihomo, decodes it again, and
	 Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:95:170    - Unknown word (mihomo)      -- builds replace the `mihomo` branch contents and
	 Suggestions: [matomo, Matomo, imho, moho, Moho]
CSpell: Files checked: 23, Issues found: 155 in 19 files.


You can skip this misspellings by defining the following .cspell.json file at the root of your repository
Of course, please correct real typos before :)

{
    "version": "0.2",
    "language": "en",
    "ignorePaths": [
        "**/node_modules/**",
        "**/vscode-extension/**",
        "**/.git/**",
        "**/.pnpm-lock.json",
        ".vscode",
        "package-lock.json",
        "megalinter-reports"
    ],
    "words": [
        "GEOIP",
        "GEOSITE",
        "IPCIDR",
        "MIHOMO",
        "Masq",
        "Mihomo",
        "Mihomo's",
        "Sukka",
        "datadoghq",
        "dnsmasq",
        "elsevier",
        "felixonmars",
        "gaoyifan",
        "geolocation",
        "gofmt",
        "ieeexplore",
        "intercomassets",
        "intercomcdn",
        "ipcidr",
        "liblaf",
        "mihomo",
        "nojekyll",
        "pockyt",
        "qhimgs",
        "sciencedirect",
        "scopus",
        "siftscience",
        "statsig",
        "statsigapi",
        "statsigcdn",
        "tailnet",
        "tmpl",
        "trimpath",
        "unbuilt",
        "usefathom",
        "worktree"
    ]
}


You can also copy-paste megalinter-reports/LINTER_DEFAULT at the root of your repository

(Truncated to last 10000 characters out of 24940)
⚠️ GO / golangci-lint - 1 error
level=error msg="[formatter] gci: command \"go env -json GOMOD\": exec: \"go\": executable file not found in $PATH: "
level=warning msg="[gomod_salt] Failed to calculate go.mod salt: failed to get goenv: command \"go env -json GOMOD\": exec: \"go\": executable file not found in $PATH: "
level=warning msg="Failed to discover go env: command \"go env -json GOCACHE GOROOT\": exec: \"go\": executable file not found in $PATH: "
level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: go command required, not found: exec: \"go\": executable file not found in $PATH: stderr: "
⚠️ COPYPASTE / jscpd - 3 errors
Using config from megalinter-reports/jscpd-config.json
Clone found (go)
 - internal/output/output.go [93:36 - 98:112] (6 lines, 51 tokens)
   internal/output/output.go [113:40 - 118:112]
Clone found (go)
 - internal/source/clash.go [67:5 - 72:5] (6 lines, 53 tokens)
   internal/source/clash.go [74:4 - 79:7]
Clone found (go)
 - internal/source/load.go [64:32 - 69:16] (6 lines, 50 tokens)
   internal/source/load.go [103:31 - 108:16]
┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format     │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ css        │ 1              │ 172         │ 851          │ 0            │ 0 (0.00%)        │ 0 (0.00%)         │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go         │ 20             │ 2615        │ 18108        │ 3            │ 15 (0.57%)       │ 154 (0.85%)       │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 5              │ 1132        │ 6902         │ 0            │ 0 (0.00%)        │ 0 (0.00%)         │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt        │ 3              │ 57          │ 358          │ 0            │ 0 (0.00%)        │ 0 (0.00%)         │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total:     │ 29             │ 3976        │ 26219        │ 3            │ 15 (0.38%)       │ 154 (0.59%)       │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 3 clones.
HTML report saved to megalinter-reports/copy-paste/jscpd-report.html
ERROR: jscpd found too many duplicates (0.4%) over threshold (0.0%)
time: 103.450ms
⚠️ ACTION / zizmor - 1 error
INFO zizmor: 🌈 zizmor v1.25.0
fatal: no audit was performed
'artipacked' audit failed on file://.github/workflows/build.yml

Caused by:
    0: error in 'artipacked' audit
    1: couldn't list tags for actions/checkout
    2: request error while accessing GitHub API
    3: HTTP status client error (401 Unauthorized) for url (https://github.com/actions/checkout.git/git-upload-pack)

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: GIT. See Removed linters to find their replacements.

See detailed reports in MegaLinter artifacts

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.10 → v0.17.2](astral-sh/ruff-pre-commit@v0.16.10...v0.17.2)
- [github.com/oxc-project/mirrors-oxfmt: v0.71.0 → v0.74.0](oxc-project/mirrors-oxfmt@v0.71.0...v0.74.0)
- [github.com/rvben/rumdl-pre-commit: v0.2.78 → v0.3.0](rvben/rumdl-pre-commit@v0.2.78...v0.3.0)

This branch had an error being deployed

1 failed (outdated) deployment
MegaLinter — a141c5ae Deployed Apr 20, 2026 by pre-commit-ci[bot] via MegaLinter #421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant