Skip to content

Commit 00ff7e3

Browse files
committed
Let Ruff scan doc/source/conf.py
And other .py files in doc/, if there ever were any. This may have been turned off before either for performance or out of a concern than some flake8 plugin would catch something in the docs themselves, but that's no longer an issue. The doc/build directory, which should still not be scanned, is already excluded in other ways (and does not need to be excluded for pre-commit to improve performance, since it is untracked).
1 parent e880c33 commit 00ff7e3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
exclude: ^git/ext/
88
- id: ruff
99
args: ["--fix"]
10-
exclude: ^doc|^git/ext/
10+
exclude: ^git/ext/
1111

1212
- repo: https://github.com/shellcheck-py/shellcheck-py
1313
rev: v0.9.0.5

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ line-length = 120
4848
# Exclude a variety of commonly ignored directories.
4949
exclude = [
5050
"git/ext/",
51-
"doc",
5251
"build",
5352
"dist",
5453
]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy