Skip to content

Commit dc7592d

Browse files
Handle the case where the number is a number of hours in second better
1 parent 5374940 commit dc7592d

File tree

18 files changed

+75
-48
lines changed

18 files changed

+75
-48
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mindless_anarchy = 15_04e05 # [bad-float-notation]
2+
3+
this_checker_creation_time = 1751760000.0 # [bad-float-notation]
4+
5+
small_float = 9.0e2 # [bad-float-notation]

doc/data/messages/b/bad-float-notation/bad/bad.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/engineering_notation.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/engineering_notation.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/pep515.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/pep515.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/scientific_notation.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/data/messages/b/bad-float-notation/bad/scientific_notation.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
engineering_notation = 150.4e6
2+
scientific_notation = 1.504e8
3+
pep515_notation = 150_400_000.0
4+
5+
this_checker_creation_time = (3600 * 24 * 365 * 55) + ((6 * 30 + 20) * 3600 * 24)
6+
7+
small_float = 90.0

doc/data/messages/b/bad-float-notation/good/engineering_notation.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)