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
boilerplate.py
changelog.json Implement new changelog generator. 7 years ago
changelog.py Implement new changelog generator. 7 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. 7 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
no-assert.py Adds the ipaddress compat library backport from Python 3.x (#42265) 6 years ago
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) 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
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 7 years ago
no-underscore-variable.json
no-underscore-variable.py
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
replace-urlopen.py Add requests.Session like class (#37622) 7 years ago
required-and-default-attributes.json
required-and-default-attributes.py
shebang.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
shebang.py Fix shebangs and file modes and update tests. (#40563) 7 years ago
skip.txt
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
use-argspec-type-path.py expand user before calling abspath (#40196) 7 years ago
use-compat-six.json
use-compat-six.py