19dc267e4c
Allow specifying the source and destination files' encodings in the template module * Added output_encoding to the template module, default to utf-8 * Added documentation for the new variables * Leveraged the encoding argument on to_text() and to_bytes() to keep the implementation as simple as possible * Added integration tests with files in utf-8 and windows-1252 encodings, testing all combinations * fix bad smell test by excluding windows-1252 files from the utf8 checks * fix bad smell test by excluding valid files from the smart quote test |
||
---|---|---|
.. | ||
azure-requirements.json | ||
azure-requirements.py | ||
boilerplate.json | ||
boilerplate.py | ||
changelog.json | ||
changelog.py | ||
configure-remoting-ps1.json | ||
configure-remoting-ps1.py | ||
docs-build.json | ||
docs-build.py | ||
empty-init.json | ||
empty-init.py | ||
line-endings.json | ||
line-endings.py | ||
no-assert.json | ||
no-assert.py | ||
no-basestring.json | ||
no-basestring.py | ||
no-dict-iteritems.json | ||
no-dict-iteritems.py | ||
no-dict-iterkeys.json | ||
no-dict-iterkeys.py | ||
no-dict-itervalues.json | ||
no-dict-itervalues.py | ||
no-get-exception.json | ||
no-get-exception.py | ||
no-illegal-filenames.json | ||
no-illegal-filenames.py | ||
no-smart-quotes.json | ||
no-smart-quotes.py | ||
no-tests-as-filters.json | ||
no-tests-as-filters.py | ||
no-underscore-variable.json | ||
no-underscore-variable.py | ||
no-unicode-literals.json | ||
no-unicode-literals.py | ||
replace-urlopen.json | ||
replace-urlopen.py | ||
required-and-default-attributes.json | ||
required-and-default-attributes.py | ||
shebang.json | ||
shebang.py | ||
skip.txt | ||
test-constraints.json | ||
test-constraints.py | ||
use-argspec-type-path.json | ||
use-argspec-type-path.py | ||
use-compat-six.json | ||
use-compat-six.py |