qontract-reconcile 0.10.2.dev270__py3-none-any.whl → 0.10.2.dev272__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev270
3
+ Version: 0.10.2.dev272
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
6
6
  Project-URL: repository, https://github.com/app-sre/qontract-reconcile
@@ -120,7 +120,7 @@ reconcile/aus/aus_label_source.py,sha256=o0S2f0qwcII_8nzhHZhRQ83gEZ1DrSXyO4xzSwL
120
120
  reconcile/aus/base.py,sha256=RAtYkwCM2CIqv37XkgyzFyTiNNnImCD-yMQ698QYgAY,51451
121
121
  reconcile/aus/cluster_version_data.py,sha256=VZWbUEIbrDKO-sroMpQtiWCTqDraTMd8tssKV0HyTQ0,7140
122
122
  reconcile/aus/healthchecks.py,sha256=jR9c-syh9impnkV0fd6XW3Bnk7iRN5zv8oCRYM-yIRY,2700
123
- reconcile/aus/metrics.py,sha256=qh3-oWL8-Hbj1uXgAKonw7sVXGBlPpCyHtVYJusZ9n8,4271
123
+ reconcile/aus/metrics.py,sha256=BhIvZVTn25fIzijz3xFynJngS2sXDBTxxprUUVWJcFo,4246
124
124
  reconcile/aus/models.py,sha256=flK15hzE2wX67yUmNtQsnjOkipQazuV67emeQNyZ1Zo,8591
125
125
  reconcile/aus/node_pool_spec.py,sha256=FkMggklG-4BgQwud2Swp2m3AAAKzZmeaXgohl9uwxZ8,1138
126
126
  reconcile/aus/ocm_addons_upgrade_scheduler_org.py,sha256=PL8QdzWh8lhGneMwSbIYxOp002mJd5gHf_T0Q2cWQho,10350
@@ -458,7 +458,7 @@ reconcile/oum/standalone.py,sha256=EN5y1S-3DwUZYzSRqRMtf63mI2slvBHKiU9zOTjYvWM,7
458
458
  reconcile/prometheus_rules_tester/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
459
459
  reconcile/prometheus_rules_tester/integration.py,sha256=TWsVBUeRLH3lUCf47sWWVgq4Rpkrq0i_eu2vkqQniP0,9619
460
460
  reconcile/rhidp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
461
- reconcile/rhidp/common.py,sha256=rqifpncnE5--sYSx7ERMGDUjNHRI-SZkpuzwepZSps4,6766
461
+ reconcile/rhidp/common.py,sha256=M5UP7_tNWh2LEJ-fMp1SnrNECGHJ0z873tANJK1dpWc,6889
462
462
  reconcile/rhidp/metrics.py,sha256=Yp0GtpjhieEdru0qkG3osBTJiKUzg6CAjwPoFTQDnCg,417
463
463
  reconcile/rhidp/ocm_oidc_idp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
464
464
  reconcile/rhidp/ocm_oidc_idp/base.py,sha256=gcrQEmHQ2GF2MtSxBcxTRsK-I19rsfIn9NZvyx8ZbyQ,7133
@@ -617,7 +617,7 @@ reconcile/utils/imap_client.py,sha256=h8YDiCSCvroErhpH_-KGYI7Y2WU2Q2oSpuxDFbOkSb
617
617
  reconcile/utils/instrumented_wrappers.py,sha256=VqT4s0Bdicv224-uSeSaugtHXm-xJ3oSeBiqj0QQRiU,1942
618
618
  reconcile/utils/jenkins_api.py,sha256=jNwdtBtO8DgMW_H8XfqkQs2r4JsLovHe03t5_F3M1xg,7961
619
619
  reconcile/utils/jira_client.py,sha256=jj7E58PGssoCUEhUZpXoVYeyuChjrvjcg1AdNsONXO0,10545
