summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-21Merge "Remove os.path.abspath() in ignore paths"HEAD0.8.0masterJenkins
2017-03-21Merge "Fix ignore_path_errors call in main"Jenkins
2017-03-15Remove os.path.abspath() in ignore pathsJulien Danjou
The filenames are actually relative in validate(), so nothing matches otherwise. Change-Id: Ie9c3d2f0592817e893125f7725e9cd5e9037a942 Notes (review): Code-Review+2: Joshua Harlow <jxharlow@godaddy.com> Workflow+1: Joshua Harlow <jxharlow@godaddy.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 21 Mar 2017 19:48:17 +0000 Reviewed-on: https://review.openstack.org/445963 Project: openstack/doc8 Branch: refs/heads/master
2017-03-15Fix ignore_path_errors call in mainJulien Danjou
The `parse_ignore_path_errors' function expects a list of paths, not an individual path. Change-Id: Icc8a4721b38776d8268c731ea5b624a3e4a3b2a9 Notes (review): Code-Review+2: Joshua Harlow <jxharlow@godaddy.com> Workflow+1: Joshua Harlow <jxharlow@godaddy.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 21 Mar 2017 19:48:12 +0000 Reviewed-on: https://review.openstack.org/445945 Project: openstack/doc8 Branch: refs/heads/master
2017-01-14Add a -q option to be silent on successNed Batchelder
Change-Id: I5cd7f72694d525420a46e5ec2aca1b394bbf7b90 Notes (review): Code-Review+1: Doug Hellmann <doug@doughellmann.com> Code-Review+2: Joshua Harlow <jxharlow@godaddy.com> Workflow+1: Joshua Harlow <jxharlow@godaddy.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 21 Mar 2017 19:48:06 +0000 Reviewed-on: https://review.openstack.org/420374 Project: openstack/doc8 Branch: refs/heads/master
2016-12-15Change py34 to py35Andreas Jaeger
Master is running on xenial now which tests python35, so change default target to py35 in tox.ini. Change-Id: Idf8672922a5508da841f7355c95b50a221416c0c Notes (review): Code-Review+2: Joshua Harlow <jxharlow@godaddy.com> Workflow+1: Joshua Harlow <jxharlow@godaddy.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 22 Dec 2016 17:29:15 +0000 Reviewed-on: https://review.openstack.org/411464 Project: openstack/doc8 Branch: refs/heads/master
2016-01-29Merge "Skip long line check for rst definition list term"0.7.0Jenkins
2016-01-26Skip long line check for rst definition list termKATO Tomoyuki
Change-Id: Ieb272e506034eac7129c24ee0e0fbc40b55d11b1 Closes-Bug: #1533238 Notes (review): Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Code-Review+2: Christian Berendt <christian@berendt.io> Workflow+1: Christian Berendt <christian@berendt.io> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 29 Jan 2016 12:28:51 +0000 Reviewed-on: https://review.openstack.org/271757 Project: openstack/doc8 Branch: refs/heads/master
2016-01-26Merge "remove python 2.6 trove classifier"Jenkins
2016-01-25Merge "Remove support for py33/py26"Jenkins
2016-01-25Merge "Put py34 first in the env order of tox"Jenkins
2016-01-25Merge "Deprecated tox -downloadcache option removed"Jenkins
2016-01-25Merge "Added the launchpad bug url and fixed one typo"Jenkins
2016-01-20Remove argparse from requirementsAndreas Jaeger
argparse was external in python 2.6 but not anymore, remove it from requirements. This should help with pip 8.0 that gets confused in this situation. Installation of the external argparse is not needed. Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d Notes (review): Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jan 2016 22:38:42 +0000 Reviewed-on: https://review.openstack.org/270349 Project: openstack/doc8 Branch: refs/heads/master
2016-01-07Remove support for py33/py26reedip
Python 3.3/Python 2.6 is not supported from Mitaka, as per Infra. The following patch removes the support for the same. Change-Id: Ibb91e89abf0277466b28d2df74f89e46c04b5d42 Closes-Bug: #1526170 Notes (review): Code-Review+1: Shu Muto <shu-mutou@rf.jp.nec.com> Code-Review+1: Kenji Yasui <k-yasui@ti.jp.nec.com> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jan 2016 22:41:25 +0000 Reviewed-on: https://review.openstack.org/264501 Project: openstack/doc8 Branch: refs/heads/master
2015-12-23remove python 2.6 trove classifierDoug Hellmann
OpenStack projects are no longer being tested under Python 2.6, so remove the trove classifier implying that this project supports 2.6. Change-Id: I02274f05179c68c828bee67e95cf50143f95e7fa Notes (review): Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Code-Review+1: Brandon Palm <bapalm@us.ibm.com> Code-Review+1: Shu Muto <shu-mutou@rf.jp.nec.com> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 26 Jan 2016 01:15:52 +0000 Reviewed-on: https://review.openstack.org/260776 Project: openstack/doc8 Branch: refs/heads/master
2015-12-22Put py34 first in the env order of toxJanonymous
To solve the problem of "db type could not be determined" on py34 we have to run first the py34 env to, then, run py27. This patch puts py34 first on the tox.ini list of envs to avoid this problem to happen. Change-Id: Ic4850e0dde4080e0faceb78665e11558eb4f72ba Closes-bug: #1489059 Notes (review): Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Code-Review+1: Reedip <reedip.banerjee@nectechnologies.in> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jan 2016 22:41:19 +0000 Reviewed-on: https://review.openstack.org/260484 Project: openstack/doc8 Branch: refs/heads/master
2015-12-11Deprecated tox -downloadcache option removedOndřej Nový
Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: Id9cb6a024049932501c41b393ce9cf9ad7c2cc86 Notes (review): Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Code-Review+1: janonymous <jaivish.kothari@nectechnologies.in> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jan 2016 22:39:18 +0000 Reviewed-on: https://review.openstack.org/256676 Project: openstack/doc8 Branch: refs/heads/master
2015-11-23Added the launchpad bug url and fixed one typovenkatamahesh
The doc8 bugs launchpad url is added. And the sphinx documentation path is corrected to doc/build Change-Id: Ia5dc6b2490d2421549bf9206a1e21aa379137c02 Notes (review): Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jan 2016 22:38:54 +0000 Reviewed-on: https://review.openstack.org/248759 Project: openstack/doc8 Branch: refs/heads/master
2015-10-19Merge "Use a more relevant launchpad home-page url"Jenkins
2015-10-17Update .gitreview for new namespaceJeremy Stanley
Change-Id: I540686ed04403f8e46225550b6b5ea12c0f3c7b0 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Code-Review+1: Clint Adams <clint@gcfm.net> Submitted-by: Jenkins Submitted-at: Mon, 19 Oct 2015 18:12:02 +0000 Reviewed-on: https://review.openstack.org/236315 Project: openstack/doc8 Branch: refs/heads/master
2015-10-15Use a more relevant launchpad home-page urlJoshua Harlow
Change-Id: Idac438f4eb1a8eb9ac9f7011e1bc007074480515 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Code-Review+1: Pranesh Pandurangan <praneshpg@gmail.com> Submitted-by: Jenkins Submitted-at: Mon, 19 Oct 2015 18:12:07 +0000 Reviewed-on: https://review.openstack.org/235610 Project: openstack/doc8 Branch: refs/heads/master
2015-09-30Fix grammar issue in README.rstJohn L. Villalovos
Fix minor grammar issue in README.rst Change-Id: I172307c98a3e108bb72a7cc652c5339b409162d0 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Code-Review+1: venkatamahesh <venkatamaheshkotha@gmail.com> Submitted-by: Jenkins Submitted-at: Sun, 04 Oct 2015 17:51:50 +0000 Reviewed-on: https://review.openstack.org/229679 Project: stackforge/doc8 Branch: refs/heads/master
2015-09-25Fix invalid table formattingJoshua Harlow
Fixes error related to table offsets: System Message: ERROR/3 (<string>, line 117) Malformed table. Text in column margin in table line 5. Change-Id: If46d0ab0dc1fab1adccf63d43433f842ead2123d Notes (review): Verified+2: Jenkins Code-Review+2: Shraddha Pandhe <shraddha.pandhe@yahoo.com> Workflow+1: Shraddha Pandhe <shraddha.pandhe@yahoo.com> Submitted-by: Jenkins Submitted-at: Tue, 29 Sep 2015 20:15:04 +0000 Reviewed-on: https://review.openstack.org/228016 Project: stackforge/doc8 Branch: refs/heads/master
2015-08-21Fix issue of checking max_len for directivesSam Stoelinga
This patch changes the regex to also match directives which start with whitespace. Closes-Bug: #1487302 Change-Id: I4c3168228164d865cc31dfd24160c41267aeb016 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Code-Review+1: Julien Danjou <julien@danjou.info> Code-Review+1: Andreas Jaeger <jaegerandi@gmail.com> Submitted-by: Jenkins Submitted-at: Tue, 25 Aug 2015 16:53:09 +0000 Reviewed-on: https://review.openstack.org/215685 Project: stackforge/doc8 Branch: refs/heads/master
2015-04-09Lowercase the help messages0.6.0Joshua Harlow
It seems to be common practice to lowercase these instead of uppercasing the first word so let's just follow that practice. Change-Id: I2c8620257cd9f0566e1d7e1ec88461f18f0bcef4 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 09 Apr 2015 16:53:47 +0000 Reviewed-on: https://review.openstack.org/172115 Project: stackforge/doc8 Branch: refs/heads/master
2015-04-09Merge "Allow ignore specific error codes in files"Jenkins
2015-03-09Allow ignore specific error codes in filesJoshua Harlow
Instead of only ignoring full files or ignoring full codes for all files, allow for ignoring specific errors for certain files. Change-Id: I0ebfbe1d2dc68990c84bc0b47d872e44e19b5b2a Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 09 Apr 2015 15:08:02 +0000 Reviewed-on: https://review.openstack.org/162786 Project: stackforge/doc8 Branch: refs/heads/master
2015-03-05Handle the linter returning anonyomous line numbersJoshua Harlow
When sphinx (and by association restructuredtext-lint) finds an error with say a anonymous backref it does not include the line number (it defaults to none); so in this case covert that line number to ? and output that as the line number in the output shown to the user. Change-Id: I013857cdb6a24cf11d94265358b8294dfed0236d Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Tue, 31 Mar 2015 23:16:33 +0000 Reviewed-on: https://review.openstack.org/161937 Project: stackforge/doc8 Branch: refs/heads/master
2015-01-27Fix Python 3 supportJulien Danjou
This fixes Python 3 support for doc8. Change-Id: Id3f3a35f2d68c4cb6eefcf7a960d7991b8f4522f Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Workflow+1: Christian Berendt <berendt@b1-systems.de> Submitted-by: Jenkins Submitted-at: Tue, 27 Jan 2015 13:54:33 +0000 Reviewed-on: https://review.openstack.org/148274 Project: stackforge/doc8 Branch: refs/heads/master
2014-12-05Workflow documentation is now in infra-manualJeremy Stanley
Replace URLs for workflow documentation to appropriate parts of the OpenStack Project Infrastructure Manual. Change-Id: Ic058aebbb1818a0bb9597848ee1e6433b153c4dd Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Workflow+1: Christian Berendt <berendt@b1-systems.de> Submitted-by: Jenkins Submitted-at: Sat, 06 Dec 2014 16:34:10 +0000 Reviewed-on: https://review.openstack.org/139459 Project: stackforge/doc8 Branch: refs/heads/master
2014-10-25Merge "Fix the 'ignore-path' config option"0.5.0Jenkins
2014-10-23Merge "Allow overriding file encoding"Jenkins
2014-10-23Fix the 'ignore-path' config optionJoshua Harlow
The option shouldn't be named 'ignore_path' but should be named 'ignore-path' to match the docs and to match the CLI argument. Change-Id: If5346910b259a0c092eea5c9adde281c2f2ff347 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Sat, 25 Oct 2014 00:28:29 +0000 Reviewed-on: https://review.openstack.org/130627 Project: stackforge/doc8 Branch: refs/heads/master
2014-10-22Allow overriding file encodingJoshua Harlow
Chardet doesn't always seem to correctly detect files encoding correctly in all circumstances, to make it so that a user can specify the exact encoding of there files allow a new config option and a new CLI option that allows for manually overriding the encoding that chardet will try to determine. If enabled chardet detection will no longer run. Fixes bug 1384463 Change-Id: Ie8baf3f79083e1495c7420a9d0569390cad2115e Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 23 Oct 2014 19:35:54 +0000 Reviewed-on: https://review.openstack.org/130390 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-30Add check D005 - no newline at end of fileChristian Berendt
Change-Id: I160bb7e9b3c904655567caee999ac91366668109 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Fri, 10 Oct 2014 06:24:49 +0000 Reviewed-on: https://review.openstack.org/125172 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-23Remove commented configuration of the intersphinx module0.4.3Christian Berendt
The intersphinx module should not be used. Remove commented configuration of the intersphinx module to not enable it in the future. Change-Id: I7140112d61651d281c52fe6ecf4e81f80f055717 Related-Bug: #1368910 Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Workflow+1: Christian Berendt <berendt@b1-systems.de> Submitted-by: Jenkins Submitted-at: Wed, 24 Sep 2014 06:43:54 +0000 Reviewed-on: https://review.openstack.org/123577 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-17Allow a default_extension to be providedJoshua Harlow
When a file is found without an extension allow a CLI provided default_extension to be used in these cases so that files without extensions can be classified as known file extension types. Change-Id: I115ccc92ccd51a7018672b98b639ade30869f939 Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 18 Sep 2014 17:43:07 +0000 Reviewed-on: https://review.openstack.org/120930 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-15Merge "Ignore long-lines with urls when in text searching mode"Jenkins
2014-09-15Merge "Ensure reading is done in one place only"Jenkins
2014-09-12Warn against sorting requirementsChristian Berendt
Change-Id: I8f1786ec73e3b32a5877c499f4f0e58871b37a2a Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Mon, 15 Sep 2014 00:05:31 +0000 Reviewed-on: https://review.openstack.org/121113 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-11Ensure reading is done in one place onlyJoshua Harlow
Instead of having reading being split across the lines_iter method and the raw_content property just have it occur in a common function so that it can be done once and only once. Change-Id: I603bc4e85ad489d5397a78d6c987e15a0515f7ea Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Mon, 15 Sep 2014 00:07:37 +0000 Reviewed-on: https://review.openstack.org/120900 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-08Just use get() instead of pop()Joshua Harlow
Now that these are functions we don't need to destroy the incoming configuration dictionary by popping things from it. Change-Id: I5d0ff032f0e7c9e79d39c3f5d533c43801502a8c Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 11 Sep 2014 20:08:33 +0000 Reviewed-on: https://review.openstack.org/119583 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-08Split the main function into piecesJoshua Harlow
Have there be a scanning function that contained the previous file scanning logic, then a validating function that did the checking logic and then have the main function call into those functions instead of containing all the same logic in its own function. Change-Id: Ie35665a016164122be294fee41e7ce54605d832e Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Thu, 11 Sep 2014 20:08:15 +0000 Reviewed-on: https://review.openstack.org/119582 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-08Ignore long-lines with urls when in text searching modeJoshua Harlow
Change-Id: I57b736d441b9650b0f7bc9efe9692b78b6cbf508 Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Mon, 15 Sep 2014 00:08:12 +0000 Reviewed-on: https://review.openstack.org/119867 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-08Merge "Cache the lines that are read instead of re-reading"Jenkins
2014-09-07Improve help optionsAndreas Jaeger
Capitalize help strings and end with "." to follow best practice from other tools. Also improve some strings. Change-Id: I7005f4a187385096d6a9c1e5cb1322ba76048a1c Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Workflow+1: Christian Berendt <berendt@b1-systems.de> Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Mon, 08 Sep 2014 07:02:03 +0000 Reviewed-on: https://review.openstack.org/119626 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-07Cache the lines that are read instead of re-readingJoshua Harlow
With-in the parsed file we cache the contents of the file before it is converted to unicode and the contents of the file after it is converted to unicode so it seems better to follow this pattern and to also cache the raw lines (instead of re-reading) as well. Change-Id: Ic320a6c5517e513c88bdb4014d509a5791d85524 Notes (review): Verified+2: Jenkins Code-Review+2: Christian Berendt <berendt@b1-systems.de> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Mon, 08 Sep 2014 17:30:04 +0000 Reviewed-on: https://review.openstack.org/119580 Project: stackforge/doc8 Branch: refs/heads/master
2014-09-07Merge "Use list of FILE_PATTERNS as default for --extension"Jenkins
2014-09-07Merge "Rewrite method contains_url in utils"Jenkins