darglint VS ruff

Compare darglint vs ruff and see what are their differences.

darglint

A python documentation linter which checks that the docstring description matches the definition. (by terrencepreilly)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
darglint ruff
2 97
464 27,076
- 5.9%
10.0 10.0
over 1 year ago 6 days ago
Python Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

darglint

Posts with mentions or reviews of darglint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-14.
  • Ruff: An fast Python linter, written in Rust
    6 projects | news.ycombinator.com | 14 Feb 2023
    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 :)

  • Why Type Hinting Sucks!
    7 projects | /r/Python | 10 Feb 2023
    That's what tools like darglint are for (yes, I'm aware darglint was recently moved to maintenance mode).

ruff

Posts with mentions or reviews of ruff. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.

What are some alternatives?

When comparing darglint and ruff you can also consider the following projects:

pydoctest - Python docstring signature verification

black - The uncompromising Python code formatter

mypy - Optional static typing for Python

pyright - Static Type Checker for Python

Pylint - It's not just a linter that annoys you!

Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

prospector - Inspects Python source files and provides information about type and location of classes, methods etc

pytype - A static type analyzer for Python code

flake8

Poetry - Python packaging and dependency management made easy

pylama - Code audit tool for python.