forked from kedro-org/kedro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (65 loc) · 1.48 KB
/
setup.cfg
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
67
68
69
70
71
72
[metadata]
description-file=README.md
[tool:pytest]
addopts=--cov-report xml:coverage.xml
--cov-report term-missing
--cov kedro
--cov tests
--ignore tests/template/fake_repo
--no-cov-on-fail
-ra
-W ignore
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
[importlinter]
root_package = kedro
[importlinter:contract:1]
name = CLI > Context > Library, Runner > Extras > IO & Pipeline
type = layers
containers = kedro
layers =
framework.cli
framework.session
framework.context
framework.project
runner
extras.datasets
io
pipeline
config
versioning
ignore_imports =
kedro.runner.parallel_runner -> kedro.framework.project
kedro.runner.parallel_runner -> kedro.framework.session.session
[importlinter:contract:2]
name = Pipeline and IO are independent
type = independence
modules =
kedro.pipeline
kedro.io
[importlinter:contract:3]
name = Config cannot import Runner et al
type = forbidden
source_modules =
kedro.config
forbidden_modules =
kedro.runner
kedro.io
kedro.pipeline
kedro.extras.datasets
[importlinter:contract:4]
name = Runner et al cannot import Config
type = forbidden
source_modules =
kedro.runner
kedro.io
kedro.pipeline
kedro.extras.datasets
forbidden_modules =
kedro.config
ignore_imports=
kedro.framework.context.context -> kedro.config
kedro.framework.hooks.specs -> kedro.config