Ruff: An fast Python linter, written in Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

    I've never used, but have heard good things about darglint (although it's now archived): https://github.com/terrencepreilly/darglint

    A lot of folks want us to add that kind of enforcement to Ruff (https://github.com/charliermarsh/ruff/issues/458), and I want to do it, but it's a big project and some other stuff has higher priority :)

  • pydoctest

    Python docstring signature verification

    Tangential, but do any python users have a tool they like for testing that fully-formed doc comments (e.g. Google or numpy style) are correct, meaning the arg names and types reflect the function signature?

    Pydocstyle, pylint, and ruff will all check for some amount of presence and format, but if a type is wrong or an arg missing, you're on your own, AFAICT.

    I found pydoctest¹, but it looks somewhat unmaintained, and bugs like "doesn't work with relative imports" makes me hesitant to use it.

    ¹https://github.com/jepperaskdk/pydoctest

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • darglint

    Discontinued A python documentation linter which checks that the docstring description matches the definition.

    I've never used, but have heard good things about darglint (although it's now archived): https://github.com/terrencepreilly/darglint

    A lot of folks want us to add that kind of enforcement to Ruff (https://github.com/charliermarsh/ruff/issues/458), and I want to do it, but it's a big project and some other stuff has higher priority :)

  • babashka

    Native, fast starting Clojure interpreter for scripting

    Re distribution - for JVM, w GraalVM native image you can do that on JVM as well.

    For example Babashka is distributed like that (https://github.com/babashka/babashka/releases)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts