Skip to main content

no-slop

Detect AI-generated code patterns via static analysis

Python 3.10+ mypy flake8
CI codecov PyPI
License: MIT

[!NOTE] Why mypy/flake8? Ruff and ty don't support external plugins (ruff#283, ty blog).

Install

pip install no-slop

Usage

mypy plugin (redundant type checks):

# pyproject.toml
[tool.mypy]
plugins = ["no_slop.mypy_plugin"]

flake8 plugin (style checks) - auto-registers on install:

flake8 your_project/

Unused defaults CLI:

no-slop-unused-defaults /path/to/project

What it detects

  • Redundant isinstance/hasattr/getattr/callable when types guarantee the result
  • Runtime checks on Any/untyped values (add types instead)
  • ASCII art, emojis, excessive docstrings
  • Default parameters never used by any call site

See docs.md for full documentation.

Metadata

Release files for no-slop 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for no-slop 0.5.0
File Size Uploaded
no_slop-0.5.0.tar.gz 42.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for no-slop 0.5.0
File Interpreter ABI Platform
no_slop-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.6 kB

Release files / no_slop-0.5.0.tar.gz

Download URL no_slop-0.5.0.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4247c47edd48f4749fded43fd5dc8247ae9b47610923321232bb999fccb92f92
BLAKE2b-256 checksum
How to use checksums
fd30fcab882738c04e046905d6fef9b3aa0b04f3354f9d72fadc4f9d15410bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Release files / no_slop-0.5.0-py3-none-any.whl

Download URL no_slop-0.5.0-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
940393b66763fc8428ace50d33c48be578046fa011860950f33f17f65d0d9f20
BLAKE2b-256 checksum
How to use checksums
0f4156c3abd6ae6a13db4ecbf888e137ab2917f768de3875bd8e313011db597e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page