mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Fix space
This commit is contained in:
parent
1ff4b2f508
commit
80fe5da14c
2 changed files with 2 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ from flake8.main import DEFAULT_CONFIG
|
|||
|
||||
def git_hook(complexity=-1, strict=False, ignore=None, lazy=False):
|
||||
"""This is the function used by the git hook.
|
||||
|
||||
|
||||
:param int complexity: (optional), any value > 0 enables complexity
|
||||
checking with mccabe
|
||||
:param bool strict: (optional), if True, this returns the total number of
|
||||
|
|
|
|||
|
|
@ -42,8 +42,7 @@ def main():
|
|||
|
||||
|
||||
def check_file(path, ignore=(), complexity=-1):
|
||||
"""Checks a file using pep8 and pyflakes by default and mccabe
|
||||
optionally.
|
||||
"""Checks a file using pep8 and pyflakes by default and mccabe optionally.
|
||||
|
||||
:param str path: path to the file to be checked
|
||||
:param tuple ignore: (optional), error and warning codes to be ignored
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue