]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
pylint: enable check for trailing newlines
authorMartin <martin.basti@gmail.com>
Tue, 2 Aug 2016 20:40:40 +0000 (22:40 +0200)
committerMartin <martin.basti@gmail.com>
Wed, 31 Aug 2016 19:50:37 +0000 (21:50 +0200)
21 files changed:
dns/rdtypes/ANY/CAA.py
dns/rdtypes/ANY/CERT.py
dns/rdtypes/ANY/HINFO.py
dns/rdtypes/ANY/ISDN.py
dns/rdtypes/ANY/NSEC3.py
dns/rdtypes/ANY/NSEC3PARAM.py
dns/rdtypes/ANY/SSHFP.py
dns/rdtypes/ANY/TLSA.py
dns/rdtypes/ANY/URI.py
dns/rdtypes/ANY/X25.py
dns/rdtypes/IN/A.py
dns/rdtypes/IN/AAAA.py
dns/rdtypes/IN/APL.py
dns/rdtypes/IN/DHCID.py
dns/rdtypes/IN/IPSECKEY.py
dns/rdtypes/IN/NSAP.py
dns/rdtypes/IN/WKS.py
dns/rdtypes/dsbase.py
dns/rdtypes/euibase.py
dns/rdtypes/txtbase.py
pylintrc

index e80d46939cb09893df7f54921d67361b5db6ad49..f2e41ad0b33069cdc92a926e5a5b5a0ef7bb0911 100644 (file)
@@ -71,4 +71,3 @@ class CAA(dns.rdata.Rdata):
         tag = wire[current: current + l]
         value = wire[current + l:current + rdlen - 2]
         return cls(rdclass, rdtype, flags, tag, value)
-
index b74544096dec723027b813534b761c9730de2cb8..1c35c23d2f75b4199e2713d59f34db2e7f69c57a 100644 (file)
@@ -119,4 +119,3 @@ class CERT(dns.rdata.Rdata):
         certificate = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, certificate_type, key_tag, algorithm,
                    certificate)
-
index 52298bc4249053841d788a806764dc048b6bc034..e5a1bea3dd95ac35c9bb60b60329f0e9073b59c5 100644 (file)
@@ -82,4 +82,3 @@ class HINFO(dns.rdata.Rdata):
             raise dns.exception.FormError
         os = wire[current: current + l].unwrap()
         return cls(rdclass, rdtype, cpu, os)
-
index 01284a8253e145c79c7707a7ac75226bf914f6f4..da2ae3af3abec3b902f191210df885d159e0eb42 100644 (file)
@@ -95,4 +95,3 @@ class ISDN(dns.rdata.Rdata):
         else:
             subaddress = ''
         return cls(rdclass, rdtype, address, subaddress)
-
index 3982f4b457f0d169e0fee2dca3b17fecec4892e0..9a15687bacd78f62c51503373f6bc129f13876a6 100644 (file)
@@ -189,4 +189,3 @@ class NSEC3(dns.rdata.Rdata):
             windows.append((window, bitmap))
         return cls(rdclass, rdtype, algorithm, flags, iterations, salt, next,
                    windows)
-
index b506282be4e61df69bea424a49e37a7da8b83e12..36bf740941738882a01353a046a86666610ebc03 100644 (file)
@@ -86,4 +86,3 @@ class NSEC3PARAM(dns.rdata.Rdata):
         if rdlen != 0:
             raise dns.exception.FormError
         return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
-
index b6ed396f1d2897efeb5c6ce2155c58ad87a41ff7..7e846b3429145cbbc71d489c5c0d8426882c6bf5 100644 (file)
@@ -75,4 +75,3 @@ class SSHFP(dns.rdata.Rdata):
         rdlen -= 2
         fingerprint = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, header[0], header[1], fingerprint)
-
index 23f4e94b1557e325f983cb6748ec8fc355b8d363..790a93b9dbec3f8bad62494a7ec8393de3b647ea 100644 (file)
@@ -80,4 +80,3 @@ class TLSA(dns.rdata.Rdata):
         rdlen -= 3
         cert = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, header[0], header[1], header[2], cert)
-
index 0c121d2c8a9d1d16467fd2b873270fe0e7ffb13d..b5595b51050e319f589e8cbe658386ae6d3bd3e6 100644 (file)
@@ -78,4 +78,3 @@ class URI(dns.rdata.Rdata):
         current += rdlen
 
         return cls(rdclass, rdtype, priority, weight, target)