620
- reconcile/utils/jjb_client.py,sha256=xHsype-t3dzDw1oMZgu-W81lecnKThoBefbjMJOdcTs,15239
620
+ reconcile/utils/jjb_client.py,sha256=p3I5Aup5NtvCrc2XS2V2GVtTqnsrPXbjQvmcHuacTHY,15196
621
621
  reconcile/utils/jsonpath.py,sha256=wdxOMqR-GMpQf5vRPWRMqAF7bCiXDBkkcFfY2U4j_tk,5536
622
622
  reconcile/utils/jump_host.py,sha256=gi8vGUDgdTVwJvROvRVauFxtL0YAramhbWvG70L7AY8,5137
623
623
  reconcile/utils/keycloak.py,sha256=YWSEUGrOVqFaJUk055dKUWpLDPdDRvhcmvR-lfbmxdE,3388
@@ -627,12 +627,12 @@ reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
627
627
  reconcile/utils/metrics.py,sha256=kiOoWO0b0mO-MDZWxyClYz9SeohQ0QU-xji0p-cSiLo,18462
628
628
  reconcile/utils/models.py,sha256=N-cOLsLbZAzVazFImue4d1pllCGd_vVcIrFKykYZXZo,4682
629
629
  reconcile/utils/oauth2_backend_application_session.py,sha256=6W16sMpnWEPFDUX7qi5Cui2yOnmLfpgUxWtB3Ii35D0,4177
630
- reconcile/utils/oc.py,sha256=jYc4kFbJZf731RZE9W1B2LpuWAOpD_Snx13NKcnvDPE,65621
630
+ reconcile/utils/oc.py,sha256=c1O-qqKUNCgPrFNFCzVkgA0TCLY_vKpsaSY3XGMHpRg,65531
631
631
  reconcile/utils/oc_connection_parameters.py,sha256=Wpr34zM9Y7rS558MPlj8rNpRvnrNyMkmg0-gs5KcPvA,9663
632
632
  reconcile/utils/oc_filters.py,sha256=Tz3OwtbUaYKmxENFls5CtPVzkZDeFXknw53dJe-wbT8,1382
633
633
  reconcile/utils/oc_map.py,sha256=ougQ-Wlsa8ymoE_lPQ7g2LlpsUOsHVeRCLYW_6fjeWU,8976
634
634
  reconcile/utils/ocm_base_client.py,sha256=t5kxhklEqOpenXPkXiwQIk8d3D7hIUndBm5qGusS0bc,6681
635
- reconcile/utils/openshift_resource.py,sha256=72eIKPjKlxuTGffRzSb1QLLpctwetJKTAaYAXiphb5Q,24834
635
+ reconcile/utils/openshift_resource.py,sha256=Nbte4oCzxL27Hrt2vNs2ybV3X3pV4vGJEnErEsiA6UY,24810
636
636
  reconcile/utils/openssl.py,sha256=QVvhzhpChq_4Daf_5wE1qeZJr4thg3DDjJPn4bOPD4E,365
637
637
  reconcile/utils/output.py,sha256=wvsyf8NsFTaFHNkc8to75ta8f474Y4TMO4cHyAHEePk,2209
638
638
  reconcile/utils/pagerduty_api.py,sha256=6Ae-KjcmA6Bf328UhTdQ2VwYjh4uFIW1NdZW6PUgT-c,7607
@@ -657,8 +657,8 @@ reconcile/utils/smtp_client.py,sha256=0xefB4I9E5eBB-FlxFJYjvz3Kvuqi_K3Ma_Wk0NAQK
657
657
  reconcile/utils/sqs_gateway.py,sha256=XNIf3PY4UCPNufP2Ul0UJj3fKlt5larBba-VTT-41Fg,2265
658
658
  reconcile/utils/state.py,sha256=h5iAfNf1p_wf79Z09XNZ5C_YVrIqUmhhl_DWqnFrwT0,16364
659
659
  reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
