Daniel Pinyol
Daniel Pinyol
``` [tool.importlinter] include_external_packages = true root_packages = ["scserver", "scweb", "test"] [[tool.importlinter.contracts]] name = "kk" forbidden_modules = ["pytest_check.check"] source_modules = ["test"] type = "forbidden" ``` With this config I get: `Invalid...
Hi, any plans for implementing `pytest.raises`'s `match` argument? https://docs.pytest.org/en/latest/reference/reference.html#pytest-raises thanks
According to README.md, this ``` def test_example(): a = 1 b = 2 c = [2, 4, 6] check.greater(a, b) check.less_equal(b, a) check.is_in(a, c, "Is 1 in the list") check.is_not_in(b,...
When precompiling with julia-1.11.0-alpha1, I get this error. Probably due to the new julia `Memory` ``` ERROR: The following 3 dependencies failed to precompile: Base.PkgId(Base.UUID("98e50ef6-434e-11e9-1051-2b60c6c9e899"), "JuliaFormatter") Failed to precompile JuliaFormatter...
``` from __future__ import annotations from django.db import models class Author(models.Model): name: str = models.CharField(max_length=200) def func(self) -> str: return self.name class Book(models.Model): author: Author = models.ForeignKey(Author, on_delete=models.CASCADE) def author_name(self):...
After upgrading dependencies, I got this warning when upgrading from libtiff_jll 4.4 to 4.5 ``` ┌ Warning: Circular dependency detected. Precompilation will be skipped for: │ Libtiff_jll [89763e89-9b03-5906-acba-b20f662cd828] │ GTK3_jll...
The following code allocates 128 bytes in julia 1.9 & 1.10 (also in previous julia versions). However, when using dense vectors, it doesn't allocate. ```julia using SparseArrays const v=spzeros(10) v[1]=4...
According to documentation: ``` spzeros([type,]m[,n]) .... No storage will be allocated for nonzero values during construction ``` However, it does allocate: ``` function spallo(n) for i in 1:n spzeros(Int, 10)...
### Checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pypi.org/project/polars/) of Polars. ###...