Skip to content

Commit

Permalink
Merge branch 'main' into gs_slam_tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticuszz authored Sep 1, 2024
2 parents a51fc2e + 6f36ab6 commit 2ce4958
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 107 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
args: [ "--fix=lf" ]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
files: \.(py|sh|rst|yml|yaml)$
Expand Down Expand Up @@ -52,28 +52,28 @@ repos:
]

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

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

- repo: https://github.com/commitizen-tools/commitizen
rev: v3.25.0
rev: v3.28.0
hooks:
- id: commitizen
# 确保commit信息遵循Conventional Commits标准
stages: [ commit-msg ]

- repo: 'https://github.com/PyCQA/flake8'
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
args:
Expand All @@ -83,7 +83,7 @@ repos:
types: [ python ]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.1
hooks:
- id: mypy
args: [ --ignore-missing-imports,--disallow-untyped-defs, --show-error-codes ]
Expand Down
Loading

0 comments on commit 2ce4958

Please sign in to comment.