Skip to content

Commit 7553c8c

Browse files
Add above threshold example in the doc
1 parent e74a1d4 commit 7553c8c

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
exponent_not_multiple_of_three = 123e4 # [bad-float-notation]
22
base_not_between_one_and_a_thousand = 12345e6 # [bad-float-notation]
33
above_threshold_without_exponent = 10000000 # [bad-float-notation]
4+
under_a_thousand_with_exponent = 9.9e2 # [bad-float-notation]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
base_not_between_one_and_ten = 10e3 # [bad-float-notation]
22
above_threshold_without_exponent = 10000000 # [bad-float-notation]
3+
under_ten_with_exponent = 9e0 # [bad-float-notation]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
exponent_multiple_of_three = 1.23e6
22
base_between_one_and_a_thousand = 12.345e9 # [bad-float-notation]
3+
under_a_thousand = 990 # [bad-float-notation]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
base_between_one_and_ten = 1e4
22
above_threshold_with_exponent = 1e7
3+
under_ten = 9

0 commit comments

Comments
 (0)