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.8.2
  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.8.2.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

slyp-0.8.2-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slyp-0.8.2.tar.gz
Algorithm Hash digest
SHA256 332bee451ed5c76ce2b9529b881e08a2b34964b15ac165527e92391c06a0b5d6
MD5 6a0b879780242aeb4090f2193b1c1402
BLAKE2b-256 9976b1147294ea77526cee2947b4aa704800fe28ae247596a2b036c1aa2a952c

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for slyp-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 353eb7f23056adfee9596f5a27b6dc7932859540b263f082bda8d72627400ed1
MD5 76699c64f63d08e4577a86751e6ab1e0
BLAKE2b-256 328d0f3c0923906e2cc61d8b2351cf6c73644c03c999792ded546b7f689cf8ad

See more details on using hashes here.

Provenance

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

Supported by

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