{"repo":"isort/isort-action","free":true,"listed":false,"github":"https://github.com/isort/isort-action","clone":"git clone https://github.com/isort/isort-action.git","description":"Github Action to run isort","language":"Shell","stars":22,"topics":["isort","github-actions","github-action","python","ci","linting","hacktoberfest","auto-formatter","sorting-imports","python3"],"license":"MIT","category":"cli-tools","readme_excerpt":"isort Github Action This action runs isort on a Python repository. It requires that the [ checkout ][github-checkout] action be used first. Inputs isort-version Optional. Version of isort to use. Defaults to latest version of isort . A bare version is pinned exactly, so isort-version: 5.12.0 installs isort==5.12.0 . Alternatively, any value beginning with a [version specifier][version-specifiers] is passed to pip as written: sort-paths Optional. List of paths to sort, relative to your project root. Defaults to . configuration Optional. isort configuration options to pass to the isort CLI. Defaults to --check-only --diff . requirements-files Optional. Paths to python requirements files to install before running isort. If multiple requirements files are provided, they should be separated by a space. If custom package installation is required, dependencies should be installed in a separate step before using this action. Outputs isort-result Output of the isort CLI. Example usage Developing Before starting on a new feature, please review the [contributing guide][contributors-guide]. All PRs must pass the CI pipeline to be merged. To validate your code, you may run the test suite locally using docker compose . The full test suite can be run via docker compose run --rm lint , which will auto-format the code or add the --check-only flag to exit without formatting code. [contributors-guide]: CONTRIBUTING.md [github-checkout]: https://github.com/actions/checkout [version-specifiers]: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/isort","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/isort/isort-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}