Skip to main content

SLYP

Stephen Lints Your Python

An opinionated linter and fixer.

PyPI - Version PyPI - Python Version

Full documentation: https://slyp.readthedocs.io/en/latest/index.html


Table of Contents

Hi

:wave:

I'm Stephen. I'm going to lint (and fix) your Python code.

I wrote this linter because nothing else out there implemented these rules, and some of them needed CST (rather than AST), so there was no plugin framework (e.g. flake8 plugins) which I could use.

I hope it helps you.

Installation

slyp is a python package and can be run as a pre-commit hook.

On supported python versions, it should be installed with

pip install slyp

Usage

Either use it as a CLI tool:

slyp

Or as a pre-commit hook using the following pre-commit-config.yaml:

- repo: https://github.com/sirosen/slyp
  rev: 0.10.1
  hooks:
    - id: slyp

License

slyp is distributed under the terms of the MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slyp-0.10.1.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slyp-0.10.1-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file slyp-0.10.1.tar.gz.

File metadata

  • Download URL: slyp-0.10.1.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for slyp-0.10.1.tar.gz
Algorithm Hash digest
SHA256 5a3d590e6730418723ed066a9c6d42fbb05a30ab8715c079594b3051f573ac35
MD5 cb8493c306c30bb0fa23c9e2614ae213
BLAKE2b-256 516ee5f8ba8c2c30cec7de63a70fa1fca4623ef3cd80bad6589e97e8c27f4dc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for slyp-0.10.1.tar.gz:

Publisher: publish.yaml on sirosen/slyp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file slyp-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: slyp-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for slyp-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b54512659832b48a6f364344627cbcea9cefae70b0e12218c7518390b06a899
MD5 0836db3dcb2a80ddfb2961144c2ee908
BLAKE2b-256 c89464fc04b3a32dc48f8c5e43fc3e3c19ea1e95a51ce29b5036464069a20f61

See more details on using hashes here.

Provenance

The following attestation bundles were made for slyp-0.10.1-py3-none-any.whl:

Publisher: publish.yaml on sirosen/slyp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.10.3

2 files

0.10.2

2 files

This release

0.10.1 This release

2 files

0.10.0

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 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