Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hartwork/no-cyclic-imports
:recycle: Tool to detect and report on cyclic imports in a Python codebase
https://github.com/hartwork/no-cyclic-imports
automation ci circular-imports command-line-tool continuous-integration cyclic-imports imports-analysis lint linter linting python python3
Last synced: about 2 months ago
JSON representation
:recycle: Tool to detect and report on cyclic imports in a Python codebase
- Host: GitHub
- URL: https://github.com/hartwork/no-cyclic-imports
- Owner: hartwork
- License: agpl-3.0
- Created: 2024-05-16T18:58:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T02:40:59.000Z (3 months ago)
- Last Synced: 2024-09-13T15:14:44.047Z (3 months ago)
- Topics: automation, ci, circular-imports, command-line-tool, continuous-integration, cyclic-imports, imports-analysis, lint, linter, linting, python, python3
- Language: Python
- Homepage: https://pypi.org/project/no-cyclic-imports/
- Size: 70.3 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# no-cyclic-imports
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Run the test suite](https://github.com/hartwork/no-cyclic-imports/actions/workflows/run-tests.yml/badge.svg)](https://github.com/hartwork/no-cyclic-imports/actions/workflows/run-tests.yml)
[![PyPI - Version](https://img.shields.io/pypi/v/no-cyclic-imports.svg)](https://pypi.org/project/no-cyclic-imports)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/no-cyclic-imports.svg)](https://pypi.org/project/no-cyclic-imports)**Tool to detect and report on cyclic imports in a Python codebase**
```console
$ no-cyclic-imports --no-follow cyclic/
package123 -> package123.a -> package123.b -> package1231 cycle(s).
```-----
## Table of Contents
- [Installation](#installation)
- [License](#license)## Installation
```console
$ pip3 install no-cyclic-imports
``````console
$ pipx install no-cyclic-imports
```## License
`no-cyclic-imports` is distributed under the terms of the [Affero GPL v3 or later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license.