mirror of
https://github.com/mandiant/capa.git
synced 2026-04-28 11:53:20 -07:00
* lint: replace isort/flake8 with ruff
* update ruff links
* remove stale isort reference
* update CHANGELOG
* address review
* remove unused imports
* remove unnecessary list comprehension
* remove quotes from type annotation
* use dict.get instead of if-else block
* remove unnecessary utf-8 encoding declaration
* Revert "remove unused imports"
This reverts commit 18ba50a22b.
* skip check for unused imports
* fix UP036 Version block is outdated for minimum Python version
* add TODO comment for unused imports
* replace black with ruff
* address review comments
18 lines
333 B
Makefile
18 lines
333 B
Makefile
@ruff-format:
|
|
pre-commit run ruff-format --show-diff-on-failure --all-files
|
|
|
|
@ruff:
|
|
pre-commit run ruff --all-files
|
|
|
|
@mypy:
|
|
pre-commit run mypy --hook-stage manual --all-files
|
|
|
|
@deptry:
|
|
pre-commit run deptry --hook-stage manual --all-files
|
|
|
|
@lint:
|
|
-just ruff
|
|
-just ruff-format
|
|
-just mypy
|
|
-just deptry
|