{"id":13733909,"url":"https://github.com/zheller/flake8-quotes","last_synced_at":"2026-02-23T05:01:59.879Z","repository":{"id":14853803,"uuid":"17576986","full_name":"zheller/flake8-quotes","owner":"zheller","description":"Flake8 extension for checking quotes in python","archived":false,"fork":false,"pushed_at":"2024-03-23T11:51:57.000Z","size":85,"stargazers_count":177,"open_issues_count":12,"forks_count":39,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-10T03:38:39.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zheller.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-03-10T00:05:08.000Z","updated_at":"2025-11-08T19:58:54.000Z","dependencies_parsed_at":"2024-01-06T09:55:09.649Z","dependency_job_id":"e2455f1a-c64e-4efc-9304-b87892e0c98f","html_url":"https://github.com/zheller/flake8-quotes","commit_stats":{"total_commits":101,"total_committers":31,"mean_commits":"3.2580645161290325","dds":0.4356435643564357,"last_synced_commit":"223236a459a16fed053167b3cdce556e2b7e7ff7"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/zheller/flake8-quotes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zheller%2Fflake8-quotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zheller%2Fflake8-quotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zheller%2Fflake8-quotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zheller%2Fflake8-quotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zheller","download_url":"https://codeload.github.com/zheller/flake8-quotes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zheller%2Fflake8-quotes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T03:00:50.811Z","updated_at":"2026-02-23T05:01:59.845Z","avatar_url":"https://github.com/zheller.png","language":"Python","funding_links":[],"categories":["Linters \u0026 Style Checkers","Clean code"],"sub_categories":[],"readme":"Flake8 Extension to lint for quotes.\n===========================================\n\n.. image:: https://travis-ci.org/zheller/flake8-quotes.svg?branch=master\n   :target: https://travis-ci.org/zheller/flake8-quotes\n   :alt: Build Status\n\nMajor update in 2.0.0\n---------------------\nWe automatically encourage avoiding escaping quotes as per `PEP 8 \u003chttps://www.python.org/dev/peps/pep-0008/#string-quotes\u003e`_. To disable this, use ``--no-avoid-escape`` (can be used in configuration file via ``avoid-escape``).\n\nDeprecation notice in 0.3.0\n---------------------------\nTo anticipate multiline support, we are renaming ``--quotes`` to ``--inline-quotes``. Please adjust your configurations appropriately.\n\nUsage\n-----\n\nIf you are using flake8 it's as easy as:\n\n.. code:: shell\n\n    pip install flake8-quotes\n\nNow you don't need to worry about people like @sectioneight constantly\ncomplaining that you are using double-quotes and not single-quotes.\n\nWarnings\n--------\n\nThis package adds flake8 warnings with the prefix ``Q0``. You might want to\nenable this warning inside your flake8 configuration file. Typically that\nwill be ``.flake8`` inside the root folder of your project.\n\n.. code:: ini\n\n    select = Q0\n\nThe current set of warnings is:\n\n==== =========================================================================\nCode Description\n---- -------------------------------------------------------------------------\nQ000 Remove bad quotes\nQ001 Remove bad quotes from multiline string\nQ002 Remove bad quotes from docstring\nQ003 Change outer quotes to avoid escaping inner quotes\n==== =========================================================================\n\nConfiguration\n-------------\n\nBy default, we expect single quotes (') and look for unwanted double quotes (\"). To expect double quotes (\") and find unwanted single quotes ('), use the CLI option:\n\n.. code:: shell\n\n    flake8 --inline-quotes '\"'\n    # We also support \"double\" and \"single\"\n    # flake8 --inline-quotes 'double'\n    #\n    # We also support configuration for multiline quotes\n    # flake8 --inline-quotes '\"' --multiline-quotes \"'\"\n    # We also support \"'''\"\n    # flake8 --inline-quotes '\"' --multiline-quotes \"'''\"\n    #\n    # We also support docstring quotes similarly\n    # flake8 --inline-quotes '\"' --docstring-quotes \"'\"\n    # flake8 --inline-quotes '\"' --docstring-quotes \"'''\"\n\n    # We also support disabling escaping quotes\n    # flake8 --no-avoid-escape\n\nor configuration option in `tox.ini`/`setup.cfg`.\n\n.. code:: ini\n\n    [flake8]\n    inline-quotes = \"\n    # We also support \"double\" and \"single\"\n    # inline-quotes = double\n    #\n    # We also support configuration for multiline quotes\n    # multiline-quotes = '\n    # We also support \"'''\"\n    # multiline-quotes = '''\n    #\n    # We also support docstring quotes similarly\n    # docstring-quotes = '\n    # docstring-quotes = '''\n    #\n    # We also support disabling escaping quotes\n    # avoid-escape = False\n\nCaveats\n-------\n\nWe follow the `PEP8 conventions \u003chttps://www.python.org/dev/peps/pep-0008/#string-quotes\u003e`_ to avoid backslashes in the string. So, no matter what configuration you are using (single or double quotes) these are always valid strings\n\n.. code:: python\n\n    s = 'double \"quotes\" wrapped in singles are ignored'\n    s = \"single 'quotes' wrapped in doubles are ignored\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzheller%2Fflake8-quotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzheller%2Fflake8-quotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzheller%2Fflake8-quotes/lists"}