-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boardwalk (client, server): utcnow deprecations; ruff formatting, lin…
…ting (#72) * boardwalk (client, server): utcnow deprecations; ruff formatting, linting - Changes out invocations of `datetime.utcnow()` for `datetime.now(UTC)`. - boardwalkd's ui_method_sort_events_by_date _would_ have made this a backwards incompatible change, but we just forcibly update the tzinfo on the datetime object to be UTC, so that existing workspace state can be preserved, and so that prior versions of the client can connect. (This might be revisited down the line.) - Adds W, UP, and DTZ rulesets into the ruff configuration (pycodestyle warnings, pyupgrade, flake8-datetimez) and formats accordingly. Minimum Python version is now 3.11. Resolves Backblaze SVRENG-315. Supersedes PR #71.
- Loading branch information
1 parent
6c1352a
commit 79e9f4b
Showing
17 changed files
with
414 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.