Metadata-Version: 2.4
Name: simplint
Version: 0.3.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Utilities
License-File: LICENSE.txt
Summary: Ruff companion linter with extra checks that make Python easier to read and review
Keywords: linter,python,ruff,style
Author-email: Bernat Gabor <gaborjbernat@gmail.com>
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Bug Tracker, https://github.com/gaborbernat/simplint/issues
Project-URL: Changelog, https://github.com/gaborbernat/simplint/blob/main/CHANGELOG.md
Project-URL: Documentation, https://simplint.readthedocs.io/en/latest/
Project-URL: Homepage, https://github.com/gaborbernat/simplint
Project-URL: Source Code, https://github.com/gaborbernat/simplint

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/gaborbernat/simplint/main/docs/_static/wordmark-dark.png">
    <img alt="simplint" src="https://raw.githubusercontent.com/gaborbernat/simplint/main/docs/_static/wordmark-light.png" width="420">
  </picture>
</p>

# simplint

[![PyPI](https://img.shields.io/pypi/v/simplint?style=flat-square)](https://pypi.org/project/simplint)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/simplint?style=flat-square)](https://pypi.org/project/simplint)
[![Downloads](https://static.pepy.tech/badge/simplint/month)](https://pepy.tech/project/simplint)
[![PyPI - License](https://img.shields.io/pypi/l/simplint?style=flat-square)](https://opensource.org/licenses/MIT)
[![Build](https://github.com/gaborbernat/simplint/actions/workflows/build.yaml/badge.svg)](https://github.com/gaborbernat/simplint/actions/workflows/build.yaml)
[![Test](https://github.com/gaborbernat/simplint/actions/workflows/test.yaml/badge.svg)](https://github.com/gaborbernat/simplint/actions/workflows/test.yaml)
[![Documentation status](https://readthedocs.org/projects/simplint/badge/?version=latest)](https://simplint.readthedocs.io/en/latest/)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/gaborbernat/simplint/badge)](https://scorecard.dev/viewer/?uri=github.com/gaborbernat/simplint)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/16281/badge)](https://www.bestpractices.dev/projects/16281)

simplint is a companion linter for [Ruff](https://docs.astral.sh/ruff/), written in [Rust](https://www.rust-lang.org/).
It adds checks that make Python code easier to read and review, and fixes what it reports when the fix is mechanical.
The checks cover
[definitions ordered like a book](https://simplint.readthedocs.io/en/latest/_generated/rules/SMP020.html),
[explicit exports](https://simplint.readthedocs.io/en/latest/_generated/rules/SMP103.html),
[flat test modules](https://simplint.readthedocs.io/en/latest/_generated/rules/SMP200.html) and more. The rules are
opinionated. They reflect the maintainer's preferences while aiming to be as objective as possible.

Install it with `uv tool install simplint` ([uv](https://docs.astral.sh/uv/)) or `pipx install simplint`
([pipx](https://pipx.pypa.io/stable/)), then run `simplint check .` from the project root.

- [Documentation](https://simplint.readthedocs.io/en/latest/): installation, quick start and
  [pre-commit](https://pre-commit.com/) hook
- [Configuration](https://simplint.readthedocs.io/en/latest/configuration.html)
- [Rules](https://simplint.readthedocs.io/en/latest/rules.html)
- [PyPI package](https://pypi.org/project/simplint)
- [Release history](https://github.com/gaborbernat/simplint/blob/main/CHANGELOG.md)
- [CONTRIBUTING.md](https://github.com/gaborbernat/simplint/blob/main/CONTRIBUTING.md): repository layout and
  development commands

