From 91da238d2ee7a441f7470902ebef6b06389f27ba Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 8 Oct 2016 19:56:17 +0300 Subject: Change to allow releass to be made with bumper --- copyright-statement-lint | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'copyright-statement-lint') diff --git a/copyright-statement-lint b/copyright-statement-lint index fc8cad5..f88e775 100755 --- a/copyright-statement-lint +++ b/copyright-statement-lint @@ -17,14 +17,13 @@ # =*= License: GPL-3+ =*= -__version__ = '0.2' - - import cliapp import os import re import sys +import copystmtlint + copyright_pattern = re.compile( r'Copyright\s+(\([cC]\)\s+)?(?P\d+((,|-|\s)|\d+)*)\s(?P.*)') @@ -98,4 +97,4 @@ class CopyrightStatementLint(cliapp.Application): return pairs -CopyrightStatementLint(version=__version__).run() +CopyrightStatementLint(version=copystmtlint.__version__).run() -- cgit v1.2.1