summaryrefslogtreecommitdiff
path: root/pylint/utils
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/utils')
-rw-r--r--pylint/utils/__init__.py1
-rw-r--r--pylint/utils/ast_walker.py2
-rw-r--r--pylint/utils/file_state.py2
-rw-r--r--pylint/utils/pragma_parser.py4
-rw-r--r--pylint/utils/utils.py2
5 files changed, 1 insertions, 10 deletions
diff --git a/pylint/utils/__init__.py b/pylint/utils/__init__.py
index 8ee9e0731..4def3057a 100644
--- a/pylint/utils/__init__.py
+++ b/pylint/utils/__init__.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Copyright (c) 2006-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
# Copyright (c) 2009 Vincent
# Copyright (c) 2009 Mads Kiilerich <mads@kiilerich.com>
diff --git a/pylint/utils/ast_walker.py b/pylint/utils/ast_walker.py
index 2e7a6da97..dbad0cc48 100644
--- a/pylint/utils/ast_walker.py
+++ b/pylint/utils/ast_walker.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
diff --git a/pylint/utils/file_state.py b/pylint/utils/file_state.py
index 1a8dd4d7f..e42ce625f 100644
--- a/pylint/utils/file_state.py
+++ b/pylint/utils/file_state.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py
index 6ceefe031..4b3fb301a 100644
--- a/pylint/utils/pragma_parser.py
+++ b/pylint/utils/pragma_parser.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
@@ -72,7 +70,7 @@ class PragmaParserError(Exception):
"""
self.message = message
self.token = token
- super(PragmaParserError, self).__init__(self.message)
+ super().__init__(self.message)
class UnRecognizedOptionError(PragmaParserError):
diff --git a/pylint/utils/utils.py b/pylint/utils/utils.py
index 4ec73b9c2..6febac19a 100644
--- a/pylint/utils/utils.py
+++ b/pylint/utils/utils.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING