Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: pybowler conforance refactoring
by
Vauxoo, Moisés López Calderón
Hi David,
If I understood correctly your script is creating the same pylint-odoo check:
But using https://pybowler.io
It is allowing auto modify code fixing the convention check
For me, It looks great!
I have created a time ago a similar tool using autoflake8:
But after a while I didn't use it since that I know the conventions and my editor is making a mark where I have a convention detail.
Then, I don't know if really is a good idea duplicate pylint and pylint-odoo checks to auto-fixing.
Using VIM I have created the following configuration:
let g:syntastic_python_checkers = ['pylint', 'flake8']
let g:syntastic_python_pylint_args = '--rcfile=mqt/travis/cfg/travis_run_pylint_vim.cfg'
let g:syntastic_python_pylint_args = '--rcfile=mqt/travis/cfg/travis_run_pylint_vim.cfg'
(see attached image)
You can configured it for pycharm and other IDEs
What do you think?
El vie., 26 jul. 2019 a las 10:17, David Arnold (<dar@xoe.solutions>) escribió:
Hi All,Out of bare exitement, I wanted to share with you my first pybowler conformance refactoringLet's build a library for pylint-odoo so people can get an actual chance to apply it on a legacy codebase.Best Regards,David A._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Moisés López Calderón
Mobile: (+521) 477-752-22-30
Twitter: @moylop260
Twitter: @vauxoo