Posts in 'dev'

Make pyenv and pyright play nice together

If you use pyenv local, Pyright will not automatically pick up the correct virtualenv. Here's an explanation of why it happens and how to work around it.

TIL: strip does not do what I think it does

It turns out I have been using it wrong for all this time!

Going full in with Neovim

Goodbye .vimrc, hello lua.init!

Learning vim in 2022

I decided that in 2022 I would learn Vim, here's how it went.

Managing multiple Git identities

How to manage multiple Git identities on the same machine

How to override pytest-django settings discovery order

The order pytest-django uses for determining which settings file should be used for running tests might not be the most optimal when using environment variables. However, it is still possible to override it so that it picks up the correct file without recurring to extra typing.

Using pyvenv with virtualenvwrapper

After reading that it might be possible to use virtualenvwrapper with pyvenv, I decided to fire up a couple of virtual machines and to find it out.

Travis, Mock, different Python versions, and an afternoon of frustration

My plan was to quickly set up Travis CI for Subvenv and then move on to other projects. Instead, it came out that I couldn't have been more wrong and I ended up instead in an afternoon of frustration.

How to release your code (aka Git tags)

After spending quite some time working on your side project, you feel that it is finally good enough for going public. Releasing sounds like a super neat idea, but how do you do it?

Subvenv

Subvenv 1.0 is out! What it is, why I wrote it, and why you might want to use it.