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.3
  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.3.tar.gz (42.2 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.3-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slyp-0.10.3.tar.gz
  • Upload date:
  • Size: 42.2 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.3.tar.gz
Algorithm Hash digest
SHA256 0c8ade9ebfbc55fdeef7a1f9f84dd0836007e74b1b821a59b07c38b922f9e922
MD5 9cfd2cc4c7d69b0f291e0c398973bcc0
BLAKE2b-256 9198a18a64a01eaaae7af6e8d4862d9cd319a90a472eee4f2c925a7118250a8a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: slyp-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 33.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3102e497ad964369d8160f338a2fb45bd06b44d4c9c9f4a29aba4e5989b46d99
MD5 90caf626a5f922921a161fe6c1764a6d
BLAKE2b-256 346a25c673c4cb8958fcb82bfacdfac67bdef50c5c1ea8f2fda35c8c73590577

See more details on using hashes here.

Provenance

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

This release

0.10.3 This release

2 files

0.10.2

2 files

0.10.1

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