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:
Fariss
2024-05-31 09:43:10 +02:00
committed by GitHub
parent 0ac21f036c
commit 2e5da3e2bd
4 changed files with 88 additions and 2 deletions

View File

@@ -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