Skip to content

Commit

Permalink
Merge pull request #5 from Atticuszz/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] autoupdate
  • Loading branch information
AtticusZeller authored Nov 4, 2024
2 parents 7ee8fc9 + b9ecd0f commit bf6aebf
Show file tree
Hide file tree
Showing 52 changed files with 157 additions and 161 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: '^.*\.(md|MD|xml|ini|cfg|txt)$|^\.idea/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-yaml
# 检查YAML文件是否格式正确
Expand Down Expand Up @@ -52,21 +52,21 @@ repos:
]

- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.19.0
hooks:
- id: pyupgrade
# 将Python代码升级到新版本的Python语法
args: [ "--py310-plus" ]

- repo: https://github.com/psf/black
rev: "24.8.0"
rev: "24.10.0"
hooks:
- id: black
# 自动格式化Python代码,符合PEP 8风格指南
args: [--line-length=88]

- repo: https://github.com/commitizen-tools/commitizen
rev: v3.28.0
rev: v3.30.0
hooks:
- id: commitizen
# 确保commit信息遵循Conventional Commits标准
Expand All @@ -83,7 +83,7 @@ repos:
types: [ python ]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
rev: v1.13.0
hooks:
- id: mypy
args: [ --ignore-missing-imports,--disallow-untyped-defs, --show-error-codes ]
Expand Down
2 changes: 1 addition & 1 deletion .vscode/PythonImportHelper-v2-Completion.json
Original file line number Diff line number Diff line change
Expand Up @@ -15778,4 +15778,4 @@
"detail": "thirdparty.small_gicp.src.test.python_test",
"documentation": {}
}
]
]
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"DockerRun.DisableAutoGenerateConfig": true,
"editor.cursorSmoothCaretAnimation": "on",
"cmake.sourceDirectory": "/home/atticuszz/DevSpace/python/GsplatLoc/thirdparty/SplaTAM/diff-gaussian-rasterization-w-depth.git/third_party/glm/glm"
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"useMarkdownLinks": false,
"newLinkFormat": "absolute",
"trashOption": "local"
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/appearance.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"baseFontSize": 17,
"textFontFamily": "",
"monospaceFontFamily": "JetBrains Mono"
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"obsidian-linter",
"darlal-switcher-plus",
"obsidian-pandoc-reference-list"
]
]
2 changes: 1 addition & 1 deletion docs/.obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"canvas": true,
"properties": true,
"bookmarks": true
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"workspaces",
"file-recovery",
"publish"
]
]
2 changes: 1 addition & 1 deletion docs/.obsidian/hotkeys.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@
"key": "W"
}
]
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/plugins/editing-toolbar/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@
"custom_fc4": "#6425D0",
"custom_fc5": "#646A73",
"isLoadOnMobile": false
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/plugins/obsidian-enhancing-export/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
"win32": "C:\\Users\\18317\\DevSpace\\DocHub/essay/texs"
},
"lastExportType": "PDF"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package.path=package.path..";" ..debug.getinfo(1).source:match("(.*[/\\])"):sub(

Mode='hugo'

require('markdown')
require('markdown')
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ function process(el)
return el
end

function RawInline(el)
function RawInline(el)
return process(el)
end

function RawBlock(el)
function RawBlock(el)
return process(el)
end

Expand All @@ -60,9 +60,3 @@ end
function BulletList(el)
return process(el)
end






Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ end
return {
os = os,
string = string
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ end
return {
encode = encode,
decode = decode
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"author": "YISH",
"authorUrl": "https://github.com/mokeyish",
"isDesktopOnly": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
$if(indent)$
$else$

\usepackage{pgfpages}
\usepackage{pgfpages}
\usepackage[export]{adjustbox}
\usepackage{graphicx}
\usepackage{ragged2e}
Expand Down Expand Up @@ -1042,7 +1042,7 @@
\end{flushleft}
\end{titlepage}
\restoregeometry
\pagenumbering{arabic}
\pagenumbering{arabic}
$endif$
$endif$
Expand All @@ -1067,10 +1067,10 @@
$if(abstract)$
$abstract$
$else$
Add your abstract at the beginning of your markdown file like this
Add your abstract at the beginning of your markdown file like this
\begin{verbatim}
---
title: "Your Title"
title: "Your Title"
abstract: "your abstract here"
author: Leonardo V. Castorina, Another 1, Another 2
titlepage-logo: /absolute/path/to/logo.pdf
Expand Down Expand Up @@ -1207,4 +1207,4 @@
$include-after$
$endfor$
\end{document}
\end{document}
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
\else
\if@neuripsfinal
\newcommand{\@noticestring}{%
(\@neuripsyear) \@title
(\@neuripsyear) \@title
}
\else
\newcommand{\@noticestring}{%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
\title{$title$}


% Iterate through the authors except last to add \And.
% Iterate through the authors except last to add \And.

\author{%
$for(authors/allbutlast)$
Expand Down Expand Up @@ -151,10 +151,10 @@
$if(abstract)$
$abstract$
$else$
Add your abstract at the beginning of your markdown file like this
Add your abstract at the beginning of your markdown file like this
\begin{verbatim}
---
title: "Your Title"
---
title: "Your Title"
abstract: "your abstract here"
authors:
- name: Leonardo V. Castorina
Expand All @@ -179,4 +179,4 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\end{document}
\end{document}
Original file line number Diff line number Diff line change
Expand Up @@ -779,4 +779,4 @@
],
"showSplashscreen": true,
"autosaveInterval": 15000
}
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/.obsidian/plugins/obsidian-git/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
"lastShownDateTimeFormatOptions": "date"
},
"autoCommitMessage": "vault backup: {{date}}"
}
}
2 changes: 1 addition & 1 deletion docs/.obsidian/plugins/obsidian-git/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"deleteSource": false,
"imageDesc": "none",
"remoteServerMode": false
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/.obsidian/plugins/obsidian-image-toolkit/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf6aebf

Please sign in to comment.