mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
Add deptry support (#2085)
* Add deptry support This commit resolves #1497. Note: known_first_party refers to modules that are supposed to be local, i.e. idaapi, ghidra, java, binaryninja, ... etc. * adjust running stages for deptry hook * adjust deptry exclusions, and humanize dependency --------- Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma>
This commit is contained in:
@@ -127,3 +127,13 @@ repos:
|
||||
- "--ignore=tests/test_scripts.py"
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: deptry
|
||||
name: deptry
|
||||
stages: [push, manual]
|
||||
language: system
|
||||
entry: deptry .
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
|
||||
Reference in New Issue
Block a user