{"id":13735361,"url":"https://github.com/gforcada/flake8-isort","last_synced_at":"2025-05-14T14:03:07.235Z","repository":{"id":1353121,"uuid":"42370031","full_name":"gforcada/flake8-isort","owner":"gforcada","description":"flake8 plugin that integrates isort","archived":false,"fork":false,"pushed_at":"2025-01-29T12:29:35.000Z","size":299,"stargazers_count":180,"open_issues_count":1,"forks_count":179,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-12T16:13:07.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flake8-isort","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gforcada.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","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":"2015-09-12T19:25:34.000Z","updated_at":"2025-04-11T04:56:10.000Z","dependencies_parsed_at":"2024-06-18T13:33:59.663Z","dependency_job_id":"3b8b375b-6e5f-407a-a883-86b8a7c24747","html_url":"https://github.com/gforcada/flake8-isort","commit_stats":{"total_commits":288,"total_committers":41,"mean_commits":7.024390243902439,"dds":0.5,"last_synced_commit":"75e37f8002c8fc741e7a20c58df79b7a3d9a11f2"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforcada%2Fflake8-isort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforcada%2Fflake8-isort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforcada%2Fflake8-isort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gforcada%2Fflake8-isort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gforcada","download_url":"https://codeload.github.com/gforcada/flake8-isort/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159143,"owners_count":22024558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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:01:06.046Z","updated_at":"2025-05-14T14:03:07.216Z","avatar_url":"https://github.com/gforcada.png","language":"Python","funding_links":[],"categories":["Linters \u0026 Style Checkers","Wrappers"],"sub_categories":[],"readme":".. -*- coding: utf-8 -*-\n\n.. image:: https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml/badge.svg?branch=main\n   :target: https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=main\n   :target: https://coveralls.io/github/gforcada/flake8-isort?branch=main\n\nFlake8 meet isort\n=================\nUse `isort`_ to check if the imports on your python files are sorted the way you expect.\n\nAdd an ``.isort.cfg`` to define how you want your imports sorted and run flake8 as you usually do.\n\nSee `isort documentation`_ for ``.isort.cfg`` available options.\n\nInstall\n-------\nInstall with pip::\n\n    $ pip install flake8-isort\n\nInstall with conda::\n\n    $ conda install -c conda-forge flake8-isort\n\n\nConfiguration\n-------------\nIf using the `select` `option from flake8`_ be sure to enable the `I` category as well, see below for the specific error codes reported by `flake8-isort`.\n\nSee ``flake8 --help`` for available flake8-isort options.\n\nError codes\n-----------\n+------------+-----------------------------------------------------------+\n| Error code | Description                                               |\n+============+===========================================================+\n| I001       | isort found an import in the wrong position               |\n+------------+-----------------------------------------------------------+\n| I002       | no configuration found (.isort.cfg or [isort] in configs) |\n+------------+-----------------------------------------------------------+\n| I003       | isort expected 1 blank line in imports, found 0           |\n+------------+-----------------------------------------------------------+\n| I004       | isort found an unexpected blank line in imports           |\n+------------+-----------------------------------------------------------+\n| I005       | isort found an unexpected missing import                  |\n+------------+-----------------------------------------------------------+\n\nRequirements\n------------\n- Python 3.9, 3.10, 3.11, 3.12, 3.13 and pypy3\n- flake8\n- isort\n\nRelation to flake8-import-order\n-------------------------------\n\nAs an alternative to this flake8 plugin, there's `flake8-import-order`_ that could be worth checking out. In contrast to this plugin that defers all logic to isort, the flake8-import-order comes bundled with it's own logic.\n\nflake8-import-order comes with a few predefined set of styles meanwhile this plugin can be customized a bit more. But the biggest difference could lie in that flake8-isort actually has the corresponding sorting engine isort that can sort the import orders of your existing python files. Meanwhile flake8-import-order has no such corresponding tool, hence big existing projects who want to adopt either would get a more automized experience choosing flake8-isort.\n\nLicense\n-------\nGPL 2.0\n\n.. _`isort`: https://pypi.python.org/pypi/isort\n.. _`isort documentation`: https://pycqa.github.io/isort/docs/configuration/options.html\n.. _`flake8-import-order`: https://pypi.python.org/pypi/flake8-import-order\n.. _`option from flake8`: http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgforcada%2Fflake8-isort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgforcada%2Fflake8-isort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgforcada%2Fflake8-isort/lists"}