ff156664e6
Introduced changes: - pre-commit config and rules - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: I9b979afcd45e6a51252ccccb686b01beeb9157f8 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com> |
||
---|---|---|
.. | ||
add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml | ||
add-openstackdocs_auto_version-option-fd03f20373eede39.yaml | ||
add-reno-8da9bd3ccb7bbeab.yaml | ||
add-starlingxdocs-10a33318f8630486.yaml | ||
add-translations-9238b0f56b677a6b.yaml | ||
allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml | ||
autoconfigure-settings-7083fdeeb121da89.yaml | ||
badge-6f8713da36a7e570.yaml | ||
bug_project-d26160cfe5324694.yaml | ||
bug-project-e9ff50f6149d2be1.yaml | ||
bug-title-fdbefea0408e2cbf.yaml | ||
css-cleanup-7fb30a2d1208bb4d.yaml | ||
custom-bug-link-ec64bdf9ce357d16.yaml | ||
disable_analytics-45d98d6fab71d2b1.yaml | ||
do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml | ||
doc-bug-template-7234e7f00e0ff599.yaml | ||
double-backticks-not-red-5ce6dbc828221929.yaml | ||
drop-python-2-7-73d3113c69d724d6.yaml | ||
get_openstack_logo_path-6cdb6538bc5893c3.yaml | ||
last-updated-via-git-245fb14be3770a19.yaml | ||
latex_engine-cc35cb3a4ad2fa00.yaml | ||
local-project-search-e6f00a84f2eed0a6.yaml | ||
lp1516819-b4bb7b0f10004cef.yaml | ||
merge-latex-options-242f10c932f0e6af.yaml | ||
norelease-ccd7722c078a73a2.yaml | ||
opendev-5c528b2b4c737d59.yaml | ||
pdf_link-c6b0ed36dd12b0ef.yaml | ||
pdf-version-56c223128dff8357.yaml | ||
renamed-opts-bbf5d1390ed6ba71.yaml | ||
side-bar-config-d7e66388e252cadf.yaml | ||
sidebar_dropdown_apiref-993b4dba4c0369f6.yaml | ||
sidebar-top-page-link-252532ddf42a5acf.yaml | ||
sidebarlinks-db0a8463f32ab95d.yaml | ||
source_date_epoch-1078730ca0b29a4e.yaml | ||
storyboard-5f67da8941aec6ae.yaml | ||
storyboard-string-643a47e957b64557.yaml | ||
storyboard-url-cee60d9449ec2980.yaml | ||
strip-html-tags-from-navigation-titles-929c92a339413015.yaml | ||
version-dropdown-1aa39974f524dd75.yaml |