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

Uploaded Source

Built Distribution

slyp-0.8.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slyp-0.8.1.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for slyp-0.8.1.tar.gz
Algorithm Hash digest
SHA256 5e91d77c9ce94debd3f707cd537474e447e92401d269d5e5149aa9aa8789aede
MD5 52981875cbbf9709b26cd8df7d6f7d80
BLAKE2b-256 0bc412c606633a5b29595babdeb85d5d78384272520f76625f83b7f26837a391

See more details on using hashes here.

File details

Details for the file slyp-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: slyp-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for slyp-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02400c4ceba183c606ba39abddef6d87633230fd5129f668ba17467ca63fe88e
MD5 9a4580338b2832194b2e95b27003ad0f
BLAKE2b-256 ed9454bfe85fb3dd9d85ff456110991cbd73c91ea1046008ae36c4671a02c953

See more details on using hashes here.

Supported by

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