Master is running on xenial now which tests python35, so change default
target to py35 in tox.ini.
Change-Id: Idf8672922a5508da841f7355c95b50a221416c0c
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
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
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
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
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
This patch changes the regex to also match directives
which start with whitespace.
Closes-Bug: #1487302
Change-Id: I4c3168228164d865cc31dfd24160c41267aeb016
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
Instead of only ignoring full files or ignoring full
codes for all files, allow for ignoring specific errors
for certain files.
Change-Id: I0ebfbe1d2dc68990c84bc0b47d872e44e19b5b2a
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
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Ic058aebbb1818a0bb9597848ee1e6433b153c4dd
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
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
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
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
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
Now that these are functions we don't need to
destroy the incoming configuration dictionary
by popping things from it.
Change-Id: I5d0ff032f0e7c9e79d39c3f5d533c43801502a8c
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
Capitalize help strings and end with "." to follow best practice from
other tools. Also improve some strings.
Change-Id: I7005f4a187385096d6a9c1e5cb1322ba76048a1c