File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ or `--help`:
52
52
| [ ` lint-python-dead-code.py ` ] ( /test/lint/lint-python-dead-code.py ) | [ vulture] ( https://github.com/jendrikseipp/vulture )
53
53
| [ ` lint-shell.py ` ] ( /test/lint/lint-shell.py ) | [ ShellCheck] ( https://github.com/koalaman/shellcheck )
54
54
| [ ` lint-spelling.py ` ] ( /test/lint/lint-spelling.py ) | [ codespell] ( https://github.com/codespell-project/codespell )
55
+ | ` py_lint ` | [ ruff] ( https://github.com/astral-sh/ruff )
55
56
| markdown link check | [ mlc] ( https://github.com/becheran/mlc )
56
57
57
58
In use versions and install instructions are available in the [ CI setup] ( ../../ci/lint/04_install.sh ) .
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ fn get_linter_list() -> Vec<&'static Linter> {
36
36
lint_fn: lint_markdown
37
37
} ,
38
38
& Linter {
39
- description: "Check the default arguments in python " ,
40
- name: "py_mut_arg_default " ,
41
- lint_fn: lint_py_mut_arg_default ,
39
+ description: "Lint Python code " ,
40
+ name: "py_lint " ,
41
+ lint_fn: lint_py_lint ,
42
42
} ,
43
43
& Linter {
44
44
description: "Check that std::filesystem is not used directly" ,
@@ -185,7 +185,7 @@ fn lint_subtree() -> LintResult {
185
185
}
186
186
}
187
187
188
- fn lint_py_mut_arg_default ( ) -> LintResult {
188
+ fn lint_py_lint ( ) -> LintResult {
189
189
let bin_name = "ruff" ;
190
190
let checks = [ "B006" , "B008" ]
191
191
. iter ( )
You can’t perform that action at this time.
0 commit comments