Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBunn committed Aug 2, 2024
1 parent 2fea97f commit b383f17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/importlinter/contracts/forbidden.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class ForbiddenContract(Contract):
- unmatched_ignore_imports_alerting: Decides how to report when the expression in the
`ignore_imports` set is not found in the graph. Valid values are
"none", "warn", "error". Default value is "error".
- as_packages: Whether to treat the source and forbidden modules as packages. If False,
each of the modules passed in will be treated as a module rather than a
package. Default behaviour is True (treat modules as packages).
"""

type_name = "forbidden"
Expand Down

0 comments on commit b383f17

Please sign in to comment.