AbsaOSS / AbsaOSS/organizational-workflows

Fix pylint warnings: W1201, W1203, E1101, W0718

未关闭
#113 0 条评论 0 个 reaction 已指派 1 人 已被 @tmikula-dev 认领 在 GitHub 查看
refactoring
主要语言
Python
星标
0
派生
0
平均合并
5 天 3 小时
30 天内合并 PR
3

描述

## Scope

- **W1201 / W1203**: Convert eager string-concatenated and f-string log messages to lazy `%s`-style formatting
- W0718: Narrow  except Exception  to  except json.JSONDecodeError  around  json.loads(res.stdout) .
- E1101: Replace  Cls.__dataclass_fields__  access with the public  dataclasses.fields()  API via a small  _dataclass_field_names()  helper.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。