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.2
  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.2.tar.gz (42.0 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.2-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slyp-0.10.2.tar.gz
  • Upload date:
  • Size: 42.0 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.2.tar.gz
Algorithm Hash digest
SHA256 383b71b1b96e26cdfa9952d98f6c7cd448ee3e866ad11f1e5fefc76aa8aecbf4
MD5 7097ed32f962ec6923dfd3ee27c6a743
BLAKE2b-256 3169f6cb1ab0c669ad6d9a511a117f5dae1a69f9f9a2b31002e4a1d8a063e2cb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: slyp-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 33.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e44e7ad6340f900aa0563395e94c1c43490a123f1c304230b9f4167858714134
MD5 0ab6e41b00b38e090e171c81bd9069e2
BLAKE2b-256 037507d3fb98cea508325c1a2cbbd96d374654f2006fe1f12b120ec533c387c6

See more details on using hashes here.

Provenance

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

This release

0.10.2 This release

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