summaryrefslogtreecommitdiff
path: root/utils/checks.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge pull request #5509 from stephenfin/remove-future-importsTakeshi KOMIYA2018-12-171-1/+1
|\ \ | | | | | | Remove future imports
| * | Specifically request Python 3Stephen Finucane2018-12-171-1/+1
| |/ | | | | | | | | | | | | If Sphinx is Python 3-only, Sphinx's tooling should be Python 3-only too. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-9/+5
|/ | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-0/+1
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* utils: Move "header check" to a flake8 pluginStephen Finucane2017-10-051-0/+111
If we want to check style, we run 'tox -e flake8': it shouldn't be necessary to run some obscure 'make' command too. Make this possible by moving the sole useful test from the target of this make command to a flake8 plugin. This includes a fix for a header that was previously excluded from checks, but is now included. Signed-off-by: Stephen Finucane <stephen@that.guru>