Skip to content

Commit 2fdf8e6

Browse files
committed
Scope mypy pre-commit hook to python_anticaptcha package only
The hook was checking all files (tests, examples, docs) which have untyped functions. Restrict to the package directory only. https://claude.ai/code/session_01NzfYD4hhH5nqhu8mgnMXPt
1 parent ef5fbde commit 2fdf8e6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ repos:
1111
hooks:
1212
- id: mypy
1313
additional_dependencies: [types-requests>=2.31]
14+
files: ^python_anticaptcha/
15+
pass_filenames: false
16+
args: [python_anticaptcha]

0 commit comments

Comments
 (0)