{ "info": { "author": "Gil Forcada", "author_email": "gil.gnome@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Flake8", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Quality Assurance" ], "description": ".. -*- coding: utf-8 -*-\n\n.. image:: https://travis-ci.org/gforcada/flake8-pep3101.svg?branch=master\n :target: https://travis-ci.org/gforcada/flake8-pep3101\n\n.. image:: https://coveralls.io/repos/gforcada/flake8-pep3101/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/gforcada/flake8-pep3101?branch=master\n\nFlake8 PEP 3101 plugin\n======================\nPython has two string formatting options,\neither the old percent operator or the new ``.format()`` string method.\n\nBeing the new one more powerful, expressive and a drop-in replacement\nover the old one.\n\nSee `pyformat website`_ for lots of examples of old vs new formatting.\n\nFor a more format definition see the `PEP 3101`_.\n\nThis plugin is based on a python checker that was in `plone.recipe.codeanalysis`_.\n\nInstall\n-------\nInstall with pip::\n\n $ pip install flake8-pep3101\n\nRequirements\n------------\n- Python 2.7, 3.5, 3.6\n- flake8\n\nExtras\n------\nIf you want to check whether your new style formatting are correctly defined,\ncheck `flake8-string-format`_ plugin.\n\nLicense\n-------\nGPL 2.0\n\n.. _`pyformat website`: https://pyformat.info\n.. _`PEP 3101`: https://www.python.org/dev/peps/pep-3101\n.. _`flake8-string-format`: https://pypi.python.org/pypi/flake8-string-format\n.. _`plone.recipe.codeanalysis`: https://pypi.python.org/pypi/plone.recipe.codeanalysis\n\n.. -*- coding: utf-8 -*-\n\nChangelog\n=========\n\n1.2.1 (2018-04-05)\n------------------\n\n- Fix text on the error message.\n [icemac]\n\n1.2 (2017-12-12)\n----------------\n\n- Handle when there are numbers in either side of the modulo operator.\n [gforcada]\n\n1.1 (2017-05-12)\n----------------\n\n- Handle variable formatting (i.e. ``my_string_variable % ('one', 'two', )``).\n [gforcada]\n\n- Test againsta Python 3.6.\n [gforcada]\n\n- Release universal wheels as well.\n [gforcada]\n\n1.0 (2016-11-27)\n----------------\n- Remove tox and use plain travis matrix to test.\n [gforcada]\n\n- Test on python 2.7, python 3.5, pypy and pypy3.\n [gforcada]\n\n- Require flake8 3.0.\n [gforcada]\n\n- Use ast to analyze the code.\n The regular expression used so far was mostly a hit or miss,\n with each corner case making it even more difficult to read.\n The new checker with ast is simple, elegant and so much easy to read.\n [gforcada]\n\n0.6 (2016-10-29)\n----------------\n- Handle edge case when a single or double quoted string\n has another pair of quotes inside ('lala \"lu\" la') with\n some % symbol inside as well.\n [gforcada]\n\n0.5 (2016-10-26)\n----------------\n- Add all possible string formatters.\n [gforcada]\n\n- Fix extension to work with flake8 > 3.0.\n [gforcada]\n\n- Fix crash when the % symbol was the last character of a line.\n [gforcada]\n\n0.4 (2016-07-03)\n----------------\n- Rename pep8 to pycodestyle.\n [alefteris]\n\n- Add support for python 3.5.\n [alefteris]\n\n- Add flake8 pypi classifier.\n [alefteris]\n\n- Drop python 3.3 and 3.4 support (only testing it probably works just fine).\n [gforcada]\n\n- Fix travis and coveralls to work properly with python 3.5.\n [gforcada]\n\n0.3 (2016-03-05)\n----------------\n- Allow stdin processing, this way text editor can pass input to flake8.\n [mjacksonw]\n\n0.2 (2015-09-16)\n----------------\n- 0.1 was a brown bag release.\n [gforcada]\n\n0.1 (2015-09-16)\n----------------\n- Initial release\n [gforcada]\n\n- Create the flake8 plugin per se.\n [gforcada]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gforcada/flake8-pep3101", "keywords": "pep8 pycodestyle flake8 string formatting", "license": "GPL version 2", "maintainer": "", "maintainer_email": "", "name": "flake8-pep3101", "package_url": "https://pypi.org/project/flake8-pep3101/", "platform": "", "project_url": "https://pypi.org/project/flake8-pep3101/", "project_urls": { "Homepage": "https://github.com/gforcada/flake8-pep3101" }, "release_url": "https://pypi.org/project/flake8-pep3101/1.2.1/", "requires_dist": null, "requires_python": "", "summary": "Checks for old string formatting.", "version": "1.2.1" }, "last_serial": 3737403, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "aa4e3eafb42e6afc38fe8c3b573c0754", "sha256": "81b21d73bf6b7767377510918ef3b437475035db6b2adb2a7f2a3346578c6931" }, "downloads": -1, "filename": "flake8-pep3101-0.2.tar.gz", "has_sig": false, "md5_digest": "aa4e3eafb42e6afc38fe8c3b573c0754", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11360, "upload_time": "2015-09-16T19:36:31", "url": "https://files.pythonhosted.org/packages/3c/a2/683bb1f236429ac6b8b5045f6253c3531ccd6087e7e3235956d9220cd852/flake8-pep3101-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "860cb2168e3eb10c3deb479a7e241704", "sha256": "8653affb1379a26d1d719e4c1761ac9f84bbd5ed5f4e667d6a0885dda7f2424c" }, "downloads": -1, "filename": "flake8-pep3101-0.3.tar.gz", "has_sig": false, "md5_digest": "860cb2168e3eb10c3deb479a7e241704", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11551, "upload_time": "2016-03-05T13:21:28", "url": "https://files.pythonhosted.org/packages/ce/bf/ea2f8b2d7044dd2da4eed73c72739dd3c56968b5dacf824c466ca48587a2/flake8-pep3101-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "38f070a5387539f0e9764c09d99350b4", "sha256": "22e16144c804b69b14171f4586f19bbbe98d95cfa656e69df1b9255d76e2a460" }, "downloads": -1, "filename": "flake8-pep3101-0.4.tar.gz", "has_sig": false, "md5_digest": "38f070a5387539f0e9764c09d99350b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11858, "upload_time": "2016-07-03T13:08:28", "url": "https://files.pythonhosted.org/packages/8b/a8/aecf3059d1353d61d5f9f5d7615fba9303afa153d5017486f82e0f4df19d/flake8-pep3101-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "980eec5903cfe275b025359bf04f048a", "sha256": "c08f1cf914fa944f31a0cdeff92d61965222cb3a6569251328573ccfbdb1081b" }, "downloads": -1, "filename": "flake8-pep3101-0.5.tar.gz", "has_sig": false, "md5_digest": "980eec5903cfe275b025359bf04f048a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12230, "upload_time": "2016-10-26T21:40:38", "url": "https://files.pythonhosted.org/packages/25/a5/ee07f3b3ac4658d8d0d3cb5ccc21320a7b38dcd81eab416ad490f09bdd5d/flake8-pep3101-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "af7c33be49ddd10df1bee28960469f45", "sha256": "c4c846e25052cb10d37ed542c122c068a96a14188aeb9841cab4a985adc819c2" }, "downloads": -1, "filename": "flake8-pep3101-0.6.tar.gz", "has_sig": false, "md5_digest": "af7c33be49ddd10df1bee28960469f45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13035, "upload_time": "2016-10-28T22:37:32", "url": "https://files.pythonhosted.org/packages/1e/5c/c444de0c5101b248958bee0a2ac6395d512aecbd5aa2cd96e0845b873184/flake8-pep3101-0.6.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "ad128af54560ed1426fbe87d37aa5ae3", "sha256": "ed2bfea05aa22211b28a1dafe88ebeadb3c8395becbc652c9fc7e36994eeec5a" }, "downloads": -1, "filename": "flake8-pep3101-1.0.tar.gz", "has_sig": false, "md5_digest": "ad128af54560ed1426fbe87d37aa5ae3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12746, "upload_time": "2016-11-27T22:23:42", "url": "https://files.pythonhosted.org/packages/8c/41/afd696c7277cd8b62e0b990adf11c9af5b1d660e66581b7aa874a55b8301/flake8-pep3101-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "42869e51a608c6cf7cd45c785c9e094e", "sha256": "f1e29f3de73c08a7a7149a924b1f2ce747a441dd5a0ab561c20aaa186c1f68f2" }, "downloads": -1, "filename": "flake8_pep3101-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "42869e51a608c6cf7cd45c785c9e094e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5812, "upload_time": "2017-05-11T23:26:43", "url": "https://files.pythonhosted.org/packages/f2/f6/4bc47d9117f22b32cd57fb05869ceaf1cdb287728ee86b3e68203c9c593b/flake8_pep3101-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "47c57f4675fb3c6e4f41f675ed057988", "sha256": "b57b42133b14dc4ac09169520cb8ebf4802db30babab98e1ebaf9f3a9da2c832" }, "downloads": -1, "filename": "flake8-pep3101-1.1.tar.gz", "has_sig": false, "md5_digest": "47c57f4675fb3c6e4f41f675ed057988", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12994, "upload_time": "2017-05-11T23:26:45", "url": "https://files.pythonhosted.org/packages/9b/79/86fc94b5580618a90494f974edfa063d4fcc72f01c0b7ee2904e5d7d952f/flake8-pep3101-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "3f599faeb24c670ff474b00febf3a87c", "sha256": "e7df132a2e3a1db56223b5c241065a1a948866232ce02860114094f4bfcdd221" }, "downloads": -1, "filename": "flake8_pep3101-1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f599faeb24c670ff474b00febf3a87c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5962, "upload_time": "2017-12-12T00:03:01", "url": "https://files.pythonhosted.org/packages/89/04/66ddacd56a915e332b417518aa4fcd6ebb798cf8f718787588221f76826a/flake8_pep3101-1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0703f78af6cd39aa3994006353cd2355", "sha256": "1ba98a8a6d89ce54645d967fa831503f4b020558736563178a2ea48b72e000d8" }, "downloads": -1, "filename": "flake8-pep3101-1.2.tar.gz", "has_sig": false, "md5_digest": "0703f78af6cd39aa3994006353cd2355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13203, "upload_time": "2017-12-12T00:02:58", "url": "https://files.pythonhosted.org/packages/e0/33/81b41107d839745df4e10576e1273d8f112f2990dccaebd2ea5e88e43561/flake8-pep3101-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6ce3d932f36818051c4bdd6fb57877a3", "sha256": "b661ab718df42b87743dde266ef5de4f9e900b56c67dbccd45d24cf527545553" }, "downloads": -1, "filename": "flake8_pep3101-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ce3d932f36818051c4bdd6fb57877a3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3586, "upload_time": "2018-04-05T13:11:37", "url": "https://files.pythonhosted.org/packages/8a/28/e451f14a09d80ae998ade37122e474bef60e2520d9222d1da4ee4e2cb5ce/flake8_pep3101-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad92ef5c7916de5cf544bcf7caf8ca07", "sha256": "493821d6bdd083794eb0691ebe5b68e5c520b622b269d60e54308fb97440e21a" }, "downloads": -1, "filename": "flake8-pep3101-1.2.1.tar.gz", "has_sig": false, "md5_digest": "ad92ef5c7916de5cf544bcf7caf8ca07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13297, "upload_time": "2018-04-05T13:11:36", "url": "https://files.pythonhosted.org/packages/e1/ac/72ff428f624278e5f12119a624a85bc82de9a5b5fdd056e2e955bb67c24a/flake8-pep3101-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ce3d932f36818051c4bdd6fb57877a3", "sha256": "b661ab718df42b87743dde266ef5de4f9e900b56c67dbccd45d24cf527545553" }, "downloads": -1, "filename": "flake8_pep3101-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ce3d932f36818051c4bdd6fb57877a3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3586, "upload_time": "2018-04-05T13:11:37", "url": "https://files.pythonhosted.org/packages/8a/28/e451f14a09d80ae998ade37122e474bef60e2520d9222d1da4ee4e2cb5ce/flake8_pep3101-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad92ef5c7916de5cf544bcf7caf8ca07", "sha256": "493821d6bdd083794eb0691ebe5b68e5c520b622b269d60e54308fb97440e21a" }, "downloads": -1, "filename": "flake8-pep3101-1.2.1.tar.gz", "has_sig": false, "md5_digest": "ad92ef5c7916de5cf544bcf7caf8ca07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13297, "upload_time": "2018-04-05T13:11:36", "url": "https://files.pythonhosted.org/packages/e1/ac/72ff428f624278e5f12119a624a85bc82de9a5b5fdd056e2e955bb67c24a/flake8-pep3101-1.2.1.tar.gz" } ] }