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.0
  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.0.tar.gz (42.1 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.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slyp-0.10.0.tar.gz
  • Upload date:
  • Size: 42.1 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.0.tar.gz
Algorithm Hash digest
SHA256 4d68ec83e761f4a54368469ba656e184bb6a1696987f8b1973af0369226d0fdc
MD5 87088b260d4932b082ec92a2fc334ab7
BLAKE2b-256 938f736af2a0a99139365c1f1a7ccf0e93a596a49f0acadcaab003125c670656

See more details on using hashes here.

Provenance

The following attestation bundles were made for slyp-0.10.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: slyp-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ebfa186d74bd800b7e013192a1ecd36d262dc1dc6640bffe976f80285fd467
MD5 0d6ff5287303d0a674d9216041ceef53
BLAKE2b-256 b632d37ef8f03cfc238bd7e58b53617f51dcc7e54b34343a4d06a012a8e04700

See more details on using hashes here.

Provenance

The following attestation bundles were made for slyp-0.10.0-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

0.10.1

2 files

This release

0.10.0 This release

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