660
- reconcile/utils/terraform_client.py,sha256=JqGZzCHv74H99LTh3D5nNZyNxlldSOm21UDL1dyAVA8,37344
661
- reconcile/utils/terrascript_aws_client.py,sha256=v28Y-LMPzq1HuZp0NlC9y0xGbUnkPbCWY2Wid_NaaXE,292368
660
+ reconcile/utils/terraform_client.py,sha256=0NCYluGnFooxbgxSHyxoU_Hj3WUVZ-HqpLZI6ZmzJ1E,37301
661
+ reconcile/utils/terrascript_aws_client.py,sha256=o5i2j3kf00cC4Gk-UQ0fRgj7fYSwmzvuk70TiQ5Rm3g,292325
662
662
  reconcile/utils/three_way_diff_strategy.py,sha256=oQcHXd9LVhirJfoaOBoHUYuZVGfyL2voKr6KVI34zZE,4833
663
663
  reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
664
664
  reconcile/utils/vault.py,sha256=6V15LByFghp-U3k0N4lum6V7qt2EAlRfcAxjy5e-FAU,15146
@@ -724,12 +724,12 @@ reconcile/utils/ocm/__init__.py,sha256=Y-bp8GomMpyCo0tFW6kJ78-ZG1UIupYRtBzbMWU0k
724
724
  reconcile/utils/ocm/addons.py,sha256=_LDdJ-gapM3s5exKlIUt-MlXZTAUoHezbYBU0QmvfWQ,7335
725
725
  reconcile/utils/ocm/base.py,sha256=nbBP1ltdI_sZ5VyDaz0PSRWgBTpJmHDd53nvYyo5Z38,14576
726
726
  reconcile/utils/ocm/cluster_groups.py,sha256=F8oqVqN_4QUnGL0K61zZhoYIzJeP57EcmZpwmoV0mr4,1751
727
- reconcile/utils/ocm/clusters.py,sha256=VwFucqOtXfHZABZLsMLxvAhBTwVg6h9L7WDDdJUaB1w,7962
727
+ reconcile/utils/ocm/clusters.py,sha256=ev-sT247P3qFs9wzxOs_xFj1vKGpdRYm4INgxTR3Fb0,7792
728
728
  reconcile/utils/ocm/identity_providers.py,sha256=dKed09N8iWmn39tI_MpwgVe47x23eLsknGbjMUxtwr4,2175
729
729
  reconcile/utils/ocm/label_sources.py,sha256=ES_5VP4X6gsRxMFZ95WgbwE_HqqIUo_JRjHjdGYw6Ss,1846
730
730
  reconcile/utils/ocm/labels.py,sha256=CmAgaOEPiaUb4gLtKab9vNkSDJceuREPd4ApgGcIA1U,6240
731
731
  reconcile/utils/ocm/manifests.py,sha256=Q6kgOeiAwLbJY_vO_BEW2oePvbLDZcMZk20YpJJGpOA,1195
732
- reconcile/utils/ocm/ocm.py,sha256=4wXsptVwBRlJX19WLgZxZHjx6OJjuWSUyNOxac1EBGM,31454
732
+ reconcile/utils/ocm/ocm.py,sha256=oo7hNZ5HsIr_WY1pSeaeGMW_0g_Xls31gI4euUhEJ6o,31332
733
733
  reconcile/utils/ocm/products.py,sha256=sfSLXBRsKtGpWX1nheAQlEwBCj--01_1sIFmmHENxGs,25974
734
734
  reconcile/utils/ocm/search_filters.py,sha256=09p4Wq1d1HGrDiinf1dmLJ46VtFhkkRCOL4V-N-zwjY,14808
735
735
  reconcile/utils/ocm/service_log.py,sha256=RG1f0MMn6joKaRCAm2xveSJCavdOPP1BVo9FXecDxaI,2018
@@ -744,14 +744,14 @@ reconcile/utils/rosa/session.py,sha256=CwlQJ7eEfaMjVOt_6KoNJZc4oQj-iC-EOZq8eSGzj
744
744
  reconcile/utils/runtime/__init__.py,sha256=sfk92MGfsBh9tKYHl_FH17NdEsrGBwgDFTb7KNKoIfY,107
