File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,10 +59,55 @@ mkdocstrings = "0.26.1"
5959requires = [" poetry-core" ]
6060build-backend = " poetry.core.masonry.api"
6161
62- [tool .black ]
63- line-length = 180
62+ # #######################################
63+ # Tool configurations
64+ # #######################################
6465
6566[tool .cldk .testing ]
6667sample-application = " tests/resources/java/application/"
6768sample-application-analysis-json = " tests/resources/java/analysis_json/slim"
6869codeanalyzer-jar-path = " tests/resources/java/codeanalyzer/build/libs/"
70+
71+ [tool .flake8 ]
72+ max-line-length = 180
73+ count = true
74+
75+ [tool .black ]
76+ line-length = 180
77+
78+ [tool .pylint .'MESSAGES CONTROL' ]
79+ disable = " no-member,protected-access,global-statement"
80+
81+ [tool .pylint .FORMAT ]
82+ max-line-length = 180
83+
84+ [tool .pytest .ini_options ]
85+ minversion = " 6.0"
86+ addopts = " --pspec --cov=cldk --cov-fail-under=50"
87+ testpaths = [" tests" ]
88+
89+ [tool .coverage .run ]
90+ source = [" cldk" ]
91+ omit = [
92+ " venv/*" ,
93+ " .venv/*"
94+ ]
95+
96+ [tool .coverage .report ]
97+ show_missing = true
98+ exclude_lines = [
99+ " pragma: no cover" ,
100+ " pragma: no branch" ,
101+ " pass" ,
102+ " subprocess.CalledProcessError" ,
103+ " sys.exit" ,
104+ " if __name__ == .__main__.:"
105+ ]
106+ ignore_errors = true
107+
108+ [tool .coverage .xml ]
109+ output =" ./coverage.xml"
110+
111+ [tool .coverage .html ]
112+ title = " Test Coverage Report"
113+ directory = " coverage_html_report"
You can’t perform that action at this time.
0 commit comments