From 7ee0563d154fc831f292cc275ce36aa13b9ecbd6 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 13 Aug 2022 17:14:32 +0200 Subject: Put long line flake8 ignores in files instead of globally We have some long URLs in the code (mostly in docstrings) and wrapping them does not improve readability (and is difficult in docstrings) so the E501 ignore is now put inside each file instead of globally. Closes https://github.com/arthurdejong/python-stdnum/pull/302 --- stdnum/id/npwp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdnum/id') diff --git a/stdnum/id/npwp.py b/stdnum/id/npwp.py index de14a54..cfa668c 100644 --- a/stdnum/id/npwp.py +++ b/stdnum/id/npwp.py @@ -45,7 +45,7 @@ Traceback (most recent call last): InvalidLength: ... >>> format('013000666091000') '01.300.066.6-091.000' -""" +""" # noqa: E501 from stdnum import luhn from stdnum.exceptions import * -- cgit v1.2.3