13 --cov --cov-append --cov-report=term
15 --ignore=frontend/ --ignore=module.py
25 -rrequirements
-test.txt
29 -rrequirements
-lint.txt
36 CFLAGS = -DXMLSEC_NO_SIZE_T
38 PYTHONDONTWRITEBYTECODE=1
40 WEBTEST_INTERACTIVE = false
50 whitelist_externals = *
55 ignore = E123 E126 E226 E402 W503 E741 F812
69 #TODO: Uncomment and refactor (https://tracker.ceph.com/issues/41221)
71 format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s
74 # Allow similarity/code duplication detection
76 dirs = . controllers plugins services tests
77 addopts = -rn --rcfile=.pylintrc --jobs={[pylint]jobs}
80 dirs = README.rst HACKING.rst
84 pylint
{[pylint]addopts
} {[pylint]dirs
}
88 rstcheck
--report info
--debug
-- {[rstlint]dirs
}
97 {[base
-pylint]commands
}
102 deps = {[base-lint]deps}
104 flake8 --config=tox.ini {posargs}
112 pylint
{[pylint]addopts
} {posargs
:{[pylint]dirs
}}
116 deps = {[base-lint]deps}
118 rstcheck
--report info
--debug
-- {posargs
:{[rstlint]dirs
}}
122 --max
-line
-length
{[flake8]max
-line
-length
}
123 --exclude
"{[flake8]exclude}"
126 # TODO: we should progressively increase the level of compliance with PEP8
136 autopep8
{[autopep8]addopts
} {posargs
:.
}
143 python ci
/check_grafana_uids.py frontend
/src
/app ..
/..
/..
/..
/monitoring
/grafana
/dashboards