Flake8 plugin that checks Python code against a set of opinionated style rules
Project description
Flake8 plugin that checks Python code against a set of opinionated style rules.
Compatible with Python 2.7, 3.3+, PyPy 2.6+ and PyPy 2.4+.
PyPI page: https://pypi-hypernode.com/pypi/smk_python_sdk GitHub page: https://github.com/smarkets/flake8-strict
To install using PyPI and pip:
pip install flake8-strict
Error codes
S100: First argument on the same line
S101: Multi-line construct missing trailing comma
Limitations
only source code without print statements is supported, this means:
all valid Python 3 code
Python 2 code with print_function enabled
Versioning and backwards compatibility
Below 1.0.0: no guarantees. Above 1.0.0, given a version number MAJOR.MINOR.PATCH:
MAJOR is updated when backwards incompatible changes happen
MINOR is updated when a new, backwards compatible, features are introduced
PATCH is updated when a backwards compatible bug fixes are applied
Changes
0.1.1
Fixed few AttributeError: 'Node' object has no attribute 'lineno' errors
0.1.0
First release
License
Copyright (C) 2015 Smarkets Limited <support@smarkets.com>
This module is released under the MIT License: http://www.opensource.org/licenses/mit-license.php (or see the LICENSE file)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flake8_strict-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f7580b7fc6d535adaa2d22ad099fbb84c1ecb0a59796a96740facbeb46ae8e |
|
MD5 | e941b1cb14421c5d35fea6adbd400c6d |
|
BLAKE2b-256 | c2d63414bd8af705d422d9f2575f1bec4826e7945493853ff39069da778c1e3d |