ansible/test/sanity/code-smell
Julien Champseix 19dc267e4c Allow specifying the output encoding in the template module (#42171)
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
2018-07-25 13:10:40 -07:00
..
azure-requirements.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
azure-requirements.py More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
boilerplate.json
boilerplate.py
changelog.json Implement new changelog generator. 2018-06-05 19:08:15 -07:00
changelog.py Implement new changelog generator. 2018-06-05 19:08:15 -07:00
configure-remoting-ps1.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
configure-remoting-ps1.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
docs-build.json Make docs-build sanity test disabled by default. 2018-05-09 17:55:00 -07:00
docs-build.py Last docs link fixes (#39391) 2018-04-27 13:21:39 -05:00
empty-init.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
empty-init.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
line-endings.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
line-endings.py Tolerate win line endings on windows module_util load (#37291) 2018-04-06 07:13:31 +10:00
no-assert.json
no-assert.py Adds the ipaddress compat library backport from Python 3.x (#42265) 2018-07-17 11:37:23 -07:00
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 Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-illegal-filenames.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-smart-quotes.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
no-smart-quotes.py Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
no-tests-as-filters.json
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-underscore-variable.json
no-underscore-variable.py
no-unicode-literals.json More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
no-unicode-literals.py Adds the ipaddress compat library backport from Python 3.x (#42265) 2018-07-17 11:37:23 -07:00
replace-urlopen.json
replace-urlopen.py Add requests.Session like class (#37622) 2018-06-01 11:44:20 -05:00
required-and-default-attributes.json
required-and-default-attributes.py
shebang.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
shebang.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
skip.txt
test-constraints.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
test-constraints.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
use-argspec-type-path.json
use-argspec-type-path.py expand user before calling abspath (#40196) 2018-06-13 21:18:02 -04:00
use-compat-six.json
use-compat-six.py