Skip to main content

Stephen Lints Your Python

Project description

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.9.0
  hooks:
    - id: slyp

License

slyp is distributed under the terms of the MIT license.

Project details


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.9.0.tar.gz (39.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.9.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slyp-0.9.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for slyp-0.9.0.tar.gz
Algorithm Hash digest
SHA256 15e7fc2c2a7c69f65a06057d9d7bf48a47c6178a96d26394a5959170dbcd4575
MD5 26b97536e17fa6e4ae572888e734f04c
BLAKE2b-256 35b97c85970c99664a099841d75bf34a9b1f56b382dfcfb3d2771c4169af7321

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: slyp-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for slyp-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a52817c235921d33261d600ae43385762906193e51c2d2b58b7d88fec60b3be7
MD5 39d50c22ee61fee0ba138290dd5f1d4a
BLAKE2b-256 5bfb7f980ebea7949294ac855d750c41ba3f87d4c1ba586bb3b57301dd7f4601

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page