{ "info": { "author": "huang kh", "author_email": "561546441@qq.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": "PEP-8 Naming Conventions\n========================\n\nCheck the PEP-8 naming conventions.\n\nThis module provides a plugin for ``flake8``, the Python code checker.\n\n(It replaces the plugin ``flint-naming`` for the ``flint`` checker.)\n\n\nInstallation\n------------\n\nYou can install, upgrade, uninstall ``pep8-naming`` with these commands::\n\n $ pip install pi-naming\n $ pip install --upgrade pi-naming\n $ pip uninstall pi-naming\n\n\nPlugin for Flake8\n-----------------\n\nWhen both ``flake8`` and ``pep8-naming`` are installed, the plugin is\navailable in ``flake8``::\n\n $ flake8 --version\n 2.0 (pep8: 1.4.3, pyflakes: 0.6.1, naming: 0.2)\n\nBy default the plugin is enabled.\n\nThese error codes are emitted:\n\n+------+-------------------------------------------------------+\n| code | sample message |\n+======+=======================================================+\n| N801 | class names should use CapWords convention |\n+------+-------------------------------------------------------+\n| N802 | function name should be lowercase |\n+------+-------------------------------------------------------+\n| N803 | argument name should be lowercase |\n+------+-------------------------------------------------------+\n| N804 | first argument of a classmethod should be named 'cls' |\n+------+-------------------------------------------------------+\n| N805 | first argument of a method should be named 'self' |\n+------+-------------------------------------------------------+\n| N806 | variable in function should be lowercase |\n+------+-------------------------------------------------------+\n\n\nChanges\n-------\n\n0.4.1 - 2016-06-26\n``````````````````\n\n* Note to self: Never do releases before ~0600 or coffee on a Sunday.\n* Fix option parsing for Flake8 3.0 (store parsed value on class)\n\n0.4.0 - 2016-06-26\n``````````````````\n\n* Fix integration with Flake8 3.0.0b1\n* Start testing against Python 3.5\n\n0.3.3 - 2015-06-30\n``````````````````\n\n* Fix bug where ignored names were not properly split into a list.\n\n0.3.2 - 2015-06-14\n``````````````````\n\n* Fix bug trying to call ``split`` on a list.\n\n0.3.1 - 2015-06-14\n``````````````````\n\n* Fix optparse exception resulting from trying to register an option twice.\n\n\n0.3.0 - 2015-06-14\n``````````````````\n\n* Relaxed N806 checking for use with namedtuples\n\n* Add ``--ignore-names`` which allows the user to specify a list of names to\n ignore. By default this includes ``setUp``, ``tearDown``, ``setUpClass``,\n and ``tearDownClass``.\n\n\n0.2.2 - 2014-04-19\n``````````````````\n* Do not require ``setuptools`` in setup.py. It works around an issue\n with ``pip`` and Python 3.\n\n* ``__new__`` is now considered as ``classmethod`` implicitly\n\n* Run unit tests on travis-ci.org for python2.6, 2.7, 3.2, and 3.3\n\n* Add unit tests and support running them with setup.py\n\n* Support Python 3.4 \n\n\n0.2.1 - 2013-02-22\n``````````````````\n* Do not require ``flake8``\n\n\n0.2 - 2013-02-22\n````````````````\n* Rename project ``flint-naming`` to ``pep8-naming``\n\n* Fix a crash when function argument is a tuple of tuples\n\n\n0.1 - 2013-02-11\n````````````````\n* First release\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/561546441/pi-naming.git", "keywords": "pi naming", "license": "Expat license", "maintainer": "", "maintainer_email": "", "name": "pi-naming", "package_url": "https://pypi.org/project/pi-naming/", "platform": "", "project_url": "https://pypi.org/project/pi-naming/", "project_urls": { "Homepage": "https://github.com/561546441/pi-naming.git" }, "release_url": "https://pypi.org/project/pi-naming/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "Check PI naming conventions, plugin for flake8", "version": "1.0.3" }, "last_serial": 2571644, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "7df189f545af4ff166e0ceaf4e167362", "sha256": "1e4cc3a5a88178c4adbfca5b91e25524ede8e2cbaf9d003265ed75dc81a765d8" }, "downloads": -1, "filename": "pi-naming-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7df189f545af4ff166e0ceaf4e167362", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5931, "upload_time": "2016-11-07T01:56:58", "url": "https://files.pythonhosted.org/packages/55/12/1024c0b3de5e8e3d131c3b7880c947c6ed6364c1b1432d3b4a48a7b39282/pi-naming-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "f730668c200f58fde04013ce67a98114", "sha256": "9dd403bd6a1097f75e4acae831ad0c82241a890684899907f9a66b326b63cb7e" }, "downloads": -1, "filename": "pi-naming-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f730668c200f58fde04013ce67a98114", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5742, "upload_time": "2016-11-07T03:41:51", "url": "https://files.pythonhosted.org/packages/52/51/6995c3842f9bd9f74c9d3e970547aefc02269e1742fe30eed885c6ea7a94/pi-naming-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "18e85221bbbf7baa77710d9fad984a35", "sha256": "0405065ea1cd74e8db48b7bb1d7a738b23d8690ad921572d2b73bb1bc3f8d0ac" }, "downloads": -1, "filename": "pi-naming-1.0.2.tar.gz", "has_sig": false, "md5_digest": "18e85221bbbf7baa77710d9fad984a35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5861, "upload_time": "2017-01-13T09:18:09", "url": "https://files.pythonhosted.org/packages/7b/3e/aa2827444d3ceddd07da2898a3f45db8e093034313e204518a719300c870/pi-naming-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "f2d84293d0b6624bd1757d5b401fc1fe", "sha256": "d491035b5edfcf741bb328da605e92f866d9dc2c11c5f3fb094096105f79225c" }, "downloads": -1, "filename": "pi-naming-1.0.3.tar.gz", "has_sig": false, "md5_digest": "f2d84293d0b6624bd1757d5b401fc1fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5875, "upload_time": "2017-01-13T09:27:39", "url": "https://files.pythonhosted.org/packages/69/d8/eb4865842850485bc8ffc17df68fe242cb4a3f7cb78791ca2208712493cb/pi-naming-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f2d84293d0b6624bd1757d5b401fc1fe", "sha256": "d491035b5edfcf741bb328da605e92f866d9dc2c11c5f3fb094096105f79225c" }, "downloads": -1, "filename": "pi-naming-1.0.3.tar.gz", "has_sig": false, "md5_digest": "f2d84293d0b6624bd1757d5b401fc1fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5875, "upload_time": "2017-01-13T09:27:39", "url": "https://files.pythonhosted.org/packages/69/d8/eb4865842850485bc8ffc17df68fe242cb4a3f7cb78791ca2208712493cb/pi-naming-1.0.3.tar.gz" } ] }