Skip to content

Commit

Permalink
Bump ruff from 0.5.7 to 0.6.2 (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
153957 committed Sep 2, 2024
2 parents 37fa23e + 21e85e0 commit 52d1116
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions publicdb/raw_data/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,9 +770,8 @@ def clean_float_array(numbers, precision=5):
to support -999.
"""
if precision < 3:
# Unable to preserve -999 if precision less than 3.
precision = 3
# Unable to preserve -999 if precision less than 3.
precision = max(precision, 3)
return char.mod(f'%.{precision}g', numbers)


Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# lint & format
ruff==0.5.7
ruff==0.6.2

# spelling
typos==1.24.1
Expand Down

0 comments on commit 52d1116

Please sign in to comment.