Content-Length: 278939 | pFad | http://github.com/gitpython-developers/GitPython/commit/00ff7e33c4c44adb9d75f92a1590cb3e3dc45729

E1 Let Ruff scan doc/source/conf.py · gitpython-developers/GitPython@00ff7e3 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gitpython-developers/GitPython/commit/00ff7e33c4c44adb9d75f92a1590cb3e3dc45729

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy