{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"A flake8 plugin that enforces import ordering and grouping according to configurable conventions, reporting violations through four warning codes.","skillfed_tags":["linting","code-style"],"use_cases":["Enforce consistent import organization across a team to improve code readability","Integrate import ordering checks into CI/CD pipelines with other flake8 rules","Adopt a specific import style and automatically flag deviations in code review","Define a custom import style for your organization and register it as an entry point"],"what_it_does":"flake8-import-order is a flake8 plugin that validates how imports are organized in Python code. It enforces grouping conventions\u2014typically stdlib first, then third-party packages, then local code\u2014and checks that each group is properly sorted. The plugin supports multiple built-in styles including cryptography (the default), google, smarkets, appnexus, edited, pycharm, and pep8, and allows you to define custom styles by extending the base class.\n\nYou configure it by specifying which names belong to your application and optionally which packages are internal to your organization. It reports four warning types: I100 (imports out of order), I101 (names within a from-import out of order), I201 (missing blank line between groups), and I202 (extra blank line within a group). Checks operate only at module scope and ignore conditional imports except those under TYPE_CHECKING blocks.","worth_installing":"Yes, if you use flake8 and want automated import ordering enforcement. The plugin is actively maintained, has no known vulnerabilities, and imposes minimal installation friction. The LGPLv3 copyleft license is a consideration only if you plan to redistribute the code; for typical development use it is not a barrier."},"id":"flake8-import-order","links":{"html":"https://skillfed.io/packages/flake8-import-order","md":"https://skillfed.io/packages/flake8-import-order.md","pypi":"https://pypi.org/project/flake8-import-order/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-06-24","license_spdx":null,"license_treatment":"copyleft","name":"flake8-import-order","python_support":"unspecified","summary":"Flake8 and pylama plugin that checks the ordering of import statements."},"popularity":{"monthly_downloads":1597532,"position":3729,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.19.2"}
