comparison .github/workflows/ci-test.yml @ 6857:a346b5d23480

flake8 fixes. Also had to fix a couple of files too.
author John Rouillard <rouilj@ieee.org>
date Wed, 31 Aug 2022 22:56:14 -0400
parents 30815d9bd95c
children 9309493b70c4
comparison
equal deleted inserted replaced
6856:c27276e0bdce 6857:a346b5d23480
105 (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES) 105 (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES)
106 106
107 - name: run flake8 - abort for syntax error, otherwise warn only 107 - name: run flake8 - abort for syntax error, otherwise warn only
108 run: | 108 run: |
109 # stop the build for Python syntax errors or undefined names 109 # stop the build for Python syntax errors or undefined names
110 flake8 roundup --count --select=E9,F63,F7,F82 --show-source --statistics 110 # talgettext is a utility function ignore it.
111 flake8 roundup --count --select=E9,F63,F7,F82 --show-source --statistics --extend-exclude talgettext.py
111 # exit-zero treats all errors as warnings. 112 # exit-zero treats all errors as warnings.
112 # The GitHub editor is 127 chars wide 113 # The GitHub editor is 127 chars wide
113 flake8 roundup --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics 114 flake8 roundup --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
114 115
115 # Run the tests using pytest with test files in tests directory. 116 # Run the tests using pytest with test files in tests directory.

Roundup Issue Tracker: http://roundup-tracker.org/