Browse code

use dlint code analyzer

Hanno Böck authored on21/03/2020 13:40:08
Showing2 changed files
... ...
@@ -9,6 +9,6 @@ env:
9 9
   global:
10 10
     - FREEWVS_ONLINETESTS=1
11 11
 install:
12
-  - pip install pycodestyle pyflakes pylint
12
+  - pip install pycodestyle pyflakes pylint dlint
13 13
 script:
14 14
   - python3 -m unittest
... ...
@@ -17,6 +17,8 @@ class TestCodingstyle(unittest.TestCase):
17 17
         subprocess.run(["pylint", "--disable=%s" % pylint_disable]
18 18
                        + pyfiles, check=True)
19 19
 
20
+        subprocess.run(["flake8", "--select=DUO"] + pyfiles, check=True)
21
+
20 22
 
21 23
 if __name__ == '__main__':
22 24
     unittest.main()