745
745
  reconcile/utils/runtime/desired_state_diff.py,sha256=Bw4zqel-klXCMZGqD1gyh8zkFq4h5qzv8rJn7K6WTXs,8132
746
746
  reconcile/utils/runtime/environment.py,sha256=h-CFKLK1qRl_gfOVIUwjqVNOmukIPzUG7AiqpJGrjHA,2038
747
- reconcile/utils/runtime/integration.py,sha256=H3kDfbc4IKrhubSDCWHs0W9oxM7FoCiPaxqA73c9aEs,11101
747
+ reconcile/utils/runtime/integration.py,sha256=I74KlnsNKd7Hf8rBRug6blXkGKidSDQEjqHRLAfgTXI,10973
748
748
  reconcile/utils/runtime/meta.py,sha256=dWdKS9eHVuowFkTK4lgXJ723vS1y9giOMzePUKnHnDI,214
749
- reconcile/utils/runtime/runner.py,sha256=I30KRrX1UQbHc_Ir1cIZX3OfNSdoHKdnDSPAEB69Ilk,7944
749
+ reconcile/utils/runtime/runner.py,sha256=OGT57aCwspAjdjGXtpbQnTmJeeWnRh9a2N73TLp4jnM,7880
750
750
  reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFcnpA_k4,16142
751
751
  reconcile/utils/saasherder/__init__.py,sha256=3U8plqMAPRE1kjwZ5YnIsYsggTf4_gS7flRUEuXVBAs,343
752
752
  reconcile/utils/saasherder/interfaces.py,sha256=Ii1MsJMbIzgiy8Logz9OMkWEBBPlSc8OTJ2LN2awoCo,9515
753
753
  reconcile/utils/saasherder/models.py,sha256=gZcLWRLYEcE6YE7QYenaAHVovMzo0Uy25_oPHsTPARE,12408
754
- reconcile/utils/saasherder/saasherder.py,sha256=95i5AT9ThgUBurXbUCxdtp5F1g9sltrMdebCwUVHgNg,92563
754
+ reconcile/utils/saasherder/saasherder.py,sha256=rCz32I0RsJhRvhK6Xoq2nXozcb-3DC6JaW2KXNvqiVg,92520
755
755
  reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
756
756
  reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
757
757
  reconcile/utils/terraform/config_client.py,sha256=gRL1rQ0AqvShei_rcGqC3HDYGskOFKE1nPrJyJE9yno,4676
@@ -765,14 +765,14 @@ reconcile/utils/unleash/client.py,sha256=YrJnauxjcy1ml7W2AHg7dzIH_fVK_GugoRu7IFm
765
765
  reconcile/utils/unleash/server.py,sha256=907gDh9Ee8UxLqusnfpzE-7LUnttB38D4xhVJ0vMf_M,4439
766
766
  tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
767
767
  tools/alert_report.py,sha256=cyQTei8_SYOggW_6uYvzhrF7Nae-9xOz-jmh9O9V8R8,5589