-
index f5cca114ef86c4d8de4294fb5d795f7a1ce0567f..8732ccf0df055d42bf979192dc6a331b007e2223 100644 (file)
@@ -62,4 +62,3 @@ class X25(dns.rdata.Rdata):
             raise dns.exception.FormError
         address = wire[current: current + l].unwrap()
         return cls(rdclass, rdtype, address)
-
index 42faf9baf76d6677348c348286570883f4bbcd35..3775548f2046d1b62e2efb231b15a67a0aee7100 100644 (file)
@@ -50,4 +50,3 @@ class A(dns.rdata.Rdata):
     def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
         address = dns.ipv4.inet_ntoa(wire[current: current + rdlen]).decode()
         return cls(rdclass, rdtype, address)
-
index d2c65c634ff072e0de993161c84cbb046db0b55a..4352404d7a3a1b7b131278a7565116972eb61c4b 100644 (file)
@@ -51,4 +51,3 @@ class AAAA(dns.rdata.Rdata):
         address = dns.inet.inet_ntop(dns.inet.AF_INET6,
                                      wire[current: current + rdlen])
         return cls(rdclass, rdtype, address)
-
index 698dde78956e510ce855463dc18546c06457c712..57ef6c0a99d8719e2ec1e324d0618678fe79c905 100644 (file)
@@ -159,4 +159,3 @@ class APL(dns.rdata.Rdata):
             item = APLItem(header[0], negation, address, header[1])
             items.append(item)
         return cls(rdclass, rdtype, items)
-
index 06a850ad293805b7dd9bf160b3a05d06021132ae..5b8626a5a4a4de845edad33478284e7161fd7319 100644 (file)
@@ -57,4 +57,3 @@ class DHCID(dns.rdata.Rdata):
     def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
         data = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, data)
-
index 4f07bd09e5d7e57e3b0f591304afe22c58e3556a..c673e839dacb608a15e5f42d7f00e0e2020b23e8 100644 (file)
@@ -146,4 +146,3 @@ class IPSECKEY(dns.rdata.Rdata):
         key = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, header[0], gateway_type, header[2],
                    gateway, key)
-
index 6dbe5af09a876ff4fbecb78e80d175ead084821c..05d0745ef83e6c568276389ae497f9554654e492 100644 (file)
@@ -56,4 +56,3 @@ class NSAP(dns.rdata.Rdata):
     def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
         address = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, address)
-
index da2a2d88ac28b351badc6f07e60ad3a050dcc530..1d4012c309de213789a76356dc5e4f205dceba4a 100644 (file)
@@ -103,4 +103,3 @@ class WKS(dns.rdata.Rdata):
         rdlen -= 5
         bitmap = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, address, protocol, bitmap)
-
index 80f792acfcacc95e3a09b1ff1b354f7746422b6f..1ee28e4a3a14e422206079ff30d850fd580382c8 100644 (file)
@@ -81,4 +81,3 @@ class DSBase(dns.rdata.Rdata):
         rdlen -= 4
         digest = wire[current: current + rdlen].unwrap()
         return cls(rdclass, rdtype, header[0], header[1], header[2], digest)
-
index c7d00455ac108b245feb2c15c0c1dba279d08b40..cc5fdaa63beacf091a0b7ed932e7db0f71c8e823 100644 (file)
@@ -69,4 +69,3 @@ class EUIBase(dns.rdata.Rdata):
     def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin=None):
         eui = wire[current:current + rdlen].unwrap()
         return cls(rdclass, rdtype, eui)
-
index 54d7e6f0d33e8c447b286dceae1ca5c236aedd1f..352b027bf8c003a41812ddd47ffc6d721a54914b 100644 (file)
@@ -88,4 +88,3 @@ class TXTBase(dns.rdata.Rdata):
             rdlen -= l
             strings.append(s)
         return cls(rdclass, rdtype, strings)
-
index b22e31e8a73e1ddc5b4e72d907192429c41ea9f8..26999071ac6e2d3cdfa5f7e40bd47867ff8a8aa1 100644 (file)
--- a/pylintrc
+++ b/pylintrc
@@ -35,7 +35,6 @@ disable=
     unused-variable,
     wrong-import-order,
     wrong-import-position,
-    trailing-newlines,
 
 
 [REPORTS]