Hanno Böck commited on 2022-01-29 17:56:01
Zeige 1 geänderte Dateien mit 2 Einfügungen und 3 Löschungen.
... | ... |
@@ -13,13 +13,12 @@ class TestCodingstyle(unittest.TestCase): |
13 | 13 |
subprocess.run(["pyflakes"] + pyfiles, check=True) |
14 | 14 |
|
15 | 15 |
pylint_disable = "missing-docstring,invalid-name,duplicate-code," \ |
16 |
- + "too-many-arguments,consider-using-with," \ |
|
17 |
- + "consider-using-f-string" |
|
16 |
+ + "too-many-arguments,consider-using-with" |
|
18 | 17 |
subprocess.run(["pylint", "--disable=%s" % pylint_disable] |
19 | 18 |
+ pyfiles, check=True) |
20 | 19 |
|
21 | 20 |
subprocess.run(["flake8", "--select=DUO"] + pyfiles, check=True) |
22 |
- subprocess.run(["pyupgrade", "--keep-percent-format", "--py38-plus"] |
|
21 |
+ subprocess.run(["pyupgrade", "--py311-plus"] |
|
23 | 22 |
+ pyfiles, check=True) |
24 | 23 |
|
25 | 24 |
|
26 | 25 |