-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Landscape code quality tests with flake8 and/or pylint #2477
Labels
Comments
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
Used the autoflake tool and ran the following command: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-all-unused-imports
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
Ran the following command and made some minor manual edits: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-unused-variables
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select E231,E203,E225,E226,W291,E228,E201,E202,W293,E302,E301,W391
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select \ E221,E241,E251,E271,E272,E115,E122,E123,E124,E125,E126,E127,E128,E231,E203,E225,E226,W291,E228,E201,E202,W293
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autopep8 -i --select E261,E265,E266,E221,E241,E251,E271,E272,E401,E402,E403,E405
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
find akvo/scripts/ -name "*.py"|xargs autopep8 -i --ignore E501
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
- The checks will run automatically on Travis. - Getting a 100% coverage will require significantly more effort and work, but having flake8 checks can give us some of the benefits for a relatively low cost. Issues like #2361 can easily be avoided.
punchagan
added a commit
that referenced
this issue
Dec 6, 2016
Merged
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
Used the autoflake tool and ran the following command: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-all-unused-imports
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
Ran the following command and made some minor manual edits: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-unused-variables
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select E231,E203,E225,E226,W291,E228,E201,E202,W293,E302,E301,W391
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select \ E221,E241,E251,E271,E272,E115,E122,E123,E124,E125,E126,E127,E128,E231,E203,E225,E226,W291,E228,E201,E202,W293
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autopep8 -i --select E261,E265,E266,E221,E241,E251,E271,E272,E401,E402,E403,E405
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
find akvo/scripts/ -name "*.py"|xargs autopep8 -i --ignore E501
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
- The checks will run automatically on Travis. - Getting a 100% coverage will require significantly more effort and work, but having flake8 checks can give us some of the benefits for a relatively low cost. Issues like #2361 can easily be avoided.
punchagan
added a commit
that referenced
this issue
Dec 20, 2016
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
Used the autoflake tool and ran the following command: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-all-unused-imports
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
Ran the following command and made some minor manual edits: find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autoflake -i -r --remove-unused-variables
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select E231,E203,E225,E226,W291,E228,E201,E202,W293,E302,E301,W391
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs \ autopep8 -i --select \ E221,E241,E251,E271,E272,E115,E122,E123,E124,E125,E126,E127,E128,E231,E203,E225,E226,W291,E228,E201,E202,W293
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
find akvo/ -name "*.py" |grep -v __init__.py|grep -v migration|xargs autopep8 -i --select E261,E265,E266,E221,E241,E251,E271,E272,E401,E402,E403,E405
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
find akvo/scripts/ -name "*.py"|xargs autopep8 -i --ignore E501
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
- The checks will run automatically on Travis. - Getting a 100% coverage will require significantly more effort and work, but having flake8 checks can give us some of the benefits for a relatively low cost. Issues like #2361 can easily be avoided.
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
punchagan
added a commit
that referenced
this issue
Feb 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Landscape doesn't seem to always run, and sometimes just hangs on some pull-requests without any reason. It might be easier to just run our own linting/checking tool on Travis.
The text was updated successfully, but these errors were encountered: