Closed theorashid closed 2 months ago
Couple of follow ups:
conftest.py
in the root. is that normal?pyproject.toml
(happy to give this a go).venv/
and python-version
to the .gitignore
for those of us who use venv/pyenv instead of condaShould this be combined with #368 ?
Working with @jessegrabowski to merge ours together. No need to review
This is for #350, because I too wanted to replace black with ruff. There's a lot going on here but it's largely cosmetic. After changing the pre-commit file following the pytensor pre-commit config I:
pre-commit run --all-files
--unsafe-fixes
option. These were largely import errors (F401) or Local variablemu
is assigned to but never used (F841, common when people write pymc models in tests).The dubious ones that I changed which might be bugs were:
gp.latent_approx.py
L144mu = self.mean_func(X)
never used? Should it be?def rv_op( # noqa: F811
. I added the skip here butrv_op
is specified above (e.g.rv_op = LinearGaussianStateSpaceRV
) then overwritten in a class method. Just checking the desired behaviour