mirror of
https://github.com/mandiant/capa.git
synced 2025-12-05 20:40:05 -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:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -45,7 +45,9 @@ jobs:
|
||||
- name: Lint with flake8
|
||||
run: pre-commit run flake8 --hook-stage manual
|
||||
- name: Check types with mypy
|
||||
run: pre-commit run mypy --hook-stage manual
|
||||
run: pre-commit run mypy --hook-stage manual
|
||||
- name: Check imports against dependencies
|
||||
run: pre-commit run deptry --hook-stage manual
|
||||
|
||||
rule_linter:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
Reference in New Issue
Block a user