mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 08:24:46 +00:00
Fix the develop branch as well.
This commit is contained in:
commit
4d0861dac4
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,8 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
def check_file(path, ignore=(), complexity=-1):
|
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 str path: path to the file to be checked
|
||||||
:param tuple ignore: (optional), error and warning codes to be ignored
|
:param tuple ignore: (optional), error and warning codes to be ignored
|
||||||
|
|
|
||||||
1
setup.py
1
setup.py
|
|
@ -31,7 +31,6 @@ setup(
|
||||||
url="http://bitbucket.org/tarek/flake8",
|
url="http://bitbucket.org/tarek/flake8",
|
||||||
packages=["flake8", "flake8.tests"],
|
packages=["flake8", "flake8.tests"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"setuptools",
|
|
||||||
"pyflakes >= 0.6.1",
|
"pyflakes >= 0.6.1",
|
||||||
"pep8 >= 1.4.3",
|
"pep8 >= 1.4.3",
|
||||||
"mccabe >= 0.2",
|
"mccabe >= 0.2",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue