Skip to content

Commit fc8e132

Browse files
committed
Fix linter issues
1 parent af7524f commit fc8e132

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python-best-practices/variables_constants.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77

88

99
# Favor this:
10-
hours = 35
1110
HOURLY_SALARY = 35
1211
SOCIAL_SECURITY_TAX_RATE = 0.04
1312
FEDERAL_TAX_RATE = 0.10
1413

14+
hours = 35
15+
1516

1617
def compute_net_salary(hours):
17-
return hours * HOURLY_SALARY * (1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))
18+
return hours * HOURLY_SALARY * \
19+
(1 - (SOCIAL_SECURITY_TAX_RATE + FEDERAL_TAX_RATE))

0 commit comments

Comments
 (0)