File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,12 @@ The CDK uses [Deptry](https://deptry.com/) for dependency analysis to ensure all
5555
5656To ignore specific Deptry errors:
5757
58- 1 . Identify the rule you need to ignore (DEP001, DEP002, DEP003, or DEP004)
59- 2 . Add the package name to the appropriate rule list in the ` [tool.deptry.per_rule_ignores] ` section of ` pyproject.toml `
60- 3 . Include an inline comment explaining why the ignore is needed
58+ 1 . Identify the rule you need to ignore (DEP001, DEP002, DEP003, or DEP004).
59+ 2 . Add the package name to the appropriate rule list in the ` [tool.deptry.per_rule_ignores] ` section of ` pyproject.toml ` .
60+ 3 . Include an inline comment explaining why the ignore is needed.
6161
6262Example:
63+
6364``` toml
6465[tool .deptry .per_rule_ignores ]
6566# DEP002: Project should not contain unused dependencies.
@@ -69,9 +70,10 @@ DEP002 = [
6970```
7071
7172Common scenarios requiring ignores:
72- - Packages imported using a different name than their PyPI package name
73- - Packages that are imported dynamically or through submodules
74- - Transitive dependencies that are used directly in the code
73+
74+ - Packages imported using a different name than their PyPI package name.
75+ - Packages that are imported dynamically or through submodules.
76+ - Transitive dependencies that are used directly in the code.
7577
7678## Auto-Generating the Declarative Schema File
7779
You can’t perform that action at this time.
0 commit comments