Commit 7bd3831
committed
chore: migrate lint config and fix codebase-wide lint issues
Apply ruff, prettier, pylint, bandit, and semgrep fixes across all
spp_* modules. Update pre-commit config, ruff.toml, pylintrc, and
semgrep rules. Add nosec/noqa annotations where suppression is
justified. Add missing ACL entries and security rules.1 parent 9a34753 commit 7bd3831
282 files changed
Lines changed: 913 additions & 1060 deletions
File tree
- .semgrep
- scripts
- compliance
- lint
- spp_alerts/models
- spp_api_v2_change_request
- spp_api_v2_cycles
- services
- static/description
- spp_api_v2_data
- routers
- static/description
- spp_api_v2_entitlements
- services
- static/description
- spp_api_v2_products
- services
- static/description
- spp_api_v2_service_points
- services
- static/description
- spp_api_v2_vocabulary
- routers
- static/description
- spp_api_v2
- middleware
- models
- routers
- services
- static/description
- tests
- wizards
- spp_approval
- models
- security
- static/description
- spp_area
- static/description
- spp_audit
- models
- static/description
- tools
- spp_banking
- static/description
- spp_base_common
- static/description
- spp_base_setting
- static/description
- spp_branding_kit
- spp_cel_domain
- models
- static/description
- spp_cel_event/models
- spp_cel_registry_search
- static/description
- spp_cel_vocabulary/services
- spp_cel_widget
- static/description
- spp_change_request_v2
- models
- static/description
- spp_claim_169/wizards
- spp_consent/models
- spp_cr_types_base
- static/description
- spp_custom_field
- static/description
- spp_dci_client_crvs
- middleware
- models
- spp_dci_client_dr
- middleware
- models
- routers
- spp_dci_client_ibr
- middleware
- models
- routers
- spp_dci_client/services
- spp_dci_server
- middleware
- models
- routers
- services
- tests
- spp_dci
- models
- services
- spp_demo
- models
- static/description
- spp_dms
- models
- static/description
- spp_drims_sl_demo/wizard
- spp_drims
- models
- views
- wizard
- spp_event_data
- static/description
- spp_gis_report_programs
- static/description
- spp_gis_report
- models
- static/description
- spp_gis
- controllers
- models
- static/description
- spp_grm_demo/models
- spp_grm
- controllers
- models
- static/description
- spp_key_management
- models
- static/description
- spp_mis_demo_v2
- models
- static/description
- tests
- spp_programs
- models
- cel
- managers
- security
- static/description
- tests
- views
- wizard
- spp_registry_search
- models
- security
- static/description
- spp_registry
- controllers
- models
- security
- static/description
- views
- spp_security
- static/description
- spp_service_points
- static/description
- spp_source_tracking
- static/description
- spp_starter_social_registry
- static/description
- spp_starter_sp_mis
- controllers
- static/description
- spp_studio_api_v2
- models
- routers
- services
- tests
- spp_studio_change_requests
- models
- static/description
- spp_studio_events
- models
- static/description
- spp_studio
- models
- security
- static/description
- spp_user_roles
- static/description
- spp_versioning
- models
- static/description
- spp_vocabulary
- static/description
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | | - | |
18 | | - | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | 21 | | |
23 | | - | |
24 | 22 | | |
25 | | - | |
26 | 23 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
| |||
37 | 29 | | |
38 | 30 | | |
39 | 31 | | |
40 | | - | |
41 | 32 | | |
42 | | - | |
43 | 33 | | |
44 | | - | |
45 | 34 | | |
46 | | - | |
47 | | - | |
48 | 35 | | |
49 | | - | |
50 | 36 | | |
51 | | - | |
52 | 37 | | |
53 | 38 | | |
54 | 39 | | |
55 | | - | |
56 | 40 | | |
57 | | - | |
58 | | - | |
59 | 41 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 42 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 43 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 44 | | |
80 | 45 | | |
81 | 46 | | |
82 | 47 | | |
83 | | - | |
84 | 48 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 49 | | |
93 | 50 | | |
94 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
84 | 78 | | |
85 | 79 | | |
86 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| |||
277 | 276 | | |
278 | 277 | | |
279 | 278 | | |
280 | | - | |
| 279 | + | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
140 | 143 | | |
141 | | - | |
142 | | - | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
309 | | - | |
| 312 | + | |
310 | 313 | | |
311 | | - | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
316 | | - | |
| 319 | + | |
317 | 320 | | |
318 | 321 | | |
319 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | | - | |
| 1011 | + | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| |||
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | | - | |
| 1021 | + | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
| |||
0 commit comments