BasPH commented on a change in pull request #5392: [AIRFLOW-4752] Add missing * in build exclusion URL: https://github.com/apache/airflow/pull/5392#discussion_r291834609
########## File path: scripts/ci/ci_pylint.sh ########## @@ -17,13 +17,14 @@ # limitations under the License. # -# Script to run Pylint on all code. Should be started from root directory: -# ./[airflow dir]/scripts/ci/ci_pylint.sh +# Script to run Pylint on all code. Should be started from root directory of Airflow: +# ./scripts/ci/ci_pylint.sh set -ex find . -name "*.py" \ -not -path "./.eggs/*" \ -not -path "./airflow/www/node_modules/*" \ -not -path "./airflow/_vendor/*" \ --not -path "./build" | grep -vFf scripts/ci/pylint_todo.txt | xargs pylint --output-format=colorized +-not -path "./build/*" \ +! -name 'webserver_config.py' | grep -vFf scripts/ci/pylint_todo.txt | xargs pylint --output-format=colorized Review comment: To be consistent with the other exclusions: ```suggestion -not -name 'webserver_config.py' | grep -vFf scripts/ci/pylint_todo.txt | xargs pylint --output-format=colorized ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
