Hmvp
Hmvp
This gives strange results: ``` try: connection.send_method_return(message, 's', [None]) logger.error('x') except Exception as e: # Format might be wrong with the arguments (often when an argument is None) logger.error('s') logger.exception(e)...
Based on http://www.pathsensitive.com/2021/03/developer-tools-can-be-magic-instead.html The first part speaks about reflection models. It seems to me that should be something powerful but easy to add to cargo modules: It is starts as...
### What version of `astro` are you using? 0.21.11 ### What package manager are you using? npm ### What operating system are you using? Linux on WSL2 (Ubuntu 20.04.3 LTS)...
Currently having to add multiple lines for the same file is a bit cumbersome: ``` [["requirements/test.txt".contains]] line = "black" [["requirements/test.txt".contains]] line = "flake8" [["requirements/test.txt".contains]] line = "flake8-bandit" ``` ## Expected...
According to: https://stackoverflow.com/questions/42592285/how-to-load-rust-compiler-plugins-without-modifying-the-source-code we can also go the clippy route from the test runner and always use the plugin. This will make it easier to use mutagen. But we do...
Instead of using default to generate different values for assignments or arguments we can clone values from different places in the same function and use them instead ```rust fn times_two(arg:...
One option would to swap + and - or * and %. Also similar for `x += 1` and `x -=1` etc However this will probably trigger under/overflow issues.
This could be used as an alternative to cargo coverage and kcov to generate code coverage. Since we know what mutations are applied and what their effects are we should...
`"".join()` accepts generators ``` >>> ",".join(str(i) for i in range(3)) '0,1,2' ```
[Pydantic validator](https://pydantic-docs.helpmanual.io/#validators) decorators make classmethods from the decorated methods but these are flagged as instance methods The following gets flagged: ``` class UserModel(BaseModel): name: str @validator('name') def name_must_contain_space(cls, v): if...