aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci/tier_builder.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-11-09 11:22:02 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-11-09 13:21:47 +0100
commit17739d718901a10f7ec0aaf9a6d53141294a347d (patch)
treea98e6d09a42016ceec90713adac681918a4a9c62 /xtesting/ci/tier_builder.py
parent92681911699428a87ea56c0263832b96a93da3da (diff)
Leverage latest pylint features
It adds encoding in all open call and leverage f-strings. Change-Id: I70ccd2bfcadae44929d5874f98fa3bf4ff644488 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/ci/tier_builder.py')
-rw-r--r--xtesting/ci/tier_builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/ci/tier_builder.py b/xtesting/ci/tier_builder.py
index 9b8ac7df..7658b7ce 100644
--- a/xtesting/ci/tier_builder.py
+++ b/xtesting/ci/tier_builder.py
@@ -29,7 +29,7 @@ class TierBuilder():
self.generate_tiers()
def read_test_yaml(self):
- with open(self.testcases_file) as tc_file:
+ with open(self.testcases_file, encoding='utf-8') as tc_file:
self.testcases_yaml = yaml.safe_load(tc_file)
self.dic_tier_array = []