forked from canonical/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: minor linting improvements to testing/src/scenario (canonical#…
…1456) We're not aiming to get 100% in the TIOBE scoring, but it's nice to get a higher score when it aligns with our existing style and doesn't involve significant changes. The `testing` folder already scores 95.99 but there's still some low-hanging fruit, which this PR addresses: * Some basic import reordering, which is mostly because "ops" is first-party now. * Clearing out outdated TODO/FIXME style comments (I've considered each of these, and the ones removed either are out of date, are not something we want to do now, or already have tickets). * TIOBE's linter prefers multiple `if` statements rather than if/elif/else when the block unconditionally returns/raises. This is a debatable style choice, but where it seemed reasonable I've applied that here. I don't think we have a team style decision on this yet. * Added module, class, method docstrings.
- Loading branch information
1 parent
42248cd
commit 3d012ce
Showing
8 changed files
with
113 additions
and
102 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
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.