Skip to content

Commit

Permalink
fix: linter fix
Browse files Browse the repository at this point in the history
Signed-off-by: rin-gil <[email protected]>
  • Loading branch information
rin-gil committed Apr 7, 2023
1 parent 75fe69f commit 2ffbbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgbot/services/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def _calculate_dew_point(temp: int, humidity: int) -> int:
def func(): # type: ignore
return (const_a * temp) / (const_b + temp) + log(humidity / 100)

return round((const_b * func()) / (const_a - func()))
return round((const_b * func()) / (const_a - func())) # type: ignore

async def format_current_weather(
self, weather_data: CurrentWeatherData, units: str, city: str, lang_code: str
Expand Down

0 comments on commit 2ffbbde

Please sign in to comment.