Skip to content

Commit 4a3d804

Browse files
committed
[codecipher] Updated GH workflow
1 parent f9a2f2c commit 4a3d804

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codecipher_package_checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
# stop the build if there are Python syntax errors or undefined names
3535
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3636
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics --max-doc-length 127
37+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=150 --statistics --max-doc-length 150

.github/workflows/codecipher_python_checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
run: |
2323
modules_ok=0
2424
modules=($(find codecipher/ tests/ -type f -name '*.py' -exec echo '{}' \;))
25-
for mod in "${modules[@]}"; do line_length=$(wc -L < "${mod}"); [[ $line_length -gt 127 ]] && modules_ok=1; done
25+
for mod in "${modules[@]}"; do line_length=$(wc -L < "${mod}"); [[ $line_length -gt 150 ]] && modules_ok=1; done
2626
[[ $modules_ok -eq 0 ]] && echo ok || exit 1
2727
- name: Check max number of lines in modules
2828
id: num_line_checker
2929
run: |
3030
modules_ok=0
3131
modules=($(find codecipher/ tests/ -type f -name '*.py' -exec echo '{}' \;))
32-
for mod in "${modules[@]}"; do line_numbers=$(wc -l < "${mod}"); [[ $line_numbers -gt 300 ]] && modules_ok=1; done
32+
for mod in "${modules[@]}"; do line_numbers=$(wc -l < "${mod}"); [[ $line_numbers -gt 500 ]] && modules_ok=1; done
3333
[[ $modules_ok -eq 0 ]] && echo ok || exit 1

0 commit comments

Comments
 (0)