768
- tools/app_interface_metrics_exporter.py,sha256=f1qwTmQfEcs98uBVRyBa0k7GQXdiSwd7w1hDVjhdGcQ,2303
769
- tools/app_interface_reporter.py,sha256=DCsGm9kOiGdZw9BvLA3JxDqJRO5Yv7m284O947qVVrE,17318
770
- tools/app_sre_tekton_access_reporter.py,sha256=o9prLUgQpwO3msRWc2as1xT1y9OB3znkpgvLr0Ys8_M,3146
771
- tools/app_sre_tekton_access_revalidation.py,sha256=66nHEaY-bIqxIhpcmwN8AvQZu6ZXenfkg4Fut0pVZRM,2726
772
- tools/glitchtip_access_reporter.py,sha256=o01A6b88t3Wie6tj_tJWWVo2J01LxQ_a9giGm4UzEaU,2901
773
- tools/glitchtip_access_revalidation.py,sha256=PXN5wxl6OX8sxddPaakDF3X79nFLvpm-lz0mWLVelw0,2806
774
- tools/qontract_cli.py,sha256=DkIJX7jYRycBDKySQHVB6fNIAFpF3USkZaLJbcsYnDg,159204
775
- tools/template_validation.py,sha256=wW22pH4bJBN5CcK74RuIEwtiVmQ3zI1eSvNMAE6fbyc,3377
768
+ tools/app_interface_metrics_exporter.py,sha256=mCi6SZf20mo5yvRI2VoqmrCdz46Ph3JhpEJPvryXncY,2261
769
+ tools/app_interface_reporter.py,sha256=zZjs1CxKkchXqguLKRtKjK7hl501w9OozbAiaatUfdA,17252
770
+ tools/app_sre_tekton_access_reporter.py,sha256=5qmkevJdlb2j_lpGC5Pu1Pmo0eomX5ZxzS_GNkqHAEE,3104
771
+ tools/app_sre_tekton_access_revalidation.py,sha256=vwL1o_j7oSTOhrHNH1znpgjA2LHGzb8yc5iG3aaY4m0,2684
772
+ tools/glitchtip_access_reporter.py,sha256=wnaiDGW4MkYONV_erltnJ6nGkEj0kQrAiv04NNnOS0k,2859
773
+ tools/glitchtip_access_revalidation.py,sha256=jjeLO53LTbz_LfQw3G2Cs8lVLO_6xqU39BYyTH3cEPE,2764
774
+ tools/qontract_cli.py,sha256=mNo-m6Xd74E_t1znXsW9IlnOd2LE9cEchO5LZpQBTXc,159162
775
+ tools/template_validation.py,sha256=Xn9X4sGFznx-rvBDnq9Kq16rfET8V3bqH1EwavsGBac,3335
776
776
  tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
777
777
  tools/cli_commands/container_images_report.py,sha256=8mAjCS6XR0yD7k0mfiVBlt6xbYU47q_ftdYNi5o5VKE,5566
778
778
  tools/cli_commands/erv2.py,sha256=oTsuplgW0PVW1ny_PdRZNURJs_aqjun6HmV3gzRafZY,26032
@@ -788,7 +788,7 @@ tools/cli_commands/cost_report/response.py,sha256=l5fVNMg8zzoNWm8LquYJsWM3VqxABB
788
788
  tools/cli_commands/cost_report/util.py,sha256=lKSWjjUfDzMfSSTbFqc4Ln8JfzlWiW8kR2i51VJbEnc,2497
789
789
  tools/cli_commands/cost_report/view.py,sha256=N3F33eW2iCVo2SxYTLIFv1nAH5y_3Ud16KCZADyAW4I,14188
790
790
  tools/saas_metrics_exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
791
- tools/saas_metrics_exporter/main.py,sha256=piocx6meMdJxoxeNz52gQGUjt5n7Fma4kgqYamszPrM,3180
791
+ tools/saas_metrics_exporter/main.py,sha256=RBd4xYlsijdxxsagLy5lx606Odf9aSZWngS_6JliOGM,3138
792
792
  tools/saas_metrics_exporter/commit_distance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
793
793
  tools/saas_metrics_exporter/commit_distance/channel.py,sha256=WkYWnWBN5AdRjHSIe_UWSjyCwI5ScdZZ9uaIbPJOREE,2154
794
794
  tools/saas_metrics_exporter/commit_distance/commit_distance.py,sha256=pUWaZfZf0TYOwAW0gDdU8cYgTR586J_8S_DWxqHMWNA,3116
@@ -797,7 +797,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
797
797
  tools/saas_promotion_state/saas_promotion_state.py,sha256=oF7C4hpIgyMTwTRm3Aun3cDCHIjVar65JoLp6NcJHlU,3909
