Skip to content

Commit

Permalink
MAINT: Add all submodules to ruff excluded list.
Browse files Browse the repository at this point in the history
Do not lint/fix submodules. The list here excludes even those
submodules with no Python code.
  • Loading branch information
charris committed Dec 17, 2024
1 parent 4764659 commit 0e5bf57
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ exclude = [
"numpy/typing/_char_codes.py",
"numpy/typing/tests/data",
"spin/cmds.py",
"vendored-meson",
# Submodules.
"doc/source/_static/scipy-mathjax",
"vendored-meson/meson",
"numpy/fft/pocketfft",
"numpy/_core/src/umath/svml",
"numpy/_core/src/npysort/x86-simd-sort",
"numpy/_core/src/highway",
"numpy/_core/src/common/pythoncapi-compat",
]

[lint]
Expand Down

0 comments on commit 0e5bf57

Please sign in to comment.