forked from GitGuardian/ggshield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.importlinter
67 lines (63 loc) · 2.54 KB
/
.importlinter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# This file has been generated by ./scripts/generate-import-linter-config.py, do not edit by hand!
[importlinter]
root_package = ggshield
include_external_packages = True
[importlinter:contract:ggshield-layers]
name = ggshield-layers
type = layers
layers =
ggshield.__main__
ggshield.cmd.auth | ggshield.cmd.config | ggshield.cmd.hmsl | ggshield.cmd.honeytoken | ggshield.cmd.iac | ggshield.cmd.install | ggshield.cmd.quota | ggshield.cmd.sca | ggshield.cmd.secret | ggshield.cmd.status | ggshield.cmd.utils
ggshield.verticals.auth | ggshield.verticals.hmsl | ggshield.verticals.iac | ggshield.verticals.sca | ggshield.verticals.secret
ggshield.core
click | ggshield.utils | pygitguardian
ignore_imports =
ggshield.cmd.** -> ggshield.cmd.utils.*
ggshield.utils.click.** -> click
unmatched_ignore_imports_alerting = warn
[importlinter:contract:verticals-cmd-transversals]
name = verticals-cmd-transversals
type = forbidden
source_modules =
ggshield.cmd.auth
ggshield.cmd.config
ggshield.cmd.hmsl
ggshield.cmd.honeytoken
ggshield.cmd.iac
ggshield.cmd.install
ggshield.cmd.quota
ggshield.cmd.sca
ggshield.cmd.secret
ggshield.cmd.status
ggshield.cmd.utils
forbidden_modules =
ggshield.verticals.auth
ggshield.verticals.hmsl
ggshield.verticals.iac
ggshield.verticals.sca
ggshield.verticals.secret
ignore_imports =
ggshield.cmd.auth.** -> ggshield.verticals.auth
ggshield.cmd.auth.** -> ggshield.verticals.auth.**
ggshield.cmd.auth.** -> ggshield.verticals.hmsl.**
ggshield.cmd.config.** -> ggshield.verticals.config
ggshield.cmd.config.** -> ggshield.verticals.config.**
ggshield.cmd.hmsl.** -> ggshield.verticals.hmsl
ggshield.cmd.hmsl.** -> ggshield.verticals.hmsl.**
ggshield.cmd.honeytoken.** -> ggshield.verticals.honeytoken
ggshield.cmd.honeytoken.** -> ggshield.verticals.honeytoken.**
ggshield.cmd.iac.** -> ggshield.verticals.iac
ggshield.cmd.iac.** -> ggshield.verticals.iac.**
ggshield.cmd.install.** -> ggshield.verticals.install
ggshield.cmd.install.** -> ggshield.verticals.install.**
ggshield.cmd.quota.** -> ggshield.verticals.quota
ggshield.cmd.quota.** -> ggshield.verticals.quota.**
ggshield.cmd.sca.** -> ggshield.verticals.sca
ggshield.cmd.sca.** -> ggshield.verticals.sca.**
ggshield.cmd.secret.** -> ggshield.verticals.secret
ggshield.cmd.secret.** -> ggshield.verticals.secret.**
ggshield.cmd.status.** -> ggshield.verticals.status
ggshield.cmd.status.** -> ggshield.verticals.status.**
ggshield.cmd.utils.** -> ggshield.verticals.utils
ggshield.cmd.utils.** -> ggshield.verticals.utils.**
unmatched_ignore_imports_alerting = none