cdcdc1d81b
* #19587: refactor to PEP8 * Issue: #19587: add skip_broken option to yum module PNTSYSOPS-1901 - internal reference Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * Issue: #19587: fix line break, attempt to make readble things at line 646 look ugly .. trying to make them look a bit more human readble though the entire approach should be rewriten PNTSYSOPS-1901 - internal reference Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * #19587: fixing typo, skip-broken has to be passed as list * PR: #21475: peer review changes relates to: revert comment deletion https://github.com/ansible/ansible/pull/21475#discussion_r101574146 relates to: remove irelevant var https://github.com/ansible/ansible/pull/21475#discussion_r101573388 relates to: reformat https://github.com/ansible/ansible/pull/21475#discussion_r101572840 Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * PR: #21475: peer review changes relates to: https://github.com/ansible/ansible/pull/21475#discussion_r101573736 Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * Issue: #21475: fixing typo in the Man section Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * PR: #21475 - Peer review: revert variable a Relates to: https://github.com/ansible/ansible/pull/21475#pullrequestreview-22404868 Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> * Issue: 19587 - small correction Signed-off-by: Veaceslav Mindru <vmindru@redhat.com> <mindruv@gmail.com> |
8 years ago | |
---|---|---|
.. | ||
README.md | 8 years ago | |
current-ignore.txt | ||
legacy-files.txt | 8 years ago | |
legacy-ignore.txt | 8 years ago | |
skip.txt |
README.md
PEP 8
PEP 8 style guidelines are enforced by pep8 on all python files in the repository by default.
Current Rule Set
By default all files are tested using the current rule set.
All pep8
tests are executed, except those listed in the current ignore list.
Legacy Rule Set
Files which are listed in the legacy file list are tested using the legacy rule set.
All pep8
tests are executed, except those listed in the current ignore list or
legacy ignore list.
Files listed in the legacy file list which pass the current rule set will result in an error. This is intended to prevent regressions on style guidelines for files which pass the more stringent current rule set.
Skipping Tests
Files listed in the skip list are not tested by pep8
.
Removed Files
Files which have been removed from the repository must be removed from the legacy file list and the skip list.
Running Locally
The pep8 check can be run locally with:
./test/runner/ansible-test sanity --test pep8 [file-or-directory-path-to-check] ...