Commit a2ad1e2
authored
Add sonar to project for quality checks (#452)
* Add sonar to project for quality checks
* Move pysonar to direct dependencies
* Add changelog entry
* Switch to nox task
* Continue nox task, add to templates, & update documentation
* Fix template .gitignore & inherit secrets for report
* Add new nox tasks to main tasks.py
* Fix to relative path from . for coverage.xml & session
* Add organization as required for pysonar
* Add statement to docs about adding to branch protections
* Rename variable to avoid code smell, as built-in
* Remove f from non-f-string
* Fix typo in documentation
* Move and rename to correct test folder
* fixup! Rename variable to avoid code smell, as built-in
* Fix class name to fit convention
* Group copy_artifact tests together
* Use variables to ensure names consistent throughout usually subsequent operations
* Simplify test and move into correct file
* Remove file check as already done before validating them
* Switch validations to booleans and simplify to all or fail
* Move over and simplify test for is_valid_lint_txt
* Move over and simplify test for is_valid_lint_json and mirror to is_valid_lint_txt
* Move over and simplify test for is_valid_security_json
* Convert to handle validation error
* Move over and simplify test for is_valid_coverage
* Switch to simple assert
* Add test for check_artifacts and switch prints to all bey stderr
* Fix warnings in sonar upload output
* Remove code smells where non-f-strings
* Switch python_files to be Iterable[str] as only used that way & restrict bandit to source files
* Add type ignore for unpacked list into session
* Project fix
* Fix comment
* Add inherit secrets for sonar to pr-merge.ymls
* Reduce scope of pylint to that of package
* Update documentation with summary and make clearer private vs public repos
* Re-lock dependencies
* Modify documentation per review
* Rename to sonar:check1 parent dd481dc commit a2ad1e2
File tree
23 files changed
+779
-565
lines changed- .github/workflows
- doc
- changes
- user_guide
- exasol/toolbox
- nox
- templates/github/workflows
- project-template/{{cookiecutter.repo_name}}
- test/unit
- nox
23 files changed
+779
-565
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
| 5 | + | |
10 | 6 | | |
11 | | - | |
| 7 | + | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
15 | | - | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| 19 | + | |
25 | 20 | | |
26 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
202 | 208 | | |
203 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
204 | 228 | | |
205 | 229 | | |
206 | 230 | | |
| |||
0 commit comments