forked from kedro-org/kedro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
64 lines (57 loc) · 1.14 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
[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 =
cli
context
runner
extras
io
pipeline
config
versioning
[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
[importlinter:contract:4]
name = Runner et al cannot import Config
type = forbidden
source_modules =
kedro.runner
kedro.io
kedro.pipeline
kedro.extras
forbidden_modules =
kedro.config