GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — Ruff rules PT for pytest style by cclauss · Pull Request #332 · cpplint/cpplint Conversation
|
|
Running black on this to solve the line length issues (while astral-sh/ruff#6936 won't be implemented in the near future) produced some interesting results: black.patch Not entirely mergeable either since this also reformats the style of parameter indentation in function calls. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
What is wrong with
as long as it is automatic and consistent with other Python codebases? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
It would be a new inconsistency introduced to our own codebase. We have to decide whether we want that, to which I’m neutral. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
What is wrong with
Nothing, just something I thought was noteworthy.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
On #317, which the unittest changes are blocking, I said:
If you don't object, I'll do that when I get home in 8 hours today. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
On second thought, I think I should implement the unittest dropping on the refactoring PR instead, since it's more topic-related and our branches conflict quite a bit (plus some of the changes here were already made in the refactoring branch). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
...that turned out to be an even worse idea since this PR does replace the asserts. I'll just do the black thing then. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Do we need to do the setUp() and tearDown() for every little small test, as it is in with the run_around_tests() fixture rn? I feel like it'd do if these functions only run once every session. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let’s put this PR on hold. It is still draft. We can merge #317 first. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
68b0d33 to
9045069
Compare
|
Sorry, I didn't realize that you had reversed the changes removing unittest from unittests but also couldn't make a proposal as the relevant lines are outside the diff range. Treat my commit as you wish. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
fe04958 to
9a1934b
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
9a1934b to
81a65e6
Compare
There was an error while loading. Please reload this page.
Local testing I do:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.