Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [assigned, edited, opened, synchronize, reopened]

jobs:
verify-commits:
check-python-code-style:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
Expand Down
16 changes: 16 additions & 0 deletions pycode/another.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This program adds two numbers

num1 = 1.5
num2 = 6.3

# make a very long line to check if pycodestype can detect that... blah blaaaahhh blaahhhh blaaaaaaaaaaaaahhhhhhh blaaaaaaaaaaaahhhh blahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

# Add two numbers
sum = num1 + num2

# Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

if sum:
print('The sum is not zeor\n')

8 changes: 7 additions & 1 deletion pycode/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
num1 = 1.5
num2 = 6.3

# make a very long line to check if pycodestype can detect that... blah blaaaahhh blaahhhh blaaaaaaaaaaaaahhhhhhh blaaaaaaaaaaaahhhh blahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
# make a very long line to check if pycodestype can detect that...
# blah blaaaahhh blaahhhh blaaaaaaaaaaaaahhhhhhh
# blaaaaaaaaaaaahhhh blahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

# Add two numbers
sum = num1 + num2
Expand All @@ -13,4 +15,8 @@

if sum:
print('The sum is not zeor\n')
else:
print('The sum is zeor\n')

# The line of length 41 balahhhhhhhhhhhhhh
print('Done')
Loading