GitXplorerGitXplorer
s

slyp

public
5 stars
1 forks
0 issues

Commits

List of commits on branch main.
Unverified
6e7fc9699c48023797c625ca941c925ea66fbe8e

Minor doc typo

ssirosen committed 3 months ago
Unverified
621229127e475ec4e2387252f22d17265d081a4e

Bump version for release

ssirosen committed 3 months ago
Unverified
ad6d59e23b1abc70ae436cbe713c9891c93ba44a

Bump contract version to clear bad caches

ssirosen committed 3 months ago
Unverified
07317eec29f6ddc522e43fc2d57a42d6bb8997d0

Update pre-commit config

ssirosen committed 3 months ago
Unverified
281059006018ad281e77296946c6ea1b76d5ea5d

Fix changelog header

ssirosen committed 3 months ago
Unverified
4e22dd3e9c3e5739090e9f6dc47da4fcd2852453

Bump version for release

ssirosen committed 3 months ago

README

The README file for this repository.

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

👋

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.