Find socket.getfqdn() usage
Recipe ID
org.openrewrite.python.migrate.FindSocketGetFQDNArtifactopenrewrite-migrate-pythonFind usage of socket.getfqdn() which can be slow and unreliable. Consider using socket.gethostname() instead.
Single recipepythonsocketcode-qualityProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.python.migrate.FindSocketGetFQDNIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python