Skip to content

Commit 0672d2d

Browse files
authored
PYTHON-3141 Add slotscheck to pre-commit checks (mongodb#890)
1 parent a3f0f91 commit 0672d2d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ repos:
3434
rev: 3.9.2
3535
hooks:
3636
- id: flake8
37+
files: \.py$
3738
additional_dependencies: [
3839
'flake8-bugbear==20.1.4',
3940
'flake8-logging-format==0.6.0',
@@ -57,3 +58,11 @@ repos:
5758
files: ^\.github/workflows/
5859
types: [yaml]
5960
args: ["--schemafile", "https://json.schemastore.org/github-workflow"]
61+
62+
- repo: https://github.com/ariebovenberg/slotscheck
63+
rev: v0.14.0
64+
hooks:
65+
- id: slotscheck
66+
files: \.py$
67+
exclude: "^(test|tools)/"
68+
stages: [manual]

0 commit comments

Comments
 (0)