summaryrefslogtreecommitdiff
path: root/copyright-statement-lint
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-10-08 19:56:17 +0300
committerLars Wirzenius <liw@liw.fi>2016-10-08 19:56:17 +0300
commit91da238d2ee7a441f7470902ebef6b06389f27ba (patch)
treee9c81e1d27deddf31e49be75bc801c68af607da7 /copyright-statement-lint
parent9c980764307e82bc5eec2e5d1ea90f0db96b4870 (diff)
downloadcopyright-statement-lint-91da238d2ee7a441f7470902ebef6b06389f27ba.tar.gz
Change to allow releass to be made with bumper
Diffstat (limited to 'copyright-statement-lint')
-rwxr-xr-xcopyright-statement-lint7
1 files changed, 3 insertions, 4 deletions
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<years>\d+((,|-|\s)|\d+)*)\s(?P<names>.*)')
@@ -98,4 +97,4 @@ class CopyrightStatementLint(cliapp.Application):
return pairs
-CopyrightStatementLint(version=__version__).run()
+CopyrightStatementLint(version=copystmtlint.__version__).run()