Static code analysis for search of dependencies injection
Project description
Dependency Injection Linter
Static code analysis for search of dependencies injection
Installation
pip install di-linter
Or
uv add --dev di-linter
Usage
- Run the script in the project's root directory and specify the project directory name
di-linter project
Or
uv run di-linter project
- Run the script in the project's root directory without arguments. It contains a toml config file where the project directory name is specified.
di-linter
Or
uv run di-linter
Configuration
Create a file toml in project root directory:
project-root = "project"
exclude-objects = ["Settings", "DIContainer"]
exclude-modules = ["endpoints.py"]
Output message
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
di_linter-1.0.1.tar.gz
(719.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file di_linter-1.0.1.tar.gz.
File metadata
- Download URL: di_linter-1.0.1.tar.gz
- Upload date:
- Size: 719.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27f359c2f7f4f004f490276bd6d886a54156acc4862a64ae567becffd0284949
|
|
| MD5 |
df3b435414c4e31371b7198a7b942fc5
|
|
| BLAKE2b-256 |
80756fa22add5443ecab0d6e1b3f79dc91bfbf5ada4f1960606d34566f333157
|
File details
Details for the file di_linter-1.0.1-py3-none-any.whl.
File metadata
- Download URL: di_linter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab1cfea1da3b236a85b6f9a0df3fe163b0d65dee15fde7d8bab89ad5239b2bbc
|
|
| MD5 |
a897a1ef644201016657338b23bf67fd
|
|
| BLAKE2b-256 |
caab0d82ad8276acdb6624b4756fff3c42d1068f4ec0000c184a788c786fc1c2
|