Skip to content
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

Merged

Conversation

i386x
Copy link
Contributor

@i386x i386x commented Jan 15, 2020

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:

  • rename run_pylint.py to custom_pylint.py (this is what the script really is - a customized pylint) and move it to .travis/ directory where all auxiliary scripts should be placed
  • call custom_pylint.py via shell wrapper so environment variables set by config.sh takes effect also when tox runs locally

@coveralls
Copy link

coveralls commented Jan 15, 2020

Pull Request Test Coverage Report for Build 429

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at ?%

Totals Coverage Status
Change from base Build 427: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

Copy link
Member

@tyll tyll left a 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.

@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2019 Red Hat, Inc.
# Copyright (c) 2019 - 2020 Red Hat, Inc.
Copy link
Member

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

Copy link
Contributor Author

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.
@i386x i386x force-pushed the lsr-template-refactored--part-4 branch from 3b1ac00 to 677f7b8 Compare January 16, 2020 15:20
Copy link
Member

@tyll tyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, 👍

@tyll tyll merged commit 7007a0e into linux-system-roles:master Jan 16, 2020
@i386x
Copy link
Contributor Author

i386x commented Feb 10, 2020

This PR reflects the changes in linux-system-roles/template@c4b3791.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants