summaryrefslogtreecommitdiff
path: root/giscanner/annotationmain.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-08-10 11:19:58 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-08-15 10:43:55 +0200
commit14dcc4a4f961bd6dd1d84ec858e0378cf43afa8b (patch)
tree356698c18599c17062e1f102b04f52558a94efc0 /giscanner/annotationmain.py
parentf2be65b417b7179f5490c0735d053bd466f7f317 (diff)
downloadgobject-introspection-14dcc4a4f961bd6dd1d84ec858e0378cf43afa8b.tar.gz
tests: depend on flake8 instead of including pep8/pyflakes
g-i includes an old version of pep8 and pyflakes and uses that during "make check". It (1) doesn't catch all cases newer versions of pycodestyle/pyflakes catch and (2) doesn't test all Python files (3) doesn't work with meson. Instead of updating just remove them and depend on flake8 instead. To run the checks simply run flake8 in the root dir. This also makes it possible to run those checks when using meson and not autotools. To not get test suite failures on flake8 updates move the checks from "make check" to an extra "make check.quality" target.
Diffstat (limited to 'giscanner/annotationmain.py')
-rw-r--r--giscanner/annotationmain.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/giscanner/annotationmain.py b/giscanner/annotationmain.py
index c7be4f7c..eef0f035 100644
--- a/giscanner/annotationmain.py
+++ b/giscanner/annotationmain.py
@@ -29,7 +29,6 @@ import codecs
from contextlib import contextmanager
import giscanner
-from giscanner import message
from giscanner.annotationparser import GtkDocCommentBlockParser, GtkDocCommentBlockWriter
from giscanner.scannermain import (get_preprocessor_option_group,
create_source_scanner,
@@ -81,8 +80,6 @@ def annotation_main(args):
if options.packages:
process_packages(options, options.packages)
- logger = message.MessageLogger.get(namespace=None)
-
ss = create_source_scanner(options, args)
if options.extract: