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.2.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.2.tar.gz.
File metadata
- Download URL: di_linter-1.0.2.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 |
4e89bac2fdaa27f3eb54049b1a8d0dd316e72a6996211ff5f33410e2c0897267
|
|
| MD5 |
533b844ebb8c81fc7717f3909a092e14
|
|
| BLAKE2b-256 |
7d9b11b7d124aff742f21d39cba4298ff319112737f57e2f2c8f0440edefbe07
|
File details
Details for the file di_linter-1.0.2-py3-none-any.whl.
File metadata
- Download URL: di_linter-1.0.2-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 |
cfa139313e0dea8f1111c4c1815a2bbc3b4c63cd60545ca7d98ea8a67f58c037
|
|
| MD5 |
486c7d831e1d637d0ec3805d75c0a732
|
|
| BLAKE2b-256 |
8932769439269ae78c59574e876254bca39bb00ab8080217261d89492d4a349e
|