{ "info": { "author": "Florent Xicluna", "author_email": "florent.xicluna@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 7 - Inactive", "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": "McCabe complexity checker\r\n=========================\r\n\r\nThis module provides a plugin for ``flint``, the Python code checker.\r\n\r\n.. note::\r\n ``flint`` is now merged into `Flake8 2.0\r\n `_.\r\n Please consider https://pypi.python.org/pypi/mccabe instead.\r\n\r\n----\r\n\r\nPlugin for Flint\r\n----------------\r\n\r\nWhen both ``flint`` and ``flint-mccabe`` are installed, the plugin is\r\navailable in ``flint``::\r\n\r\n $ flint --version\r\n 0.1 (pep8: 1.4.2, pyflakes: 0.6.1, mccabe: 0.2)\r\n\r\nBy default the plugin is disabled. Use the ``--max-complexity`` switch to\r\nenable it. It will emit a warning if the McCabe complexity of a function is\r\nhigher that the value::\r\n\r\n $ flint --max-complexity 10 coolproject\r\n ...\r\n coolproject/mod.py:1204:1: C901 'CoolFactory.prepare' is too complex (14)\r\n\r\nThis feature is quite useful to detect over-complex code. According to McCabe,\r\nanything that goes beyond 10 is too complex.\r\n\r\n\r\nChanges\r\n-------\r\n\r\n0.2 - 2013-02-23\r\n````````````````\r\n\r\n* Release the package ``mccabe`` and depend on it.\r\n\r\n\r\n0.1 - 2013-02-11\r\n````````````````\r\n* First release", "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/flintwork/flint-mccabe", "keywords": "flint mccabe", "license": "Expat license", "maintainer": "", "maintainer_email": "", "name": "flint-mccabe", "package_url": "https://pypi.org/project/flint-mccabe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/flint-mccabe/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/flintwork/flint-mccabe" }, "release_url": "https://pypi.org/project/flint-mccabe/0.2/", "requires_dist": null, "requires_python": null, "summary": "McCabe checker, plugin for flint", "version": "0.2" }, "last_serial": 675773, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8c5374463593a1ccab26edcad72fa0d8", "sha256": "9d022123cfa38e02faa012cf6e6069769bab6d77eb3401d3e5c4611b5a697d6b" }, "downloads": -1, "filename": "flint-mccabe-0.1.tar.gz", "has_sig": false, "md5_digest": "8c5374463593a1ccab26edcad72fa0d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4819, "upload_time": "2013-02-11T08:15:03", "url": "https://files.pythonhosted.org/packages/37/35/a75cc7a50f725e9acc545455e4b43a840f7b7231be6cf7cf89dc24ae1aa9/flint-mccabe-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d74950833c5a8acc62af4dadd4985e9f", "sha256": "ed97152a52c94af237e326ac683a7fd5f7e553b9b0e5c4d1e1a63378ae40af82" }, "downloads": -1, "filename": "flint-mccabe-0.2.tar.gz", "has_sig": false, "md5_digest": "d74950833c5a8acc62af4dadd4985e9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2016, "upload_time": "2013-02-23T23:14:28", "url": "https://files.pythonhosted.org/packages/b2/89/af7221065c9dad8e1d112a7642581819ed92cb9ca5a3b05bf543d8f64ec7/flint-mccabe-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d74950833c5a8acc62af4dadd4985e9f", "sha256": "ed97152a52c94af237e326ac683a7fd5f7e553b9b0e5c4d1e1a63378ae40af82" }, "downloads": -1, "filename": "flint-mccabe-0.2.tar.gz", "has_sig": false, "md5_digest": "d74950833c5a8acc62af4dadd4985e9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2016, "upload_time": "2013-02-23T23:14:28", "url": "https://files.pythonhosted.org/packages/b2/89/af7221065c9dad8e1d112a7642581819ed92cb9ca5a3b05bf543d8f64ec7/flint-mccabe-0.2.tar.gz" } ] }