{ "info": { "author": "John Vandenberg", "author_email": "jayvdb@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "Flake8 Putty\n============\n\n.. image:: https://secure.travis-ci.org/jayvdb/flake8-putty.png?branch=master\n :alt: Build Status\n :target: https://travis-ci.org/jayvdb/flake8-putty\n\n.. image:: http://codecov.io/github/jayvdb/flake8-putty/coverage.svg?branch=master\n :alt: Coverage Status\n :target: http://codecov.io/github/jayvdb/flake8-putty?branch=master\n\n.. image:: https://landscape.io/github/jayvdb/flake8-putty/master/landscape.svg?style=flat\n :alt: Code Quality\n :target: https://landscape.io/github/jayvdb/flake8-putty\n\n.. image:: https://badge.fury.io/py/flake8-putty.svg\n :alt: Pypi Entry\n :target: https://pypi.python.org/pypi/flake8-putty\n\nFlake8 Putty allows more control over errors reported by flake8,\nwithout adding noqa for every erroneous or undesirable error detected.\n\nSee https://gitlab.com/pycqa/flake8/issues/89 for some of the motivation\nfor this extension.\n\nIf you only want better `noqa` support,\n`flake8-respect-noqa `_\nis a simpler extension which works only when multiprocessing is disabled.\n\nDisabling erroneous or undesirable errors by adding `noqa` in the code\nmay be undesirable for a number of reasons, including:\n\n- the 'error' appears frequently\n- the module is strictly in maintenance mode only\n- it causes a line to break the line length rule\n- the error should be ignored on only some versions or platforms\n\nInstallation\n------------\n\nSimply::\n\n $ pip install flake8-putty\n\nCheck that flake8 finds it::\n\n\n $ flake8 --version\n\n 2.4.1 (pep8: 1.5.7, flake8-putty: 0.3.2, mccabe: 0.3.1, pyflakes: 0.8.1) CPython 2.7.6 on Linux\n\nUsage\n-----\n\nflake8-putty is not activated unless `putty-auto-ignore`, `putty-ignore`\nor `putty-select` appear in the configuration file or command line options.\n\nAuto ignore detects comments on each line like `.. # flake8: disable=xxxx`.\n\n`putty-ignore` and `putty-select` both support multiline values, and each\nline is a rule which should have the format:\n\n : \n\nThe codes are flake8 codes to use when the rule is matched.\nThe only modifier is `+` which appends the codes to the list of codes from\nother rules.\n\nSelectors may contain one or more of:\n- file patterns\n- line regexes\n- flake8 codes\n\nWhen multiple file pattern selectors are used, only one of the file patterns\nneeds to match the filename.\nLikewise only one of many regex and only one of many codes needs to be matched.\n\nHowever when different types of selectors are combined in one rule,\neach type of selector must be matched.\n\ne.g. when two filenames and two regex are used, at least one filename and one\nregex must match before the rule is activated.\n\nAll matching rules are processed.\n\nExamples\n--------\n\nDisable only D102 on foo.py\n\n putty-ignore =\n foo.py : D102\n\nDisable D205, D400 and D401 for `__init__` methods:\n\n putty-ignore =\n /__init__/ : +D205,D400,D401\n\nDisable T001 only when it is explicitly mentioned\n\n putty-ignore =\n /# !qa:.*T001/ : +T001\n\nDisable any code that is explicitly mentioned\n\n putty-ignore =\n /# !qa: *(?P[A-Z0-9, ]*)/ : +(?P)\n\nDisable any code that occurs after # flake8: disable=\n\n putty-auto-ignore = True", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jayvdb/flake8-putty", "keywords": "flake8 pep8 putty", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "flake8-putty", "package_url": "https://pypi.org/project/flake8-putty/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/flake8-putty/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jayvdb/flake8-putty" }, "release_url": "https://pypi.org/project/flake8-putty/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Apply a bit of putty to flake8.", "version": "0.4.0" }, "last_serial": 2216316, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f3edeae0bd19f18cc649e90bcd8ce187", "sha256": "99529ad29b17e3d3dbea578c8107c4f982943e51a22b91b9bf0a5fd6ab01ef7f" }, "downloads": -1, "filename": "flake8-putty-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3edeae0bd19f18cc649e90bcd8ce187", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7165, "upload_time": "2015-11-28T21:33:21", "url": "https://files.pythonhosted.org/packages/ac/c8/2652a7010160cb4ffc029cdff3853bdcb76c39f933a62d57c22d752e9067/flake8-putty-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ce04b93f422ec548f89c2f0cdaf89eba", "sha256": "c396c22205f5e59e9fc023262fa6a9b43f8c4adb409c0b11aaa15626a35b5a4f" }, "downloads": -1, "filename": "flake8-putty-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ce04b93f422ec548f89c2f0cdaf89eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9421, "upload_time": "2015-11-30T21:05:14", "url": "https://files.pythonhosted.org/packages/3a/79/03ca8e503c25d38b54770acaffe568aa8f1ff4be87356ade2a72e3282611/flake8-putty-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "7023659286ef566fa7b627c0e102bf49", "sha256": "dbbc2fbc85cfdee1bd155848ca4d0664adfb950a8bf84015dd5cf8e365b45938" }, "downloads": -1, "filename": "flake8-putty-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7023659286ef566fa7b627c0e102bf49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11371, "upload_time": "2016-04-06T18:10:28", "url": "https://files.pythonhosted.org/packages/b9/cd/4f9d4883fa1c4e5dc0477286f233c87bc82a54b6c4f58098f5692bcd35ac/flake8-putty-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "5adc23ffc6589e5fe8c063ce7530d7dc", "sha256": "dedd61c6ea9a3b45578391d24de7bc389e7bb9893ea04a1679601f0bb088e827" }, "downloads": -1, "filename": "flake8-putty-0.3.1.tar.gz", "has_sig": false, "md5_digest": "5adc23ffc6589e5fe8c063ce7530d7dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11409, "upload_time": "2016-04-07T01:57:50", "url": "https://files.pythonhosted.org/packages/c0/a3/bf9a11590c67ddfb37eff7b1849dba372566c2a17365ffe3210d5fcce6a3/flake8-putty-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "a9035046ea3d29afce8768d6d2fe59f6", "sha256": "f24247346d45bc013e4fe805081bb944f3010b84ddabf261c971bbd0d7265045" }, "downloads": -1, "filename": "flake8-putty-0.3.2.tar.gz", "has_sig": false, "md5_digest": "a9035046ea3d29afce8768d6d2fe59f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12544, "upload_time": "2016-04-07T23:40:58", "url": "https://files.pythonhosted.org/packages/fe/e7/d995fbafa14932ef0e6f632290bff34d99147c8953e54bae32541e1c0402/flake8-putty-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4a9b2909398d849594e42e2193a34f80", "sha256": "aee125053aeafb9bcc7973bcaf4882c8881f5df7141b85902e7f3d3be530b270" }, "downloads": -1, "filename": "flake8-putty-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4a9b2909398d849594e42e2193a34f80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13506, "upload_time": "2016-07-12T10:29:58", "url": "https://files.pythonhosted.org/packages/92/d7/aaac220117a833813a4283afba377461fe6ce295d5688a4ef155b861f510/flake8-putty-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a9b2909398d849594e42e2193a34f80", "sha256": "aee125053aeafb9bcc7973bcaf4882c8881f5df7141b85902e7f3d3be530b270" }, "downloads": -1, "filename": "flake8-putty-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4a9b2909398d849594e42e2193a34f80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13506, "upload_time": "2016-07-12T10:29:58", "url": "https://files.pythonhosted.org/packages/92/d7/aaac220117a833813a4283afba377461fe6ce295d5688a4ef155b861f510/flake8-putty-0.4.0.tar.gz" } ] }