You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/user_guide/configuration/all-options.rst
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -879,6 +879,13 @@ Standard Checkers
879
879
**Default:** ``""``
880
880
881
881
882
+
--float-notation-threshold
883
+
""""""""""""""""""""""""""
884
+
*Threshold for float literals to be expected to be written using the scientific, engineering or underscore notation. If the absolute value of a float literal is greater than this value (or smaller than the inverse of this value for scientific and engineering notation), it will be checked.*
885
+
886
+
**Default:** ``1e6``
887
+
888
+
882
889
--ignore-long-lines
883
890
"""""""""""""""""""
884
891
*Regexp for a line that is allowed to be longer than the limit.*
@@ -928,6 +935,27 @@ Standard Checkers
928
935
**Default:** ``False``
929
936
930
937
938
+
--strict-engineering-notation
939
+
"""""""""""""""""""""""""""""
940
+
*Only allow engineering notation for float literals with absolute value bigger than 'float-notation-threshold' or smallerthan the inverse of 'float-notation-threshold'.*
941
+
942
+
**Default:** ``False``
943
+
944
+
945
+
--strict-scientific-notation
946
+
""""""""""""""""""""""""""""
947
+
*Only allow scientific notation for float literals with absolute value bigger than 'float-notation-threshold' or smallerthan the inverse of 'float-notation-threshold'.*
948
+
949
+
**Default:** ``False``
950
+
951
+
952
+
--strict-underscore-notation
953
+
""""""""""""""""""""""""""""
954
+
*Only allow underscore notation for float literals bigger than 'float-notation-threshold'.*
0 commit comments