Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00ff7e3

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 outof a concern than some flake8 plugin would catch something in thedocs themselves, but that's no longer an issue.The doc/build directory, which should still not be scanned, isalready excluded in other ways (and does not need to be excludedfor pre-commit to improve performance, since it is untracked).
1 parente880c33 commit00ff7e3

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)

[8]ページ先頭

©2009-2025 Movatter.jp