{ "info": { "author": "Dragos Oprica", "author_email": "dragos.oprica92@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Framework :: Flake8", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "=========================\nFlake8 super call Checker\n=========================\n\n``flake8-super-call`` is a `Flake8 `_ extension that\nchecks Python methods for anti-pattern ``super`` calls.\n\nWhen calling ``super`` in a derived class, passing ``self.__class__`` to ``super()`` can give the wrong starting point\nto search for methods, and will end up calling its own method again. More details on this `Stack Overflow question`__.\n\n__ https://stackoverflow.com/questions/18208683/when-calling-super-in-a-derived-class-can-i-pass-in-self-class\n\n\nInstallation\n------------\n\nInstall from PyPI using ``pip``:\n\n.. code-block:: sh\n\n $ pip install flake8-super-call\n\nThe extension will be activated automatically by ``flake8``. You can verify\nthat it has been loaded by inspecting the ``flake8 --version``:\n\n.. code-block:: sh\n\n $ flake8 --version\n 3.5.0 (flake8_super_call: 1.0.0, mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 2.7.10 on Darwin\n\n\nError Codes\n-----------\n\nThis extension adds one new `error code`_:\n\n- ``S777``: Cannot use ``self.__class__`` as first argument of ``super()`` call\n\n.. _error code: http://flake8.pycqa.org/en/latest/user/error-codes.html\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/DragosOprica/flake8-super-call/tarball/1.0.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DragosOprica/flake8-super-call", "keywords": "flake8 super", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flake8-super-call", "package_url": "https://pypi.org/project/flake8-super-call/", "platform": "", "project_url": "https://pypi.org/project/flake8-super-call/", "project_urls": { "Download": "https://github.com/DragosOprica/flake8-super-call/tarball/1.0.0", "Homepage": "https://github.com/DragosOprica/flake8-super-call" }, "release_url": "https://pypi.org/project/flake8-super-call/1.0.0/", "requires_dist": [ "flake8 (>=3.0.0)" ], "requires_python": "", "summary": "flake8 super call checker", "version": "1.0.0" }, "last_serial": 3763038, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "21c5a9ee0688ad6763cec2fc8545cf4c", "sha256": "61cfcd0c8ad78e1cf1f4d1225cb7513666ab9c5a9900a238b2c4abee8ad9a7de" }, "downloads": -1, "filename": "flake8_super_call-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c5a9ee0688ad6763cec2fc8545cf4c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3072, "upload_time": "2018-04-13T20:17:35", "url": "https://files.pythonhosted.org/packages/cb/1c/71062c4d5e2bff40b4f31dd8d93eab3e6477fb2ab5cd0b465df773e23916/flake8_super_call-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa123f033f6d2612b549411eb5df09dc", "sha256": "0486ebfb24e3bf104b1c1d7f823a51ebcefb3a26108b25cb3129a9e8a57ef145" }, "downloads": -1, "filename": "flake8-super-call-1.0.0.tar.gz", "has_sig": false, "md5_digest": "aa123f033f6d2612b549411eb5df09dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3641, "upload_time": "2018-04-13T20:17:36", "url": "https://files.pythonhosted.org/packages/af/49/e60ac07d16a51259d5a7d1d8055fe1def557a1aff99355d283f75909be5f/flake8-super-call-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21c5a9ee0688ad6763cec2fc8545cf4c", "sha256": "61cfcd0c8ad78e1cf1f4d1225cb7513666ab9c5a9900a238b2c4abee8ad9a7de" }, "downloads": -1, "filename": "flake8_super_call-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21c5a9ee0688ad6763cec2fc8545cf4c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3072, "upload_time": "2018-04-13T20:17:35", "url": "https://files.pythonhosted.org/packages/cb/1c/71062c4d5e2bff40b4f31dd8d93eab3e6477fb2ab5cd0b465df773e23916/flake8_super_call-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa123f033f6d2612b549411eb5df09dc", "sha256": "0486ebfb24e3bf104b1c1d7f823a51ebcefb3a26108b25cb3129a9e8a57ef145" }, "downloads": -1, "filename": "flake8-super-call-1.0.0.tar.gz", "has_sig": false, "md5_digest": "aa123f033f6d2612b549411eb5df09dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3641, "upload_time": "2018-04-13T20:17:36", "url": "https://files.pythonhosted.org/packages/af/49/e60ac07d16a51259d5a7d1d8055fe1def557a1aff99355d283f75909be5f/flake8-super-call-1.0.0.tar.gz" } ] }