capa/scripts
Mike Hunhoff ed7e0cd77d
lint: replace black/isort/flake8 with ruff (#2992)
* 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 18ba50a22bce3f3a0aff56e9a48d1091ccfdd6e5.

* 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
2026-04-07 12:10:41 -06:00
..
bulk-process.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
cache-ruleset.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
capa-as-library.py capabilities: use dataclasses to represent complicated return types 2025-01-29 02:25:06 -07:00
capa2sarif.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
capa2yara.py build(deps): bump flake8 from 7.1.1 to 7.2.0 (#2648) 2025-05-30 12:09:16 -06:00
capafmt.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
compare-backends.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
detect-backends.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
detect-binexport2-capabilities.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
detect-elf-os.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
detect_duplicate_features.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
import-to-bn.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
import-to-ida.py Replace binascii and struct with native Python methods (#2582) 2025-02-04 09:53:36 +01:00
inspect-binexport2.py [copyright + license] Fix headers 2025-01-15 08:52:42 -07:00
lint.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
linter-data.json
match-function-id.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
minimize_vmray_results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
profile-memory.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
profile-time.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
proto-from-results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
proto-to-results.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
setup-linter-dependencies.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
show-capabilities-by-function.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
show-features.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
show-unused-features.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00