Skip to content

Commit 5a412a2

Browse files
committed
Add: also test max_line_length on every Pull Request
1 parent ab76a06 commit 5a412a2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
with:
1616
path: example
1717
only_warn: 1
18+
max_line_length: 90
1819

1920
codespell:
2021
name: Check for spelling errors

example/example.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ def test():
33
pass
44
def test() :
55
pass
6+
7+
8+
def line_that_will_be_way_too_long_but_not_long_enough_to_trigger_with_the_set_length():
9+
pass
10+
11+
12+
def but_this_time_it_really_is_too_long_so_this_triggers_a_warning_in_every_pullrequest_which_is_fine():
13+
pass

0 commit comments

Comments
 (0)