mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
make type checks viable
This commit is contained in:
@ -41,16 +41,15 @@ repos:
|
||||
- id: ruff
|
||||
args: ["--fix", "--show-fixes"]
|
||||
- id: ruff-format
|
||||
exclude: ^(docs)
|
||||
exclude: ^(docs)|^(tests)|^(examples)
|
||||
|
||||
## Checking static types
|
||||
#- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
# rev: "v1.10.0"
|
||||
# hooks:
|
||||
# - id: mypy
|
||||
# files: "setup.py"
|
||||
# args: []
|
||||
# additional_dependencies: [types-setuptools]
|
||||
# Checking static types
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: "v1.10.0"
|
||||
hooks:
|
||||
- id: mypy
|
||||
exclude: ^(tests)|^(examples)
|
||||
additional_dependencies: [types-setuptools]
|
||||
|
||||
# Changes tabs to spaces
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
|
||||
Reference in New Issue
Block a user