intel / cve-bin-tool

The CVE Binary Tool helps you determine if your system includes known vulnerabilities. You can scan binaries for over 200 common, vulnerable components (openssl, libpng, libxml2, expat and others), or if you know the components used, you can get a list of known vulnerabilities associated with an SBOM or a list of components and versions.
https://cve-bin-tool.readthedocs.io/en/latest/
GNU General Public License v3.0
1.24k stars 464 forks source link

feat: replacing to ruff python instead black and flake8 #4534

Open slowy07 opened 3 weeks ago

slowy07 commented 3 weeks ago

Description

i thinks its be better using more responsive or fast formatter and linter check using ruff cause black its issue at perfomance on specially scaleable project, for information about ruff you can check here

image

for style guide from python you can check on ruff readme.md

terriko commented 3 weeks ago

Duplicating what I said in the pull request: I'm tentatively interested in giving this a shot but...

I'm going to approve this to run and see if anything weird happens when it runs so we can decide what to do next, but just be warned that there's a bunch of work that would need to be done before we can really start using ruff to replace the existing linters.

I will add here that a difference in a few seconds for a linter basically isn't something I care about -- we're talking a full test suite that takes an hour to run, so the bigger concern for us is how much time it'll take to fix the toolchain issues and docs.