Files
brave-core/script
MaxandMihai PLESA 5f5c81251f Converts npm run pylint command to use js (#8782)
* Converts npm run pylint command to use js.

Currently `npm run pylint` triggers a shell script to run pylint.
This a) doesn't work on windows b) doesn't use correct path to pylint
because depot_tools isn't in the PATH.

This change adds the same functionality that the shell script provides
to our js scripts. It also adds depot_tools/python2-bin and python2-bin
to the PATH as recommended by Chromium.

* Modifies pylint script to work with folders.

Version of pylint that comes with depot_tools doesn't process
directories unless they have __init__.py file. To get around
this limitation we need to find all python files ourselves and
pass them to pylint.

This needs to accout for command line lenth limitation on Windows.

Also use different config files for python2 and python3.

* Added pylint resource file for python2

* Modified .pylint2rc the same as .pylintrc

* Ensure depot_tools is in the path when invoking pylint.

* TEMP: pylint testing.

* Update Jenkinsfile

* Update bump-version.py

* Update Jenkinsfile

Co-authored-by: Mihai PLESA <mplesa@brave.com>
2021-05-27 20:48:20 +01:00
..
2021-03-30 22:32:04 +01:00
2021-02-17 16:17:24 -07:00
2021-05-04 11:57:48 -04:00
2021-02-08 23:20:05 -07:00
2021-01-06 10:33:48 +00:00