798
798
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
799
799
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
800
- qontract_reconcile-0.10.2.dev270.dist-info/METADATA,sha256=B-j3gLyk3BgjGR9nQzqFILIqRAQ5s9ZenI3eDAARGcA,24501
801
- qontract_reconcile-0.10.2.dev270.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
802
- qontract_reconcile-0.10.2.dev270.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
803
- qontract_reconcile-0.10.2.dev270.dist-info/RECORD,,
800
+ qontract_reconcile-0.10.2.dev272.dist-info/METADATA,sha256=z6bydm50DmpSTXJnqwc6F8Tmz081Uel-ykp827kXFx0,24501
801
+ qontract_reconcile-0.10.2.dev272.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
802
+ qontract_reconcile-0.10.2.dev272.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
803
+ qontract_reconcile-0.10.2.dev272.dist-info/RECORD,,
reconcile/aus/metrics.py CHANGED
@@ -100,7 +100,7 @@ class AUSClusterUpgradePolicyInfoMetric(AUSBaseMetric, InfoMetric):
100
100
  return "aus_cluster_upgrade_policy_info"
101
101
 
102
102
 
103
- class AUSAddonUpgradePolicyInfoMetric(AUSClusterUpgradePolicyInfoMetric): # pylint: disable=R0901
103
+ class AUSAddonUpgradePolicyInfoMetric(AUSClusterUpgradePolicyInfoMetric):
104
104
  "Info metric for cluster addons under AUS upgrade control"
105
105
 
106
106
  addon: str
reconcile/rhidp/common.py CHANGED
@@ -32,7 +32,10 @@ from reconcile.utils.ocm.clusters import (
32
32
  ClusterDetails,
33
33
  discover_clusters_by_labels,
34
34
  )
35
- from reconcile.utils.ocm.labels import subscription_label_filter
35
+ from reconcile.utils.ocm.labels import (
36
+ organization_label_filter,
37
+ subscription_label_filter,
38
+ )
36
39
  from reconcile.utils.ocm.sre_capability_labels import sre_capability_label_key
37
40
  from reconcile.utils.ocm_base_client import OCMBaseClient
38
41
 
@@ -105,7 +108,8 @@ def discover_clusters(
105
108
  ocm_api=ocm_api,
106
109
  label_filter=subscription_label_filter().like(
107
110
  "key", f"{RHIDP_NAMESPACE_LABEL_KEY}%"
108
- ),
111
+ )
112
+ | organization_label_filter().like("key", f"{RHIDP_NAMESPACE_LABEL_KEY}%"),
109
113
  )
110
114
 
111
115
  # filter by org if org_id is specified
@@ -30,7 +30,7 @@ from reconcile.utils.vcs import GITHUB_BASE_URL
30
30
  JJB_INI = "[jenkins]\nurl = https://JENKINS_URL"
31
31
 
32
32
 
33
- class JJB: # pylint: disable=too-many-public-methods
33
+ class JJB:
34
34
  """Wrapper around Jenkins Jobs"""
35
35
 
36
36
  def __init__(self, configs, ssl_verify=True, secret_reader=None, print_only=False):
reconcile/utils/oc.py CHANGED
@@ -258,7 +258,7 @@ class OCCliApiResource:
258
258
  return self.api_version
259
259
 
260
260
 
261
- class OCCli: # pylint: disable=too-many-public-methods
261
+ class OCCli:
262
262
  def __init__(
263
263
  self,
264
264
  cluster_name: str | None,
@@ -1836,9 +1836,7 @@ class OpenshiftLazyDiscoverer(LazyDiscoverer):
1836
1836
  if result.group_version == kwargs["api_version"]
1837
1837
  ]
1838
1838
  # If there are multiple matches, prefer non-List kinds
1839
- if len(results) > 1 and not all( # pylint: disable=R1729
1840
- isinstance(x, ResourceList) for x in results
1841
- ):
1839
+ if len(results) > 1 and not all(isinstance(x, ResourceList) for x in results):
1842
1840
  results = [
1843
1841
  result for result in results if not isinstance(result, ResourceList)
1844
1842
  ]
@@ -62,10 +62,7 @@ def discover_clusters_by_labels(
62
62
 
63
63
  sub_id_filter = Filter().is_in("id", subscription_labels.keys())
64
64
  org_id_filter = Filter().is_in("organization_id", organization_labels.keys())
65
- subscription_filter = (
66
- sub_id_filter | org_id_filter # pylint: disable=unsupported-binary-operation
67
- )
68
- # the pylint ignore above is because of a bug in pylint - https://github.com/PyCQA/pylint/issues/7381
65
+ subscription_filter = sub_id_filter | org_id_filter
69
66
 
70
67
  clusters = list(
71
68
  get_cluster_details_for_subscriptions(
@@ -64,7 +64,7 @@ CLUSTER_ADMIN_LABEL_KEY = "capability.cluster.manage_cluster_admin"
64
64
  REQUEST_TIMEOUT_SEC = 60
65
65
 
66
66
 
67
- class OCM: # pylint: disable=too-many-public-methods
67
+ class OCM:
68
68
  """
69
69
  OCM is an instance of OpenShift Cluster Manager.
70
70
 
@@ -249,7 +249,6 @@ class OCM: # pylint: disable=too-many-public-methods
249
249
  switch_role_link = role_grants[0][-1]
250
250
  return awsh.get_account_uid_from_role_link(switch_role_link)
251
251
 
252
- # pylint: disable=method-hidden
253
252
  def get_aws_infrastructure_access_role_grants(self, cluster):
254
253
  """Returns a list of AWS users (ARN, access level)
255
254
  who have AWS infrastructure access in a cluster.
@@ -734,7 +733,7 @@ class OCM: # pylint: disable=too-many-public-methods
734
733
  )
735
734
 
736
735
 
737
- class OCMMap: # pylint: disable=too-many-public-methods
736
+ class OCMMap:
738
737
  """
739
738
  OCMMap gets a GraphQL query results list as input
740
739
  and initiates a dictionary of OCM clients per OCM.
@@ -70,7 +70,6 @@ QONTRACT_ANNOTATIONS = {
70
70
  }
71
71
 
72
72
 
73
- # pylint: disable=R0904
74
73
  class OpenshiftResource:
75
74
  def __init__(
76
75
  self,
@@ -212,9 +212,7 @@ class QontractReconcileIntegration(ABC, Generic[RunParamsTypeVar]):
212
212
  """
213
213
  Returns `True` if the params already contain sharding information.
214
214
  """
215
- sharding_config = ( # pylint: disable=assignment-from-none
216
- self.get_desired_state_shard_config()
217
- )
215
+ sharding_config = self.get_desired_state_shard_config()
218
216
  if sharding_config:
219
217
  shard_arg_value = self.params.get(sharding_config.shard_arg_name)
220
218
  return bool(shard_arg_value)
@@ -227,9 +225,7 @@ class QontractReconcileIntegration(ABC, Generic[RunParamsTypeVar]):
227
225
  Create an instegration instance for a specific shard, by patching the run parameters.
228
226
  If the integration does not support sharded runs, it raises an exception.
229
227
  """
230
- sharding_config = ( # pylint: disable=assignment-from-none
231
- self.get_desired_state_shard_config()
232
- )
228
+ sharding_config = self.get_desired_state_shard_config()
233
229
  if sharding_config:
234
230
  sharded_params = self.params.copy_and_update({
235
231
  sharding_config.shard_arg_name: [shard]
@@ -71,9 +71,7 @@ class IntegrationRunConfiguration:
71
71
 
72
72
  def comparison_bundle_desired_state(self) -> dict[str, Any] | None:
73
73
  self.switch_to_comparison_bundle()
74
- data = ( # pylint: disable=assignment-from-none
75
- self.integration.get_early_exit_desired_state()
76
- )
74
+ data = self.integration.get_early_exit_desired_state()
77
75
  self.switch_to_main_bundle()
78
76
  return data
79
77
 
@@ -111,7 +111,7 @@ class TriggerSpecContainerImageError(Exception):
111
111
  pass
112
112
 
113
113
 
114
- class SaasHerder: # pylint: disable=too-many-public-methods
114
+ class SaasHerder:
115
115
  """Wrapper around SaaS deployment actions."""
116
116
 
117
117
  def __init__(
@@ -76,7 +76,7 @@ class DeletionApprovalExpirationValueError(Exception):
76
76
  pass
77
77
 
78
78
 
79
- class TerraformClient: # pylint: disable=too-many-public-methods
79
+ class TerraformClient:
80
80
  def __init__(
81
81
  self,
82
82
  integration: str,
@@ -432,7 +432,7 @@ class ProviderExcludedError(Exception):
432
432
  )
433
433
 
434
434
 
435
- class TerrascriptClient: # pylint: disable=too-many-public-methods
435
+ class TerrascriptClient:
436
436
  """
437
437
  At a high-level, this class is responsible for generating Terraform configuration in
438
438
  JSON format from app-interface schemas/openshift/terraform-resource-1.yml objects.
@@ -90,4 +90,4 @@ def main(
90
90
 
91
91
 
92
92
  if __name__ == "__main__":
93
- main() # pylint: disable=no-value-for-parameter
93
+ main()
@@ -327,14 +327,14 @@ def get_apps_data(
327
327
  slo_mx[cluster] = {}
328
328
  if namespace not in slo_mx[cluster]:
329
329
  slo_mx[cluster][namespace] = {}
330
- if slo_doc_name not in slo_mx[cluster][namespace]: # pylint: disable=line-too-long
330
+ if slo_doc_name not in slo_mx[cluster][namespace]:
331
331
  slo_mx[cluster][namespace][slo_doc_name] = {}
332
332
  if slo_name not in slo_mx[cluster][namespace][slo_doc_name]:
333
333
  slo_mx[cluster][namespace][slo_doc_name][slo_name] = {
334
334
  sample.labels["type"]: sample.value
335
335
  }
336
336
  else:
337
- slo_mx[cluster][namespace][slo_doc_name][slo_name].update({ # pylint: disable=line-too-long
337
+ slo_mx[cluster][namespace][slo_doc_name][slo_name].update({
338
338
  sample.labels["type"]: sample.value
339
339
  })
340
340
  app["container_vulnerabilities"] = vuln_mx
@@ -96,4 +96,4 @@ def main(
96
96
 
97
97
 
98
98
  if __name__ == "__main__":
99
- main() # pylint: disable=no-value-for-parameter
99
+ main()
@@ -87,4 +87,4 @@ def main(
87
87
 
88
88
 
89
89
  if __name__ == "__main__":
90
- main() # pylint: disable=no-value-for-parameter
90
+ main()
@@ -89,4 +89,4 @@ def main(
89
89
 
90
90
 
91
91
  if __name__ == "__main__":
92
- main() # pylint: disable=no-value-for-parameter
92
+ main()
@@ -89,4 +89,4 @@ def main(
89
89
 
90
90
 
91
91
  if __name__ == "__main__":
92
- main() # pylint: disable=no-value-for-parameter
92
+ main()
tools/qontract_cli.py CHANGED
@@ -4848,4 +4848,4 @@ def top_talkers(ctx: click.Context, top: int) -> None:
4848
4848
 
4849
4849
 
4850
4850
  if __name__ == "__main__":
4851
- root() # pylint: disable=no-value-for-parameter
4851
+ root()
@@ -96,4 +96,4 @@ def main(
96
96
 
97
97
 
98
98
  if __name__ == "__main__":
99
- main() # pylint: disable=no-value-for-parameter
99
+ main()
@@ -104,4 +104,4 @@ def main(templates: tuple[str]) -> None:
104
104
 
105
105
 
106
106
  if __name__ == "__main__":
107
- main() # pylint: disable=no-value-for-parameter
107
+ main()