-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DM-40156: Some code cleanups #869
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 401ac97 - Browse repository at this point
Copy the full SHA 401ac97View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc3fc08 - Browse repository at this point
Copy the full SHA bc3fc08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a89cb6 - Browse repository at this point
Copy the full SHA 1a89cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9682c12 - Browse repository at this point
Copy the full SHA 9682c12View commit details -
Appease bugbear B023 by binding the loop parameters
This does not affect the tests because these functions are used immediately inside the loop.
Configuration menu - View commit details
-
Copy full SHA for 53790c7 - Browse repository at this point
Copy the full SHA 53790c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e85579 - Browse repository at this point
Copy the full SHA 9e85579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dead7f - Browse repository at this point
Copy the full SHA 0dead7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for de90c3c - Browse repository at this point
Copy the full SHA de90c3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7279cf8 - Browse repository at this point
Copy the full SHA 7279cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf37a2 - Browse repository at this point
Copy the full SHA aaf37a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe4fda0 - Browse repository at this point
Copy the full SHA fe4fda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aea3ec - Browse repository at this point
Copy the full SHA 3aea3ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3531ab6 - Browse repository at this point
Copy the full SHA 3531ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 266519d - Browse repository at this point
Copy the full SHA 266519dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad214ac - Browse repository at this point
Copy the full SHA ad214acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1117af - Browse repository at this point
Copy the full SHA f1117afView commit details -
Replace some nested with statements
Keep ones involving assertRaises and assertWarns since then it is easier to see the separation between the test code and the code being tested.
Configuration menu - View commit details
-
Copy full SHA for df781a5 - Browse repository at this point
Copy the full SHA df781a5View commit details -
Change warnings.warn to a print for the command-line user
warnings.warn has too much other information that is irrelevant to the user of the command-line tool.
Configuration menu - View commit details
-
Copy full SHA for fa22b48 - Browse repository at this point
Copy the full SHA fa22b48View commit details -
Add explicit stacklevel to warnings
The test code doesn't really need it but it doesn't hurt and it makes it easier to find warnings in the future that lack the stacklevel.
Configuration menu - View commit details
-
Copy full SHA for 59fe2e9 - Browse repository at this point
Copy the full SHA 59fe2e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd8cbc - Browse repository at this point
Copy the full SHA 2fd8cbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c935f7a - Browse repository at this point
Copy the full SHA c935f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 474b9fb - Browse repository at this point
Copy the full SHA 474b9fbView commit details -
Raise AssertionError rather than assert False
assert can be removed as a no-op depending on how python is run.
Configuration menu - View commit details
-
Copy full SHA for 579ac77 - Browse repository at this point
Copy the full SHA 579ac77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f89f27 - Browse repository at this point
Copy the full SHA 2f89f27View commit details -
Configuration menu - View commit details
-
Copy full SHA for e12e27e - Browse repository at this point
Copy the full SHA e12e27eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 448ffde - Browse repository at this point
Copy the full SHA 448ffdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea7bba - Browse repository at this point
Copy the full SHA 2ea7bbaView commit details -
lru_cache on methods doesn't work properly. Furthermore if we need to cache the collection type we should be caching it elsewhere inside registry.
Configuration menu - View commit details
-
Copy full SHA for a5d79c4 - Browse repository at this point
Copy the full SHA a5d79c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa637db - Browse repository at this point
Copy the full SHA aa637dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c84fee - Browse repository at this point
Copy the full SHA 3c84feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05bb4df - Browse repository at this point
Copy the full SHA 05bb4dfView commit details