python-decopatch
python-decopatch copied to clipboard
python decorators made easy.
I was thinking... 1. If an object is a `lambda` (which we can detect with reasonably reliable accuracy by looking at `.__code__.co_name` - see https://stackoverflow.com/a/56451124/4372452), then the only way it...
Hi! I'm the maintainer of the python-decopath package in Fedora. The tests fail with python 3.12 (currently beta1). It seems to be minor stuff, some whitespace formatting changes: ``` ===================================...
I'm using `pytest-cases`, and using `@fixture` without parenthesis, and it produces errors in `pyright`. ``` @fixture def some_fixture(): ... ``` ``` Argument of type "() -> str" cannot be assigned...
As proposed by @last-partizan in #30 > consider moving this defaults to the top, and removing duplicating shell parameters from elsewhere.
When this is fixed: https://github.com/tylerwince/flake8-bandit/issues/21
Not sure this is worth pursuing but at least here is the experiment I did to compile all the generated code so that users are not lost in a generated...
See https://github.com/smarie/python-pytest-cases/issues/203
Maybe we could have a `debug=False` arg by default, so that in that case `@compile_fun` is used to compile the decorators.
From D. Mertz feedback: One of the nice things in wrapt is that Dumpleton lets you use the same decorator for functions, regular methods, static methods, and class methods. Does...
I had to pin nox, because nox_utils are using `logfile=` which is unsupported by latest nox versions. I was unable to find exact version needed, so i pinned to it...