Metadata-Version: 2.1
Name: flake8-simplicity
Version: 0.0.1
Summary: Take your Python syntax back to the 90s!
Home-page: https://github.com/wryun/flake8-simplicity
Author: James Haggerty
Author-email: james.haggerty@gmail.com
License: MIT
Description: **Lint your Python like it was 1999!**
        
        Do you ever miss the days when your coworker couldn't
        convert 10 straightforward lines of Python into
        a mess of decorators and multiline dictionary
        comprehensions?
        
        Would you like it if no-one could make annoying comments
        on your PR about how you could make it 'nicer' by
        using with, walrus operators, and yield?
        
        Could you pass on deciding to rewrite your
        entire application to use async?
        
        Think that maybe there are 27 ways to do it in today's
        Python, and that that's pretty damn annoying?
        
        *Then install flake8-simplicity today.*
        
        If this gets added to the CI for an open source project
        of decent size with decent usage (without a mess of # noqa),
        and it passes on master, drop me a line and I'll send you a postcard.
        Offer limited to the first 5 participants.
        
        
        # Motivation
        
        I was whinging aimlessly about the latest changes to Python
        to a co-worker, as you do, and claimed that sometimes I wish
        I could do:
        
        ```
        from __past__ import simplicity
        ```
        
        But hacking the Python interpreter seemed non-trivial, there's no
        chance that the PEP would get up, and also no-one would use it.
        A linter, on the other hand...
        
        
        # Usage
        
        This is a flake8 plugin. So...
        
        ```
        pip install flake8-simplicity
        
        flake8 myfile.py  # or however you like to lint
        ```
        
        Errors from flake8 simplicity are prefixed with SPL, and are
        perhaps not the most informative. A PR to create a humourous
        message for each infelicity would be gladly accepted.
        
        
        # PS
        
        Yes, I'm aware of the irony of using `yield` statements
        in this code.
        
Keywords: flake8 simplicity __past__
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Flake8
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Description-Content-Type: text/markdown
