Skip to content

Commit b0cff9d

Browse files
conda -> uv and update readme and agents.md
1 parent a984a3d commit b0cff9d

32 files changed

+2025
-1458
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
6+
rev: v6.0.0
77
hooks:
88
# list of supported hooks: https://pre-commit.com/hooks.html
99
- id: trailing-whitespace
@@ -19,58 +19,28 @@ repos:
1919

2020
# python code formatting
2121
- repo: https://github.com/psf/black
22-
rev: 23.1.0
22+
rev: 25.11.0
2323
hooks:
2424
- id: black
2525
args: [--line-length, "99"]
2626

2727
# python import sorting
2828
- repo: https://github.com/PyCQA/isort
29-
rev: 5.12.0
29+
rev: 7.0.0
3030
hooks:
3131
- id: isort
3232
args: ["--profile", "black", "--filter-files"]
3333

3434
# python upgrading syntax to newer version
3535
- repo: https://github.com/asottile/pyupgrade
36-
rev: v3.3.1
36+
rev: v3.21.2
3737
hooks:
3838
- id: pyupgrade
39-
args: [--py38-plus]
40-
41-
# python docstring formatting
42-
- repo: https://github.com/myint/docformatter
43-
rev: v1.7.4
44-
hooks:
45-
- id: docformatter
46-
args:
47-
[
48-
--in-place,
49-
--wrap-summaries=99,
50-
--wrap-descriptions=99,
51-
--style=sphinx,
52-
--black,
53-
]
54-
55-
# python docstring coverage checking
56-
- repo: https://github.com/econchick/interrogate
57-
rev: 1.5.0 # or master if you're bold
58-
hooks:
59-
- id: interrogate
60-
args:
61-
[
62-
--verbose,
63-
--fail-under=80,
64-
--ignore-init-module,
65-
--ignore-init-method,
66-
--ignore-module,
67-
--ignore-nested-functions,
68-
-vv,
69-
]
39+
args: [--py313-plus]
7040

7141
# python check (PEP8), programming errors and code complexity
7242
- repo: https://github.com/PyCQA/flake8
73-
rev: 6.0.0
43+
rev: 7.3.0
7444
hooks:
7545
- id: flake8
7646
args:
@@ -84,64 +54,21 @@ repos:
8454

8555
# python security linter
8656
- repo: https://github.com/PyCQA/bandit
87-
rev: "1.7.5"
57+
rev: "1.9.1"
8858
hooks:
8959
- id: bandit
9060
args: ["-s", "B101"]
9161

9262
# yaml formatting
9363
- repo: https://github.com/pre-commit/mirrors-prettier
94-
rev: v3.0.0-alpha.6
64+
rev: v4.0.0-alpha.8
9565
hooks:
9666
- id: prettier
9767
types: [yaml]
9868
exclude: "environment.yaml"
9969

10070
# shell scripts linter
10171
- repo: https://github.com/shellcheck-py/shellcheck-py
102-
rev: v0.9.0.2
72+
rev: v0.11.0.1
10373
hooks:
10474
- id: shellcheck
105-
106-
# md formatting
107-
- repo: https://github.com/executablebooks/mdformat
108-
rev: 0.7.16
109-
hooks:
110-
- id: mdformat
111-
args: ["--number"]
112-
additional_dependencies:
113-
- mdformat-gfm
114-
- mdformat-tables
115-
- mdformat_frontmatter
116-
# - mdformat-toc
117-
# - mdformat-black
118-
119-
# word spelling linter
120-
- repo: https://github.com/codespell-project/codespell
121-
rev: v2.2.4
122-
hooks:
123-
- id: codespell
124-
args:
125-
- --skip=logs/**,data/**,*.ipynb
126-
# - --ignore-words-list=abc,def
127-
128-
# jupyter notebook cell output clearing
129-
- repo: https://github.com/kynan/nbstripout
130-
rev: 0.6.1
131-
hooks:
132-
- id: nbstripout
133-
134-
# jupyter notebook linting
135-
- repo: https://github.com/nbQA-dev/nbQA
136-
rev: 1.6.3
137-
hooks:
138-
- id: nbqa-black
139-
args: ["--line-length=99"]
140-
- id: nbqa-isort
141-
args: ["--profile=black"]
142-
- id: nbqa-flake8
143-
args:
144-
[
145-
"--extend-ignore=E203,E402,E501,F401,F841",
146-
"--exclude=logs/*,data/*",
147-
]

0 commit comments

Comments
 (0)