You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
azure-requirements.json Overhaul additional sanity tests. (#36803) 7 years ago
azure-requirements.py More code-smell sanity test updates. (#36830) 7 years ago
boilerplate.json Update more code-smell tests. (#36570) 7 years ago
boilerplate.py Pass code-smell paths on stdin. 7 years ago
changelog.json Implement new changelog generator. 6 years ago
changelog.py Implement new changelog generator. 6 years ago
configure-remoting-ps1.json Overhaul additional sanity tests. (#36803) 7 years ago
configure-remoting-ps1.py Overhaul additional sanity tests. (#36803) 7 years ago
docs-build.json Make docs-build sanity test disabled by default. 6 years ago
docs-build.py Last docs link fixes (#39391) 7 years ago
empty-init.json Overhaul additional sanity tests. (#36803) 7 years ago
empty-init.py Overhaul additional sanity tests. (#36803) 7 years ago
line-endings.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
line-endings.py Tolerate win line endings on windows module_util load (#37291) 7 years ago
no-assert.json Add support for enhanced code-smell tests. (#36332) 7 years ago
no-assert.py Adds the ipaddress compat library backport from Python 3.x (#42265) 6 years ago
no-basestring.json Upgrade more code-smell tests. (#36560) 7 years ago
no-basestring.py Pass code-smell paths on stdin. 7 years ago
no-dict-iteritems.json Upgrade more code-smell tests. (#36560) 7 years ago
no-dict-iteritems.py Pass code-smell paths on stdin. 7 years ago
no-dict-iterkeys.json Upgrade more code-smell tests. (#36560) 7 years ago
no-dict-iterkeys.py Pass code-smell paths on stdin. 7 years ago
no-dict-itervalues.json Upgrade more code-smell tests. (#36560) 7 years ago
no-dict-itervalues.py Pass code-smell paths on stdin. 7 years ago
no-get-exception.json Upgrade more code-smell tests. (#36560) 7 years ago
no-get-exception.py Pass code-smell paths on stdin. 7 years ago
no-illegal-filenames.json Overhaul additional sanity tests. (#36803) 7 years ago
no-illegal-filenames.py Overhaul additional sanity tests. (#36803) 7 years ago
no-smart-quotes.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
no-smart-quotes.py Allow specifying the output encoding in the template module (#42171) 6 years ago
no-tests-as-filters.json Add support for enhanced code-smell tests. (#36332) 7 years ago
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 7 years ago
no-underscore-variable.json Update more code-smell tests. (#36570) 7 years ago
no-underscore-variable.py Pass code-smell paths on stdin. 7 years ago
no-unicode-literals.json More code-smell sanity test updates. (#36830) 7 years ago
no-unicode-literals.py Adds the ipaddress compat library backport from Python 3.x (#42265) 6 years ago
replace-urlopen.json Update more code-smell tests. (#36570) 7 years ago
replace-urlopen.py Add requests.Session like class (#37622) 6 years ago
required-and-default-attributes.json Upgrade more code-smell tests. (#36560) 7 years ago
required-and-default-attributes.py Pass code-smell paths on stdin. 7 years ago
shebang.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
shebang.py Fix shebangs and file modes and update tests. (#40563) 6 years ago
skip.txt Upgrade more code-smell tests. (#36560) 7 years ago
test-constraints.json Overhaul additional sanity tests. (#36803) 7 years ago
test-constraints.py Overhaul additional sanity tests. (#36803) 7 years ago
use-argspec-type-path.json Update more code-smell tests. (#36570) 7 years ago
use-argspec-type-path.py expand user before calling abspath (#40196) 6 years ago
use-compat-six.json Update more code-smell tests. (#36570) 7 years ago
use-compat-six.py Pass code-smell paths on stdin. 7 years ago