[yang-doctors] pyang tree formatting doesn't honor line length

"Acee Lindem (acee)" <acee@cisco.com> Mon, 05 August 2019 15:50 UTC

Return-Path: <acee@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E415120261 for <yang-doctors@ietfa.amsl.com>; Mon, 5 Aug 2019 08:50:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=LzXjF7gL; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=gOTem24H
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6AF2_EYdgsME for <yang-doctors@ietfa.amsl.com>; Mon, 5 Aug 2019 08:50:12 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14DBA120292 for <yang-doctors@ietf.org>; Mon, 5 Aug 2019 08:50:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3255; q=dns/txt; s=iport; t=1565020211; x=1566229811; h=from:to:subject:date:message-id:mime-version; bh=pY+Ey62l496DmAyqPlAQWcLcXqpLW6Zr8qPl8hBaREg=; b=LzXjF7gLRhMfkpN4Mx3VymSVlRNXsxCQNvCIeipYaRAgiRMB8PVMXqLS jw9X+VTwwdOE7TRsfMc5ueHPEyw1lL+LEhOzwXpEgZoXPG1MpTvK1B9Ow ko6iFlovQCz476Ht90XP1A6e2wQACiGCczKiTCHGb5C2/dnRcefJAU8nt w=;
IronPort-PHdr: =?us-ascii?q?9a23=3A39jvfB/sugtNX/9uRHGN82YQeigqvan1NQcJ65?= =?us-ascii?q?0hzqhDabmn44+/YR7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfJq3UeaNpJXh?= =?us-ascii?q?4Bh98RmlkpC8OIIUb6N/XtKSc9GZcKWQ=3D=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CCAAB1T0hd/40NJK1mHAEBAQQBAQc?= =?us-ascii?q?EAQGBUwcBAQsBgRUvUANtVSAECyqEHoNHA4RShltMgWqTJ4RXgS6BJANUCQE?= =?us-ascii?q?BAQwBAS0CAQGEWIJYIzQJDgEDAQEEAQECAQZthR4MhWMRHQEBOBEBDD4CBDA?= =?us-ascii?q?fCAQ1gwABgR1NAx0BAqEEAoE4iGBxgTKCegEBBYJIgkIYghMJgTQBi2IXgX+?= =?us-ascii?q?BOAwTilkygiaPCYUElxcJAoIblB4UB5gppTcCBAIEBQIOAQEFgVA4gVhwFWU?= =?us-ascii?q?BgkGCQoNxilNygSmNEwEB?=
X-IronPort-AV: E=Sophos;i="5.64,350,1559520000"; d="scan'208,217";a="614702727"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Aug 2019 15:50:10 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id x75FoALK014520 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <yang-doctors@ietf.org>; Mon, 5 Aug 2019 15:50:10 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 5 Aug 2019 10:50:09 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 5 Aug 2019 11:50:08 -0400
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 5 Aug 2019 10:50:08 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U2Q8ztzVk4FhyS5wshgVllkY4/O+9U/f11BeptoXMHRck1cVXqW0dy5ROIysnQYzZ4Dpe91le4Slr8ndW2m4t4tr7DCQtGtrb3K90a/J5wh8JMEafpwVtop26Fku883RNw0x5bZS4r0kiOHlFE/7I1fkuWid3Nb3541yfxAdLgRMR7ncCqKgr5X9as8k4Os8Kub58kXasnAPdPI9CLfbMIxZ84ovZfYtyXr28ExnE1KPG3hcyMUUNE45Gz3nNYm5KgoT/8D22gI8j6ntiJozwnHu371k4jKhhM0TzIIN8X5QZyQS0/1DKioyi51pazsLg6dHwz84lOpNYefmMeOeVQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pY+Ey62l496DmAyqPlAQWcLcXqpLW6Zr8qPl8hBaREg=; b=hOfQ/5bTCinVpV6v2WjtvvITdSNMI6L/5X1Ik/bXEkmpjKxkH2XG55FY+uQ9AnyS/KlmiIdX14FuzjU/xHO8csKlKCEtVSNelGBRHWd/OJqmplEARUlILHv34qeW4TtWzvjhEBgSBge7h4OJ7B7HOJfqLCsA+A+hOJKL7Vsr5jqUgyc0RVXHzaf/U5/0OT7k8Ry635/GhK+CH2puSvAZmw+hg/HNXBDdavWcCQDw9giqH0V7pEzYcFzC2LvGh2JYgrLU0W6HdEO1BmkDYsjZDQYwRClrtwNnMqCFc21JMU7YG+YF//VuUVScZynzwXK1JvG8ce/sas32a+CaZUV4bg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pY+Ey62l496DmAyqPlAQWcLcXqpLW6Zr8qPl8hBaREg=; b=gOTem24HUtrV+Ye9YZszATPKMcY9LVhgjsY98QI5FcwuPxUhdIBN8A7CKNOzmS5EayX+VHmDxiLbcnk+PFwwq7bixnIJO8l/IIBNBg/grsPoU4OZ2YARDrXI7Ltt84XyhKFLuB5xWwnYJEgBTPr15MADtU7rOqIdnUgGd7T0gpY=
Received: from MN2PR11MB4221.namprd11.prod.outlook.com (52.135.38.14) by MN2PR11MB4336.namprd11.prod.outlook.com (52.135.37.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.16; Mon, 5 Aug 2019 15:50:06 +0000
Received: from MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::859c:f271:3be2:74e0]) by MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::859c:f271:3be2:74e0%3]) with mapi id 15.20.2136.018; Mon, 5 Aug 2019 15:50:06 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: YANG Doctors <yang-doctors@ietf.org>
Thread-Topic: pyang tree formatting doesn't honor line length
Thread-Index: AQHVS6VzTnswpc63YEqsRpDv+/e4ew==
Date: Mon, 5 Aug 2019 15:50:06 +0000
Message-ID: <EB241305-F84A-4542-8AC6-11AB28ABA38A@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [2001:420:c0c4:1001::2f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 77f55f23-1f62-4fb6-eec3-08d719bc9686
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB4336;
x-ms-traffictypediagnostic: MN2PR11MB4336:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <MN2PR11MB4336A62BDD36EF3B0604C57AC2DA0@MN2PR11MB4336.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 01208B1E18
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(199004)(189003)(6116002)(256004)(36756003)(81156014)(8936002)(6306002)(86362001)(81166006)(6486002)(478600001)(54896002)(6512007)(25786009)(71200400001)(316002)(71190400001)(7736002)(53936002)(2906002)(66946007)(14454004)(8676002)(476003)(99286004)(6916009)(64756008)(66556008)(66476007)(102836004)(76116006)(66446008)(46003)(486006)(5660300002)(6436002)(6506007)(68736007)(33656002)(558084003)(2616005)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4336; H:MN2PR11MB4221.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: C2oZNLuEkWJS6FdCdpNM1p7uM9rKUKGEFCzMnon3rAdUu89u94Ukr4b9+uWSRtdOyLZN757BNv0lGTd52Rexz6uMM6qcRo8CDosLa9VK/ODFrOmRqYgKZKUitEWusZO/4iLeFT4E4+V3QAsm9h1y82fnik1s/1licSiNWzOphesosJFuDOozU5ASImKIBbBm8cZL23d6W7M9YKKJLCPlaH5METo+zGE08KoJpq9y8o5hHN3xVe8mgHG7MkwMrrVUK22EsfGnthcHCYImpfVDBU0ZnoPFnmafA5jnzSoltvJhpJt2oIVeexg/WIvt3CZZUQIw44/SPIC4YtCzwK3F2B6JNlOoLQ7qlqyL4mPwZdl3q68Zp7YtDiWw5z9hj01eArSjLFQRBbH1PzpN9WhUgrkJOHlP5gdi9hca2LWpkYQ=
Content-Type: multipart/alternative; boundary="_000_EB241305F84A45428AC611AB28ABA38Aciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 77f55f23-1f62-4fb6-eec3-08d719bc9686
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2019 15:50:06.4596 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: acee@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4336
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/DuAm14Bxs0J_Iy7HxkNCvozgPwo>
Subject: [yang-doctors] pyang tree formatting doesn't honor line length
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Aug 2019 15:50:26 -0000

One thing really annoying is that “pyang -f tree -–tree-line-length=66” doesn’t seem to honor the maximum line length. Am I doing something wrong or is the line formatting simply best effort?

Thanks,
Acee