{ "info": { "author": "Software Heritage developers", "author_email": "swh-devel@inria.fr", "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": "flake8-phabricator-formatter\n============================\n\nA simple formatter plugin for [flake8](http://flake8.pycqa.org) that generates\njson formatted results suitable for Phabricator's Harbormaster integraton,\naccording to [this documentation](https://github.com/uber/phabricator-jenkins-plugin/blob/master/docs/advanced.md#custom-lint)\n\nAs such, it's mainly dedicated to being used in Jenkins with the\n[Phabricator Jenkins Plugin](https://github.com/uber/phabricator-jenkins-plugin).\n\n## Example\n\n```bash\n\nflake8 --format=phabricator\n{\"context\": \"def some_stuff(toto):\\n\", \"char\": 1, \"code\": \"E302\", \"line\": 3, \"name\": \"flake8\", \"severity\": \"error\", \"path\": \"sandbox/__init__.py\", \"description\": \"expected 2 blank lines, found 1\"}\n{\"context\": \" print ('with flake8 errors')\\n\", \"char\": 3, \"code\": \"E303\", \"line\": 6, \"name\": \"flake8\", \"severity\": \"error\", \"path\": \"sandbox/__init__.py\", \"description\": \"too many blank lines (2)\"}\n{\"context\": \" print ('with flake8 errors')\\n\", \"char\": 3, \"code\": \"E111\", \"line\": 6, \"name\": \"flake8\", \"severity\": \"error\", \"path\": \"sandbox/__init__.py\", \"description\": \"indentation is not a multiple of four\"}\n{\"context\": \" print ('with flake8 errors')\\n\", \"char\": 8, \"code\": \"E211\", \"line\": 6, \"name\": \"flake8\", \"severity\": \"error\", \"path\": \"sandbox/__init__.py\", \"description\": \"whitespace before '('\"}\n{\"context\": \" toto = 42\\n\", \"char\": 3, \"code\": \"E111\", \"line\": 7, \"name\": \"flake8\", \"severity\": \"error\", \"path\": \"sandbox/__init__.py\", \"description\": \"indentation is not a multiple of four\"}\n{\"context\": \" toto = 42\\n\", \"char\": 3, \"code\": \"F841\", \"line\": 7, \"name\": \"flake8\", \"severity\": \"advice\", \"path\": \"sandbox/__init__.py\", \"description\": \"local variable 'toto' is assigned to but never used\"}\n{\"context\": \" \\n\", \"char\": 1, \"code\": \"W293\", \"line\": 8, \"name\": \"flake8\", \"severity\": \"warning\", \"path\": \"sandbox/__init__.py\", \"description\": \"blank line contains whitespace\"}\n\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://forge.softwareheritage.org/source/flake8-phabricator-formatter/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flake8-phabricator-formatter", "package_url": "https://pypi.org/project/flake8-phabricator-formatter/", "platform": "", "project_url": "https://pypi.org/project/flake8-phabricator-formatter/", "project_urls": { "Homepage": "https://forge.softwareheritage.org/source/flake8-phabricator-formatter/" }, "release_url": "https://pypi.org/project/flake8-phabricator-formatter/0.1.1/", "requires_dist": [ "flake8 (>3.0.0)" ], "requires_python": "", "summary": "flake8 formatter for Phabricator's Harbormaster", "version": "0.1.1" }, "last_serial": 4431210, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e36125808ea783a7cbf77d9f73b6c5a1", "sha256": "d07af63a16b28451c7252130237c0ece851d8be32eabd5a445613a275b455676" }, "downloads": -1, "filename": "flake8_phabricator_formatter-0.1.0-py3-none-any.whl", "has_sig": true, "md5_digest": "e36125808ea783a7cbf77d9f73b6c5a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2593, "upload_time": "2018-10-29T17:13:41", "url": "https://files.pythonhosted.org/packages/b1/d3/24018d92c66aed3411ccbe1e111823ea3758350450c2227dbd7b88244ad6/flake8_phabricator_formatter-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0f3fbd64ae1bae2a74e86c4d25ce8268", "sha256": "30d4900a2aa60c1c6ac14f1dcd088788a022c144856dd71fccd863e699a2a04b" }, "downloads": -1, "filename": "flake8-phabricator-formatter-0.1.0.tar.gz", "has_sig": true, "md5_digest": "0f3fbd64ae1bae2a74e86c4d25ce8268", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2110, "upload_time": "2018-10-29T17:13:43", "url": "https://files.pythonhosted.org/packages/64/13/635e6e25ac03cf36d0f9223504a9ec8fb6450778f74b3bc111b97f2028ab/flake8-phabricator-formatter-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "efb582ec78940848530dee0b0b02c9a5", "sha256": "40e06fe46ccc5a08b53c865c86b9351ab8f0640820026032f01982a858fc64b4" }, "downloads": -1, "filename": "flake8_phabricator_formatter-0.1.1-py3-none-any.whl", "has_sig": true, "md5_digest": "efb582ec78940848530dee0b0b02c9a5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3172, "upload_time": "2018-10-30T11:32:21", "url": "https://files.pythonhosted.org/packages/c7/a3/97cfb4db677e8d8a295a8d310d9139b3fe73fbadec1ac9b7a64633b386de/flake8_phabricator_formatter-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1d634774707fb0f3a4c0b3c3fda3fb67", "sha256": "a292809a0c788499b9e037d8e9fe0ef18702e0608198e44dcb7c0dd7789192e1" }, "downloads": -1, "filename": "flake8-phabricator-formatter-0.1.1.tar.gz", "has_sig": true, "md5_digest": "1d634774707fb0f3a4c0b3c3fda3fb67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2418, "upload_time": "2018-10-30T11:32:22", "url": "https://files.pythonhosted.org/packages/1b/4c/0c0dba9391ca13bc8d44124e3e5c3309517055cbbe537f9182c6932285db/flake8-phabricator-formatter-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "efb582ec78940848530dee0b0b02c9a5", "sha256": "40e06fe46ccc5a08b53c865c86b9351ab8f0640820026032f01982a858fc64b4" }, "downloads": -1, "filename": "flake8_phabricator_formatter-0.1.1-py3-none-any.whl", "has_sig": true, "md5_digest": "efb582ec78940848530dee0b0b02c9a5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3172, "upload_time": "2018-10-30T11:32:21", "url": "https://files.pythonhosted.org/packages/c7/a3/97cfb4db677e8d8a295a8d310d9139b3fe73fbadec1ac9b7a64633b386de/flake8_phabricator_formatter-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1d634774707fb0f3a4c0b3c3fda3fb67", "sha256": "a292809a0c788499b9e037d8e9fe0ef18702e0608198e44dcb7c0dd7789192e1" }, "downloads": -1, "filename": "flake8-phabricator-formatter-0.1.1.tar.gz", "has_sig": true, "md5_digest": "1d634774707fb0f3a4c0b3c3fda3fb67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2418, "upload_time": "2018-10-30T11:32:22", "url": "https://files.pythonhosted.org/packages/1b/4c/0c0dba9391ca13bc8d44124e3e5c3309517055cbbe537f9182c6932285db/flake8-phabricator-formatter-0.1.1.tar.gz" } ] }