From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by sourceware.org (Postfix) with ESMTPS id 22F9E3856DC2 for ; Wed, 4 Oct 2023 16:58:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 22F9E3856DC2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-79faba5fe12so2800139f.3 for ; Wed, 04 Oct 2023 09:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1696438724; x=1697043524; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4jLrdCx+IMhP6LAoZoT/3d/0fYr1T0uxhyx9V8InhNM=; b=Tpuut0IXTalNJKdQOSRr7YwWpqfCGZgAiFLPsIqaJs5DFcuw3ov96THjoQzz/0Lr3f ylIhU6r4tnUHLymlqY0wOzq8EpCRkmpDnsnJHkJqps9hTvxfVVvrvGkpgG6Yo8iH7gdM /MeWVDjOMIYiRsRN4CtA7JCltCFYhrHEUsnz/hiSlfARqEEOOBPsRtBa7pIKoXrBc5vy KkoYDsOlIUZWDiQ3mDtCzKSnG9L6QBxfGPwK6Yccx9Op+dstWLISfN6+GjDbcPON4Dob xoaHmds2isxnnRdAVCBRdk/rmLVaTuF/YxAJy3bkm/j4dvRxf6SVLVSPeUH3WzmgWCcJ 18Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696438724; x=1697043524; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4jLrdCx+IMhP6LAoZoT/3d/0fYr1T0uxhyx9V8InhNM=; b=uUEu3+LijT0+f6ViH/4w558Kjn1PGi+EJEEFqQLcKLJZBRoiYVh9mbIqi8R3jeyyk8 vXJzTV9hx1k0w089oFrV9Idpx5hP8B3EKo9ewU9q+WuPaPW6K1lRRwcFSUvtU5rkcoBF 5/AQQXU5igVC1evu5UdyURrajkLVrSGTlIxP5wAOyuJO6Mfz0InHE2WFdwtJaG4mld07 iLMIKecrAoWtAj0Yt7yNpKPsXSt6xaGoi3Zdc4c4wOsRqbuXn9lyxxJI0Aj8akXcuhAw NzSya4U1/6TPKkt5VwadSXj6k+Fp9hxBM1hXi3Tw3cT9s3kL9m3/rVHAosbzQqQ27ix1 V+jw== X-Gm-Message-State: AOJu0YwG6WxIz4LaTsYLCguYq1bz1OY2Bqvj8EhFrikWZdZegv1HdBnB BBL1KGL7zASttPu7dbXysPpZp+fHwgxciNKPlYjEiw== X-Google-Smtp-Source: AGHT+IHB4RasMvrZB1rEvYYm0pyQA0k8Nre8x9Z8V3O6Pli3yYAtHOxVRnOhRzqrSmlFNSDlztMQSg== X-Received: by 2002:a05:6e02:214c:b0:34f:2edd:9213 with SMTP id d12-20020a056e02214c00b0034f2edd9213mr3502672ilv.21.1696438724277; Wed, 04 Oct 2023 09:58:44 -0700 (PDT) Received: from localhost.localdomain (71-211-130-31.hlrn.qwest.net. [71.211.130.31]) by smtp.gmail.com with ESMTPSA id e4-20020a02a784000000b0043cec02791bsm1066491jaj.96.2023.10.04.09.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:58:43 -0700 (PDT) From: Tom Tromey To: gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org Subject: [RFC 0/2] black, isort, and flake8 configuration Date: Wed, 4 Oct 2023 10:58:30 -0600 Message-Id: <20231004165832.1750191-1-tromey@adacore.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This short series adds configuration files for black ("opinionated" code formatter), isort (import sorter) and flake8 (Python lint) to libstdc++. I marked it as RFC since sometimes people don't like black's output. In gdb we use it -- at first I found some of its decisions a little odd, but overall it's nice not to have to review for or worry about the minitia of code formatting. Tom