openstackdocstheme/releasenotes/notes
Hervé Beraud ff156664e6 Adding pre-commit
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>
2020-09-15 14:46:10 +02:00
..
add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml Add 'openstackdocs_auto_name' config option 2020-04-24 13:46:00 +01:00
add-openstackdocs_auto_version-option-fd03f20373eede39.yaml Add 'openstackdocs_auto_version' config option, path checking 2020-04-24 12:04:21 +01:00
add-reno-8da9bd3ccb7bbeab.yaml Add reno for release-notes 2015-11-10 08:37:48 +01:00
add-starlingxdocs-10a33318f8630486.yaml Make a bare-bones starlingxdocs theme 2018-10-16 11:23:23 -05:00
add-translations-9238b0f56b677a6b.yaml Add options for sphinx-build -W in docstheme-build-translated.sh 2019-01-03 15:04:58 +01:00
allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml Allow automatic toc to be disabled 2016-08-16 10:10:37 -05:00
autoconfigure-settings-7083fdeeb121da89.yaml Configure additional properties 2018-03-13 16:51:41 +00:00
badge-6f8713da36a7e570.yaml Adding pre-commit 2020-09-15 14:46:10 +02:00
bug_project-d26160cfe5324694.yaml Require bug_project setting 2017-06-29 22:13:40 +02:00
bug-project-e9ff50f6149d2be1.yaml Add bug report project definition feature 2015-12-05 13:06:38 +09:00
bug-title-fdbefea0408e2cbf.yaml Allow the bug title to be customisable 2016-07-06 15:52:31 +01:00
css-cleanup-7fb30a2d1208bb4d.yaml Add reno for recent CSS cleanups 2019-05-30 13:01:42 +01:00
custom-bug-link-ec64bdf9ce357d16.yaml Adds release notes items for next release 2016-07-19 07:48:08 +02:00
disable_analytics-45d98d6fab71d2b1.yaml Make Google Analytics tracking optional. 2015-12-05 07:45:26 +00:00
do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml Do not display title string of page local TOC 2017-07-01 21:29:12 +09:00
doc-bug-template-7234e7f00e0ff599.yaml Includes checklist when filing a bug for osmanuals 2017-01-19 16:45:44 -06:00
double-backticks-not-red-5ce6dbc828221929.yaml No red with double backticks markup 2017-09-19 13:48:06 -04:00
drop-python-2-7-73d3113c69d724d6.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-02-05 19:42:12 +01:00
get_openstack_logo_path-6cdb6538bc5893c3.yaml Readd get_openstack_logo_path 2018-10-21 11:54:40 +02:00
last-updated-via-git-245fb14be3770a19.yaml use git modification timestamps as last-updated time for each page 2018-12-04 10:29:26 -05:00
latex_engine-cc35cb3a4ad2fa00.yaml Use xelatex as latex_engine 2020-05-15 08:46:24 +02:00
local-project-search-e6f00a84f2eed0a6.yaml Bring back local search 2017-08-12 09:55:09 -05:00
lp1516819-b4bb7b0f10004cef.yaml Add Google Analytics JavaScript tracking snippet code 2015-11-17 14:18:44 +01:00
merge-latex-options-242f10c932f0e6af.yaml Merge, rather than overwrite, LaTeX settings 2020-04-24 13:46:03 +01:00
norelease-ccd7722c078a73a2.yaml Make theme version independent 2016-03-16 13:04:05 +00:00
opendev-5c528b2b4c737d59.yaml Update for OpenDev change 2019-04-21 14:27:39 +00:00
pdf_link-c6b0ed36dd12b0ef.yaml Add link to PDF file 2020-05-18 14:58:31 +02:00
pdf-version-56c223128dff8357.yaml Show version in PDFs 2020-05-20 14:03:08 +02:00
renamed-opts-bbf5d1390ed6ba71.yaml Add package prefixes for all config options 2020-05-13 14:32:20 +00:00
side-bar-config-d7e66388e252cadf.yaml Release note for new sidebar feature 2016-06-03 15:35:40 +00:00
sidebar_dropdown_apiref-993b4dba4c0369f6.yaml API References dropdown menu 2016-08-22 10:27:45 -05:00
sidebar-top-page-link-252532ddf42a5acf.yaml release note entry for sidebar link to a top page 2015-11-24 01:19:59 +09:00
sidebarlinks-db0a8463f32ab95d.yaml Fix sidebar for developer.openstack.org 2015-12-12 19:21:02 +01:00
source_date_epoch-1078730ca0b29a4e.yaml Allow to override build date with SOURCE_DATE_EPOCH 2019-04-29 14:35:13 +00:00
storyboard-5f67da8941aec6ae.yaml Minimal support for storyboard 2017-06-28 20:44:11 +02:00
storyboard-string-643a47e957b64557.yaml Handle StoryBoard project groups 2018-08-23 21:10:03 +02:00
storyboard-url-cee60d9449ec2980.yaml Fix the incorrect storyboard url 2018-09-13 08:51:44 +08:00
strip-html-tags-from-navigation-titles-929c92a339413015.yaml Strip tags from navigation prev, next titles 2017-07-04 17:03:20 +01:00
version-dropdown-1aa39974f524dd75.yaml Adds docs for release versions dropdown menu 2017-06-30 16:05:05 +00:00