File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,23 +37,23 @@ repos:
3737 args :
3838 - --msg-filename
3939 - repo : https://github.com/editorconfig-checker/editorconfig-checker.python
40- rev : 3.4 .0
40+ rev : 3.6 .0
4141 hooks :
4242 - id : editorconfig-checker
4343 - repo : https://github.com/jumanjihouse/pre-commit-hooks
4444 rev : 3.0.0
4545 hooks :
4646 - id : check-mailmap
4747 - repo : https://github.com/rhysd/actionlint
48- rev : v1.7.8
48+ rev : v1.7.9
4949 hooks :
5050 - id : actionlint
5151 - repo : https://github.com/adrienverge/yamllint
5252 rev : v1.37.1
5353 hooks :
5454 - id : yamllint
5555 - repo : https://github.com/executablebooks/mdformat
56- rev : 0.7.22
56+ rev : 1.0.0
5757 hooks :
5858 - id : mdformat
5959 additional_dependencies :
@@ -62,12 +62,12 @@ repos:
6262 - mdformat-myst
6363 - mdformat-toc
6464 - mdformat-deflist
65- # - mdformat-beautysh
65+ - mdformat-beautysh
6666 - mdformat-ruff
6767 - mdformat-config
6868 - mdformat-web
6969 - repo : https://github.com/DavidAnson/markdownlint-cli2
70- rev : v0.18.1
70+ rev : v0.20.0
7171 hooks :
7272 - id : markdownlint-cli2
7373 additional_dependencies :
Original file line number Diff line number Diff line change 11--- base class for CodeStats
22local requests = require " requests"
3- local cjson = require " cjson"
3+ local json = require " cjson"
44local dotenv = require " lua-dotenv"
55
66local M = {
@@ -61,7 +61,7 @@ function M.CodeStats:send_xp()
6161 local xps = self .xps
6262 self .xps = {}
6363 local args = self .args
64- args .data = cjson .encode ({ xps = xps , coded_at = os.date (" !%Y-%m-%dT%H:%M:%S" ) })
64+ args .data = json .encode ({ xps = xps , coded_at = os.date (" !%Y-%m-%dT%H:%M:%S" ) })
6565 return requests .get (args )
6666end
6767
You can’t perform that action at this time.
0 commit comments