-
Notifications
You must be signed in to change notification settings - Fork 107
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
Onboard refactored tox & Travis CI setup and configuration vol. 4 #146
Onboard refactored tox & Travis CI setup and configuration vol. 4 #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please let me know if you like to change the date header - it is not a must, just something I noticed.
.travis/custom_pylint.py
Outdated
@@ -1,7 +1,7 @@ | |||
# -*- coding: utf-8 -*- | |||
# SPDX-License-Identifier: MIT | |||
# | |||
# Copyright (c) 2019 Red Hat, Inc. | |||
# Copyright (c) 2019 - 2020 Red Hat, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is more common not to use space, i.e. write it as 2019-2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
Prior this change, RUN_PYLINT_* environment variables set by config.sh have effect only while running in Travis (because runtox script sets them by including config.sh). By wrapping pylint runner with shell script, RUN_PYLINT_* environment variables have effect also while running tox locally.
3b1ac00
to
677f7b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, 👍
This PR reflects the changes in linux-system-roles/template@c4b3791. |
This is a 4th batch of changes introduced by PR #133 (changes are introduced in batches to make reviews easier). List of changes introduced in this PR:
run_pylint.py
tocustom_pylint.py
(this is what the script really is - a customizedpylint
) and move it to.travis/
directory where all auxiliary scripts should be placedcustom_pylint.py
via shell wrapper so environment variables set byconfig.sh
takes effect also whentox
runs locally