Remove Unicode marker before strings
All strings are Unicode in Python 3. No need for u'€', just use '€'.
This commit is contained in:
committed by
Adrien Vergé
parent
5fbf44c203
commit
5b21a3d9ea
@@ -24,7 +24,7 @@ APP_NAME = 'yamllint'
|
||||
APP_VERSION = '1.28.0'
|
||||
APP_DESCRIPTION = __doc__
|
||||
|
||||
__author__ = u'Adrien Vergé'
|
||||
__copyright__ = u'Copyright 2022, Adrien Vergé'
|
||||
__author__ = 'Adrien Vergé'
|
||||
__copyright__ = 'Copyright 2022, Adrien Vergé'
|
||||
__license__ = 'GPLv3'
|
||||
__version__ = APP_VERSION
|
||||
|
||||
@@ -166,7 +166,7 @@ def VALIDATE(conf):
|
||||
return 'cannot use both "required: false" and "extra-allowed"'
|
||||
|
||||
|
||||
DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str'
|
||||
DEFAULT_SCALAR_TAG = 'tag:yaml.org,2002:str'
|
||||
|
||||
# https://stackoverflow.com/a/36514274
|
||||
yaml.resolver.Resolver.add_implicit_resolver(
|
||||
|
||||
Reference in New Issue
Block a user