Skip to content

Refactor integrations to format with ruff after dropping black #20452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

AAraKKe
Copy link
Contributor

@AAraKKe AAraKKe commented Jun 5, 2025

What does this PR do?

This PR runs ruff formatter in all integrations following the previous PR #20451.

Motivation

While Ruff is mostly a drop in replacement of Black there are some rules for which ruff can decide to format things different. See their differences with black page here.

Ruff brings faster formatting than Black and more reasonable defaults in many cases but this means that due to the differences in some situations, formatting would be a bit different.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from 3d4eb3f to 73e4745 Compare June 30, 2025 14:14
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from 4c70675 to a6f9a43 Compare June 30, 2025 17:19
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch 2 times, most recently from 808ceaf to edca816 Compare June 30, 2025 17:20
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from a6f9a43 to 598d124 Compare June 30, 2025 17:20
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from edca816 to 9b24a6b Compare June 30, 2025 17:26
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from 598d124 to 0cf2163 Compare June 30, 2025 17:26
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from 9b24a6b to cb4ee8b Compare June 30, 2025 17:37
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from 0cf2163 to 909e654 Compare June 30, 2025 17:37
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from cb4ee8b to 2c3c935 Compare July 1, 2025 08:34
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from 909e654 to c6fb13a Compare July 1, 2025 09:16
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch 2 times, most recently from e3f39c1 to 7bdac01 Compare July 1, 2025 09:18
@AAraKKe AAraKKe force-pushed the aarake/small-tweaks-for-devx branch from c6fb13a to 8f65df9 Compare July 1, 2025 09:18
Copy link
Contributor

@iliakur iliakur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅 🎉 💪

Base automatically changed from aarake/small-tweaks-for-devx to master July 1, 2025 10:52
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from 7bdac01 to 3f42dd2 Compare July 1, 2025 10:53
@AAraKKe
Copy link
Contributor Author

AAraKKe commented Jul 1, 2025

/mergegate trigger

@dd-devflow
Copy link

dd-devflow bot commented Jul 1, 2025

View all feedbacks in Devflow UI.

2025-07-01 10:55:17 UTC ℹ️ Start processing command /mergegate trigger


2025-07-01 10:55:21 UTC ℹ️ Devflow: /mergegate trigger

Merge gate not updated, no change detected in status or details on integrations-core #20452 synced on DB: failure

@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch 6 times, most recently from 3f42dd2 to ef074e9 Compare July 1, 2025 11:23
@AAraKKe AAraKKe force-pushed the aarake/format-all-integrations-with-ruff branch from c932e7b to c988282 Compare July 1, 2025 11:28
@AAraKKe
Copy link
Contributor Author

AAraKKe commented Jul 1, 2025

Alright, the check pr fails because the diff is too big and we cannot get the entire body to validate changelogs. I am bypassing it

@AAraKKe AAraKKe merged commit d4fe853 into master Jul 1, 2025
272 of 276 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base_package dev_package dev/tooling downloader integration/aerospike integration/airflow integration/apache integration/arangodb integration/argo_workflows integration/aspdotnet integration/aws_neuron integration/azure_iot_edge integration/btrfs integration/cacti integration/calico integration/cassandra_nodetool integration/ceph integration/cert_manager integration/cisco_aci integration/citrix_hypervisor integration/cloud_foundry_api integration/cloudera integration/cockroachdb integration/consul integration/coredns integration/couchbase integration/directory integration/disk integration/dns_check integration/dotnetclr integration/duckdb integration/ecs_fargate integration/elastic integration/envoy integration/esxi integration/etcd integration/fly_io integration/foundationdb integration/gearmand integration/glusterfs integration/gunicorn integration/haproxy integration/http_check integration/ibm_db2 integration/ibm_i integration/ibm_mq integration/ibm_was integration/iis integration/impala integration/infiniband integration/istio integration/kafka_consumer integration/karpenter integration/keda integration/kong integration/kube_apiserver_metrics integration/kube_controller_manager integration/kube_dns integration/kube_metrics_server integration/kube_proxy integration/kube_scheduler integration/kubeflow integration/kubelet integration/kubernetes_cluster_autoscaler integration/kubernetes_state integration/kyototycoon integration/linux_proc_extras integration/mapr integration/mapreduce integration/marathon integration/marklogic integration/mcache integration/mesos_master integration/mesos_slave integration/mongo integration/mysql integration/nagios integration/network integration/nfsstat integration/nginx integration/nvidia_nim integration/nvidia_triton integration/octopus_deploy integration/openstack_controller integration/openstack integration/pgbouncer integration/postgres integration/presto integration/process integration/proxysql integration/rabbitmq integration/ray integration/redisdb integration/rethinkdb integration/riakcs integration/sap_hana integration/scylla integration/silk integration/singlestore integration/slurm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants