Skip to content

Disallow u-prefixed string (Python 2's unicode literals) in your Python code.

License

Notifications You must be signed in to change notification settings

5j9/flake8-no-u-prefixed-strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://travis-ci.org/5j9/flake8-no-u-prefixed-strings.svg?branch=master

flake8-no-u-prefixed-strings

A plugin for flake8 (v3+) to disallow any u-prefixed string literals, e.g. u"", u'', U""""text""", or u'''string'''. Might be useful in Python 3 only projects, or Python 2 projects which enforce usage of unicode_literals.

You can use flake8-future-import to enforce import of unicode_literals.

Installation

pip install flake8-no-u-prefixed-strings

Should work with all officially supported Python versions, including Python 2.7.

About

Disallow u-prefixed string (Python 2's unicode literals) in your Python code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages